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 <memory> | 8 #include <memory> |
9 #include <unordered_map> | 9 #include <unordered_map> |
10 #include <vector> | 10 #include <vector> |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 DrawingFrame(); | 75 DrawingFrame(); |
76 ~DrawingFrame(); | 76 ~DrawingFrame(); |
77 gfx::Rect ComputeScissorRectForRenderPass() const; | 77 gfx::Rect ComputeScissorRectForRenderPass() const; |
78 | 78 |
79 const RenderPassList* render_passes_in_draw_order = nullptr; | 79 const RenderPassList* render_passes_in_draw_order = nullptr; |
80 const RenderPass* root_render_pass = nullptr; | 80 const RenderPass* root_render_pass = nullptr; |
81 const RenderPass* current_render_pass = nullptr; | 81 const RenderPass* current_render_pass = nullptr; |
82 const ScopedResource* current_texture = nullptr; | 82 const ScopedResource* current_texture = nullptr; |
83 | 83 |
84 gfx::Rect root_damage_rect; | 84 gfx::Rect root_damage_rect; |
| 85 std::vector<gfx::Rect> root_content_bounds; |
85 gfx::Size device_viewport_size; | 86 gfx::Size device_viewport_size; |
86 gfx::ColorSpace device_color_space; | 87 gfx::ColorSpace device_color_space; |
87 | 88 |
88 gfx::Transform projection_matrix; | 89 gfx::Transform projection_matrix; |
89 gfx::Transform window_matrix; | 90 gfx::Transform window_matrix; |
90 | 91 |
91 OverlayCandidateList overlay_list; | 92 OverlayCandidateList overlay_list; |
92 CALayerOverlayList ca_layer_overlay_list; | 93 CALayerOverlayList ca_layer_overlay_list; |
93 }; | 94 }; |
94 | 95 |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 gfx::ColorSpace reshape_device_color_space_; | 235 gfx::ColorSpace reshape_device_color_space_; |
235 bool reshape_has_alpha_ = false; | 236 bool reshape_has_alpha_ = false; |
236 bool reshape_use_stencil_ = false; | 237 bool reshape_use_stencil_ = false; |
237 | 238 |
238 DISALLOW_COPY_AND_ASSIGN(DirectRenderer); | 239 DISALLOW_COPY_AND_ASSIGN(DirectRenderer); |
239 }; | 240 }; |
240 | 241 |
241 } // namespace cc | 242 } // namespace cc |
242 | 243 |
243 #endif // CC_OUTPUT_DIRECT_RENDERER_H_ | 244 #endif // CC_OUTPUT_DIRECT_RENDERER_H_ |
OLD | NEW |