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 "managed_memory_policy.h" | |
10 #include "FloatQuad.h" | 8 #include "FloatQuad.h" |
11 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "cc/layer_tree_host.h" |
| 11 #include "cc/managed_memory_policy.h" |
12 #include "cc/render_pass.h" | 12 #include "cc/render_pass.h" |
13 | 13 |
14 namespace cc { | 14 namespace cc { |
15 | 15 |
16 class CCScopedTexture; | 16 class CCScopedTexture; |
17 | 17 |
18 class CCRendererClient { | 18 class CCRendererClient { |
19 public: | 19 public: |
20 virtual const IntSize& deviceViewportSize() const = 0; | 20 virtual const IntSize& deviceViewportSize() const = 0; |
21 virtual const CCLayerTreeSettings& settings() const = 0; | 21 virtual const CCLayerTreeSettings& settings() const = 0; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 } | 74 } |
75 | 75 |
76 CCRendererClient* m_client; | 76 CCRendererClient* m_client; |
77 | 77 |
78 DISALLOW_COPY_AND_ASSIGN(CCRenderer); | 78 DISALLOW_COPY_AND_ASSIGN(CCRenderer); |
79 }; | 79 }; |
80 | 80 |
81 } | 81 } |
82 | 82 |
83 #endif // CCRenderer_h | 83 #endif // CCRenderer_h |
OLD | NEW |