OLD | NEW |
1 // Copyright 2010 The Chromium Authors. All rights reserved. | 1 // Copyright 2010 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 | 5 |
6 #ifndef CC_LAYERS_RENDER_SURFACE_H_ | 6 #ifndef CC_LAYERS_RENDER_SURFACE_H_ |
7 #define CC_LAYERS_RENDER_SURFACE_H_ | 7 #define CC_LAYERS_RENDER_SURFACE_H_ |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 | 133 |
134 // Uses the space of the surface's target surface. | 134 // Uses the space of the surface's target surface. |
135 gfx::Rect clip_rect_; | 135 gfx::Rect clip_rect_; |
136 | 136 |
137 LayerList layer_list_; | 137 LayerList layer_list_; |
138 | 138 |
139 // The nearest ancestor target surface that will contain the contents of this | 139 // The nearest ancestor target surface that will contain the contents of this |
140 // surface, and that ignores outside occlusion. This can point to itself. | 140 // surface, and that ignores outside occlusion. This can point to itself. |
141 RenderSurface* nearest_occlusion_immune_ancestor_; | 141 RenderSurface* nearest_occlusion_immune_ancestor_; |
142 | 142 |
143 // For LayerIteratorActions | |
144 int target_render_surface_layer_index_history_; | |
145 size_t current_layer_index_history_; | |
146 | |
147 DISALLOW_COPY_AND_ASSIGN(RenderSurface); | 143 DISALLOW_COPY_AND_ASSIGN(RenderSurface); |
148 }; | 144 }; |
149 | 145 |
150 } // namespace cc | 146 } // namespace cc |
151 #endif // CC_LAYERS_RENDER_SURFACE_H_ | 147 #endif // CC_LAYERS_RENDER_SURFACE_H_ |
OLD | NEW |