| 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::Transform FiltersTransform() const; |
| 159 | 160 |
| 160 bool HasCopyRequest() const; | 161 bool HasCopyRequest() const; |
| 161 | 162 |
| 162 void ResetPropertyChangedFlag() { surface_property_changed_ = false; } | 163 void ResetPropertyChangedFlag() { surface_property_changed_ = false; } |
| 163 bool SurfacePropertyChanged() const; | 164 bool SurfacePropertyChanged() const; |
| 164 bool SurfacePropertyChangedOnlyFromDescendant() const; | 165 bool SurfacePropertyChangedOnlyFromDescendant() const; |
| 165 | 166 |
| 166 DamageTracker* damage_tracker() const { return damage_tracker_.get(); } | 167 DamageTracker* damage_tracker() const { return damage_tracker_.get(); } |
| 167 | 168 |
| 168 RenderPassId GetRenderPassId(); | 169 RenderPassId GetRenderPassId(); |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 int target_render_surface_layer_index_history_; | 240 int target_render_surface_layer_index_history_; |
| 240 size_t current_layer_index_history_; | 241 size_t current_layer_index_history_; |
| 241 | 242 |
| 242 friend class LayerIterator; | 243 friend class LayerIterator; |
| 243 | 244 |
| 244 DISALLOW_COPY_AND_ASSIGN(RenderSurfaceImpl); | 245 DISALLOW_COPY_AND_ASSIGN(RenderSurfaceImpl); |
| 245 }; | 246 }; |
| 246 | 247 |
| 247 } // namespace cc | 248 } // namespace cc |
| 248 #endif // CC_LAYERS_RENDER_SURFACE_IMPL_H_ | 249 #endif // CC_LAYERS_RENDER_SURFACE_IMPL_H_ |
| OLD | NEW |