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

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

Issue 2241763002: cc: fix damage tracker rect with hidpi filters. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comment. Created 4 years, 4 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 | « no previous file | 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « no previous file | cc/layers/render_surface_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698