| 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 LayerImpl* MaskLayer(); | 146 LayerImpl* MaskLayer(); |
| 147 bool HasMask() const; | 147 bool HasMask() const; |
| 148 | 148 |
| 149 const FilterOperations& Filters() const; | 149 const FilterOperations& Filters() const; |
| 150 const FilterOperations& BackgroundFilters() const; | 150 const FilterOperations& BackgroundFilters() const; |
| 151 gfx::PointF FiltersOrigin() const; | 151 gfx::PointF FiltersOrigin() const; |
| 152 gfx::Transform SurfaceScale() const; | 152 gfx::Transform SurfaceScale() const; |
| 153 | 153 |
| 154 bool HasCopyRequest() const; | 154 bool HasCopyRequest() const; |
| 155 | 155 |
| 156 bool ForceRenderSurface() const; |
| 157 |
| 156 void ResetPropertyChangedFlags(); | 158 void ResetPropertyChangedFlags(); |
| 157 bool SurfacePropertyChanged() const; | 159 bool SurfacePropertyChanged() const; |
| 158 bool SurfacePropertyChangedOnlyFromDescendant() const; | 160 bool SurfacePropertyChangedOnlyFromDescendant() const; |
| 159 bool AncestorPropertyChanged() const; | 161 bool AncestorPropertyChanged() const; |
| 160 void NoteAncestorPropertyChanged(); | 162 void NoteAncestorPropertyChanged(); |
| 161 | 163 |
| 162 DamageTracker* damage_tracker() const { return damage_tracker_.get(); } | 164 DamageTracker* damage_tracker() const { return damage_tracker_.get(); } |
| 163 gfx::Rect GetDamageRect() const; | 165 gfx::Rect GetDamageRect() const; |
| 164 | 166 |
| 165 int GetRenderPassId(); | 167 int GetRenderPassId(); |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 // surface, and that ignores outside occlusion. This can point to itself. | 233 // surface, and that ignores outside occlusion. This can point to itself. |
| 232 const RenderSurfaceImpl* nearest_occlusion_immune_ancestor_; | 234 const RenderSurfaceImpl* nearest_occlusion_immune_ancestor_; |
| 233 | 235 |
| 234 std::unique_ptr<DamageTracker> damage_tracker_; | 236 std::unique_ptr<DamageTracker> damage_tracker_; |
| 235 | 237 |
| 236 DISALLOW_COPY_AND_ASSIGN(RenderSurfaceImpl); | 238 DISALLOW_COPY_AND_ASSIGN(RenderSurfaceImpl); |
| 237 }; | 239 }; |
| 238 | 240 |
| 239 } // namespace cc | 241 } // namespace cc |
| 240 #endif // CC_LAYERS_RENDER_SURFACE_IMPL_H_ | 242 #endif // CC_LAYERS_RENDER_SURFACE_IMPL_H_ |
| OLD | NEW |