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 CCDirectRenderer_h | 5 #ifndef CCDirectRenderer_h |
6 #define CCDirectRenderer_h | 6 #define CCDirectRenderer_h |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "CCRenderer.h" | 9 #include "CCRenderer.h" |
10 #include "CCResourceProvider.h" | 10 #include "cc/resource_provider.h" |
11 #include "CCScopedTexture.h" | 11 #include "cc/scoped_texture.h" |
12 | 12 |
13 namespace cc { | 13 namespace cc { |
14 | 14 |
15 class CCResourceProvider; | 15 class CCResourceProvider; |
16 | 16 |
17 // This is the base class for code shared between the GL and software | 17 // This is the base class for code shared between the GL and software |
18 // renderer implementations. "Direct" refers to the fact that it does not | 18 // renderer implementations. "Direct" refers to the fact that it does not |
19 // delegate rendering to another compositor. | 19 // delegate rendering to another compositor. |
20 class CCDirectRenderer : public CCRenderer { | 20 class CCDirectRenderer : public CCRenderer { |
21 public: | 21 public: |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 ScopedPtrHashMap<CCRenderPass::Id, CachedTexture> m_renderPassTextures; | 96 ScopedPtrHashMap<CCRenderPass::Id, CachedTexture> m_renderPassTextures; |
97 CCResourceProvider* m_resourceProvider; | 97 CCResourceProvider* m_resourceProvider; |
98 | 98 |
99 private: | 99 private: |
100 DISALLOW_COPY_AND_ASSIGN(CCDirectRenderer); | 100 DISALLOW_COPY_AND_ASSIGN(CCDirectRenderer); |
101 }; | 101 }; |
102 | 102 |
103 } // namespace cc | 103 } // namespace cc |
104 | 104 |
105 #endif // CCDirectRenderer_h | 105 #endif // CCDirectRenderer_h |
OLD | NEW |