| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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_LAYERS_RENDER_SURFACE_IMPL_H_ | 5 #ifndef CC_LAYERS_RENDER_SURFACE_IMPL_H_ |
| 6 #define CC_LAYERS_RENDER_SURFACE_IMPL_H_ | 6 #define CC_LAYERS_RENDER_SURFACE_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 void AppendRenderPasses(RenderPassSink* pass_sink); | 131 void AppendRenderPasses(RenderPassSink* pass_sink); |
| 132 void AppendQuads(RenderPass* render_pass, | 132 void AppendQuads(RenderPass* render_pass, |
| 133 const gfx::Transform& draw_transform, | 133 const gfx::Transform& draw_transform, |
| 134 const Occlusion& occlusion_in_content_space, | 134 const Occlusion& occlusion_in_content_space, |
| 135 SkColor debug_border_color, | 135 SkColor debug_border_color, |
| 136 float debug_border_width, | 136 float debug_border_width, |
| 137 LayerImpl* mask_layer, | 137 LayerImpl* mask_layer, |
| 138 AppendQuadsData* append_quads_data, | 138 AppendQuadsData* append_quads_data, |
| 139 RenderPassId render_pass_id); | 139 RenderPassId render_pass_id); |
| 140 | 140 |
| 141 int TransformTreeIndex() const; |
| 142 |
| 141 private: | 143 private: |
| 142 LayerImpl* owning_layer_; | 144 LayerImpl* owning_layer_; |
| 143 | 145 |
| 144 // Uses this surface's space. | 146 // Uses this surface's space. |
| 145 gfx::Rect content_rect_; | 147 gfx::Rect content_rect_; |
| 146 bool surface_property_changed_ : 1; | 148 bool surface_property_changed_ : 1; |
| 147 bool target_surface_transforms_are_animating_ : 1; | 149 bool target_surface_transforms_are_animating_ : 1; |
| 148 bool screen_space_transforms_are_animating_ : 1; | 150 bool screen_space_transforms_are_animating_ : 1; |
| 149 | 151 |
| 150 bool is_clipped_ : 1; | 152 bool is_clipped_ : 1; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 174 int target_render_surface_layer_index_history_; | 176 int target_render_surface_layer_index_history_; |
| 175 size_t current_layer_index_history_; | 177 size_t current_layer_index_history_; |
| 176 | 178 |
| 177 friend class LayerIterator; | 179 friend class LayerIterator; |
| 178 | 180 |
| 179 DISALLOW_COPY_AND_ASSIGN(RenderSurfaceImpl); | 181 DISALLOW_COPY_AND_ASSIGN(RenderSurfaceImpl); |
| 180 }; | 182 }; |
| 181 | 183 |
| 182 } // namespace cc | 184 } // namespace cc |
| 183 #endif // CC_LAYERS_RENDER_SURFACE_IMPL_H_ | 185 #endif // CC_LAYERS_RENDER_SURFACE_IMPL_H_ |
| OLD | NEW |