| 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 CC_OUTPUT_DIRECT_RENDERER_H_ | 5 #ifndef CC_OUTPUT_DIRECT_RENDERER_H_ |
| 6 #define CC_OUTPUT_DIRECT_RENDERER_H_ | 6 #define CC_OUTPUT_DIRECT_RENDERER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/containers/scoped_ptr_hash_map.h" | 10 #include "base/containers/scoped_ptr_hash_map.h" |
| 11 #include "cc/base/cc_export.h" | 11 #include "cc/base/cc_export.h" |
| 12 #include "cc/output/overlay_processor.h" | 12 #include "cc/output/overlay_processor.h" |
| 13 #include "cc/output/renderer.h" | 13 #include "cc/output/renderer.h" |
| 14 #include "cc/resources/resource_provider.h" | 14 #include "cc/resources/resource_provider.h" |
| 15 #include "cc/resources/scoped_resource.h" | 15 #include "cc/resources/scoped_resource.h" |
| 16 #include "cc/resources/task_graph_runner.h" | |
| 17 | 16 |
| 18 namespace cc { | 17 namespace cc { |
| 19 | 18 |
| 20 class ResourceProvider; | 19 class ResourceProvider; |
| 21 | 20 |
| 22 // This is the base class for code shared between the GL and software | 21 // This is the base class for code shared between the GL and software |
| 23 // renderer implementations. "Direct" refers to the fact that it does not | 22 // renderer implementations. "Direct" refers to the fact that it does not |
| 24 // delegate rendering to another compositor. | 23 // delegate rendering to another compositor. |
| 25 class CC_EXPORT DirectRenderer : public Renderer { | 24 class CC_EXPORT DirectRenderer : public Renderer { |
| 26 public: | 25 public: |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 | 131 |
| 133 private: | 132 private: |
| 134 gfx::Vector2d enlarge_pass_texture_amount_; | 133 gfx::Vector2d enlarge_pass_texture_amount_; |
| 135 | 134 |
| 136 DISALLOW_COPY_AND_ASSIGN(DirectRenderer); | 135 DISALLOW_COPY_AND_ASSIGN(DirectRenderer); |
| 137 }; | 136 }; |
| 138 | 137 |
| 139 } // namespace cc | 138 } // namespace cc |
| 140 | 139 |
| 141 #endif // CC_OUTPUT_DIRECT_RENDERER_H_ | 140 #endif // CC_OUTPUT_DIRECT_RENDERER_H_ |
| OLD | NEW |