Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Side by Side Diff: cc/layers/render_surface_impl.h

Issue 2110683004: cc: Move filters to the effect tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/layers/layer_impl_unittest.cc ('k') | cc/layers/render_surface_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « cc/layers/layer_impl_unittest.cc ('k') | cc/layers/render_surface_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698