| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 occlusion_in_content_space_ = occlusion; | 135 occlusion_in_content_space_ = occlusion; |
| 136 } | 136 } |
| 137 | 137 |
| 138 LayerImplList& layer_list() { return layer_list_; } | 138 LayerImplList& layer_list() { return layer_list_; } |
| 139 void ClearLayerLists(); | 139 void ClearLayerLists(); |
| 140 | 140 |
| 141 int OwningLayerId() const; | 141 int OwningLayerId() const; |
| 142 bool HasReplica() const; | 142 bool HasReplica() const; |
| 143 const LayerImpl* ReplicaLayer() const; | 143 const LayerImpl* ReplicaLayer() const; |
| 144 | 144 |
| 145 bool HasCopyRequest() const; |
| 146 |
| 145 void ResetPropertyChangedFlag() { surface_property_changed_ = false; } | 147 void ResetPropertyChangedFlag() { surface_property_changed_ = false; } |
| 146 bool SurfacePropertyChanged() const; | 148 bool SurfacePropertyChanged() const; |
| 147 bool SurfacePropertyChangedOnlyFromDescendant() const; | 149 bool SurfacePropertyChangedOnlyFromDescendant() const; |
| 148 | 150 |
| 149 DamageTracker* damage_tracker() const { return damage_tracker_.get(); } | 151 DamageTracker* damage_tracker() const { return damage_tracker_.get(); } |
| 150 | 152 |
| 151 RenderPassId GetRenderPassId(); | 153 RenderPassId GetRenderPassId(); |
| 152 | 154 |
| 153 void AppendRenderPasses(RenderPassSink* pass_sink); | 155 void AppendRenderPasses(RenderPassSink* pass_sink); |
| 154 void AppendQuads(RenderPass* render_pass, | 156 void AppendQuads(RenderPass* render_pass, |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 int target_render_surface_layer_index_history_; | 222 int target_render_surface_layer_index_history_; |
| 221 size_t current_layer_index_history_; | 223 size_t current_layer_index_history_; |
| 222 | 224 |
| 223 friend class LayerIterator; | 225 friend class LayerIterator; |
| 224 | 226 |
| 225 DISALLOW_COPY_AND_ASSIGN(RenderSurfaceImpl); | 227 DISALLOW_COPY_AND_ASSIGN(RenderSurfaceImpl); |
| 226 }; | 228 }; |
| 227 | 229 |
| 228 } // namespace cc | 230 } // namespace cc |
| 229 #endif // CC_LAYERS_RENDER_SURFACE_IMPL_H_ | 231 #endif // CC_LAYERS_RENDER_SURFACE_IMPL_H_ |
| OLD | NEW |