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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 bool HasReplica() const; | 144 bool HasReplica() const; |
145 const LayerImpl* ReplicaLayer() const; | 145 const LayerImpl* ReplicaLayer() const; |
146 LayerImpl* ReplicaLayer(); | 146 LayerImpl* ReplicaLayer(); |
147 | 147 |
148 LayerImpl* MaskLayer(); | 148 LayerImpl* MaskLayer(); |
149 bool HasMask() const; | 149 bool HasMask() const; |
150 | 150 |
151 LayerImpl* ReplicaMaskLayer(); | 151 LayerImpl* ReplicaMaskLayer(); |
152 bool HasReplicaMask() const; | 152 bool HasReplicaMask() const; |
153 | 153 |
| 154 const FilterOperations& Filters() const; |
154 const FilterOperations& BackgroundFilters() const; | 155 const FilterOperations& BackgroundFilters() const; |
155 | 156 |
156 bool HasCopyRequest() const; | 157 bool HasCopyRequest() const; |
157 | 158 |
158 void ResetPropertyChangedFlag() { surface_property_changed_ = false; } | 159 void ResetPropertyChangedFlag() { surface_property_changed_ = false; } |
159 bool SurfacePropertyChanged() const; | 160 bool SurfacePropertyChanged() const; |
160 bool SurfacePropertyChangedOnlyFromDescendant() const; | 161 bool SurfacePropertyChangedOnlyFromDescendant() const; |
161 | 162 |
162 DamageTracker* damage_tracker() const { return damage_tracker_.get(); } | 163 DamageTracker* damage_tracker() const { return damage_tracker_.get(); } |
163 | 164 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 int target_render_surface_layer_index_history_; | 236 int target_render_surface_layer_index_history_; |
236 size_t current_layer_index_history_; | 237 size_t current_layer_index_history_; |
237 | 238 |
238 friend class LayerIterator; | 239 friend class LayerIterator; |
239 | 240 |
240 DISALLOW_COPY_AND_ASSIGN(RenderSurfaceImpl); | 241 DISALLOW_COPY_AND_ASSIGN(RenderSurfaceImpl); |
241 }; | 242 }; |
242 | 243 |
243 } // namespace cc | 244 } // namespace cc |
244 #endif // CC_LAYERS_RENDER_SURFACE_IMPL_H_ | 245 #endif // CC_LAYERS_RENDER_SURFACE_IMPL_H_ |
OLD | NEW |