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/base/scoped_ptr_deque.h" | 12 #include "cc/base/scoped_ptr_deque.h" |
13 #include "cc/output/overlay_processor.h" | 13 #include "cc/output/overlay_processor.h" |
14 #include "cc/output/renderer.h" | 14 #include "cc/output/renderer.h" |
| 15 #include "cc/raster/task_graph_runner.h" |
15 #include "cc/resources/resource_provider.h" | 16 #include "cc/resources/resource_provider.h" |
16 #include "cc/resources/scoped_resource.h" | 17 #include "cc/resources/scoped_resource.h" |
17 #include "cc/resources/task_graph_runner.h" | |
18 #include "ui/gfx/geometry/quad_f.h" | 18 #include "ui/gfx/geometry/quad_f.h" |
19 | 19 |
20 namespace cc { | 20 namespace cc { |
21 | 21 |
22 class DrawPolygon; | 22 class DrawPolygon; |
23 class ResourceProvider; | 23 class ResourceProvider; |
24 | 24 |
25 // This is the base class for code shared between the GL and software | 25 // This is the base class for code shared between the GL and software |
26 // renderer implementations. "Direct" refers to the fact that it does not | 26 // renderer implementations. "Direct" refers to the fact that it does not |
27 // delegate rendering to another compositor. | 27 // delegate rendering to another compositor. |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 | 157 |
158 private: | 158 private: |
159 gfx::Vector2d enlarge_pass_texture_amount_; | 159 gfx::Vector2d enlarge_pass_texture_amount_; |
160 | 160 |
161 DISALLOW_COPY_AND_ASSIGN(DirectRenderer); | 161 DISALLOW_COPY_AND_ASSIGN(DirectRenderer); |
162 }; | 162 }; |
163 | 163 |
164 } // namespace cc | 164 } // namespace cc |
165 | 165 |
166 #endif // CC_OUTPUT_DIRECT_RENDERER_H_ | 166 #endif // CC_OUTPUT_DIRECT_RENDERER_H_ |
OLD | NEW |