OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CCRenderer_h | 5 #ifndef CCRenderer_h |
6 #define CCRenderer_h | 6 #define CCRenderer_h |
7 | 7 |
| 8 #include "CCLayerTreeHost.h" |
| 9 #include "FloatQuad.h" |
8 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
9 #include "CCLayerTreeHost.h" | 11 #include "cc/render_pass.h" |
10 #include "CCRenderPass.h" | |
11 #include "FloatQuad.h" | |
12 | 12 |
13 namespace cc { | 13 namespace cc { |
14 | 14 |
15 class CCScopedTexture; | 15 class CCScopedTexture; |
16 | 16 |
17 class CCRendererClient { | 17 class CCRendererClient { |
18 public: | 18 public: |
19 virtual const IntSize& deviceViewportSize() const = 0; | 19 virtual const IntSize& deviceViewportSize() const = 0; |
20 virtual const CCLayerTreeSettings& settings() const = 0; | 20 virtual const CCLayerTreeSettings& settings() const = 0; |
21 virtual void didLoseContext() = 0; | 21 virtual void didLoseContext() = 0; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 } | 72 } |
73 | 73 |
74 CCRendererClient* m_client; | 74 CCRendererClient* m_client; |
75 | 75 |
76 DISALLOW_COPY_AND_ASSIGN(CCRenderer); | 76 DISALLOW_COPY_AND_ASSIGN(CCRenderer); |
77 }; | 77 }; |
78 | 78 |
79 } | 79 } |
80 | 80 |
81 #endif // CCRenderer_h | 81 #endif // CCRenderer_h |
OLD | NEW |