| 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 LayerImpl* ReplicaLayer(); | 149 LayerImpl* ReplicaLayer(); |
| 150 | 150 |
| 151 LayerImpl* MaskLayer(); | 151 LayerImpl* MaskLayer(); |
| 152 bool HasMask() const; | 152 bool HasMask() const; |
| 153 | 153 |
| 154 LayerImpl* ReplicaMaskLayer(); | 154 LayerImpl* ReplicaMaskLayer(); |
| 155 bool HasReplicaMask() const; | 155 bool HasReplicaMask() const; |
| 156 | 156 |
| 157 const FilterOperations& Filters() const; | 157 const FilterOperations& Filters() const; |
| 158 const FilterOperations& BackgroundFilters() const; | 158 const FilterOperations& BackgroundFilters() const; |
| 159 gfx::PointF FiltersOrigin() const; |
| 159 gfx::Transform FiltersTransform() const; | 160 gfx::Transform FiltersTransform() const; |
| 160 | 161 |
| 161 bool HasCopyRequest() const; | 162 bool HasCopyRequest() const; |
| 162 | 163 |
| 163 void ResetPropertyChangedFlag() { surface_property_changed_ = false; } | 164 void ResetPropertyChangedFlag() { surface_property_changed_ = false; } |
| 164 bool SurfacePropertyChanged() const; | 165 bool SurfacePropertyChanged() const; |
| 165 bool SurfacePropertyChangedOnlyFromDescendant() const; | 166 bool SurfacePropertyChangedOnlyFromDescendant() const; |
| 166 | 167 |
| 167 DamageTracker* damage_tracker() const { return damage_tracker_.get(); } | 168 DamageTracker* damage_tracker() const { return damage_tracker_.get(); } |
| 168 | 169 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 int target_render_surface_layer_index_history_; | 241 int target_render_surface_layer_index_history_; |
| 241 size_t current_layer_index_history_; | 242 size_t current_layer_index_history_; |
| 242 | 243 |
| 243 friend class LayerIterator; | 244 friend class LayerIterator; |
| 244 | 245 |
| 245 DISALLOW_COPY_AND_ASSIGN(RenderSurfaceImpl); | 246 DISALLOW_COPY_AND_ASSIGN(RenderSurfaceImpl); |
| 246 }; | 247 }; |
| 247 | 248 |
| 248 } // namespace cc | 249 } // namespace cc |
| 249 #endif // CC_LAYERS_RENDER_SURFACE_IMPL_H_ | 250 #endif // CC_LAYERS_RENDER_SURFACE_IMPL_H_ |
| OLD | NEW |