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

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

Issue 2632463005: cc: Ensure that large damage doesn't register as "frame has no damage" (Closed)
Patch Set: update Created 3 years, 11 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/debug/debug_rect_history.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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 136
137 bool HasCopyRequest() const; 137 bool HasCopyRequest() const;
138 138
139 void ResetPropertyChangedFlags(); 139 void ResetPropertyChangedFlags();
140 bool SurfacePropertyChanged() const; 140 bool SurfacePropertyChanged() const;
141 bool SurfacePropertyChangedOnlyFromDescendant() const; 141 bool SurfacePropertyChangedOnlyFromDescendant() const;
142 bool AncestorPropertyChanged() const; 142 bool AncestorPropertyChanged() const;
143 void NoteAncestorPropertyChanged(); 143 void NoteAncestorPropertyChanged();
144 144
145 DamageTracker* damage_tracker() const { return damage_tracker_.get(); } 145 DamageTracker* damage_tracker() const { return damage_tracker_.get(); }
146 gfx::Rect GetDamageRect();
146 147
147 int GetRenderPassId(); 148 int GetRenderPassId();
148 149
149 void AppendRenderPasses(RenderPassSink* pass_sink); 150 void AppendRenderPasses(RenderPassSink* pass_sink);
150 void AppendQuads(RenderPass* render_pass, AppendQuadsData* append_quads_data); 151 void AppendQuads(RenderPass* render_pass, AppendQuadsData* append_quads_data);
151 152
152 int TransformTreeIndex() const; 153 int TransformTreeIndex() const;
153 int ClipTreeIndex() const; 154 int ClipTreeIndex() const;
154 155
155 void set_effect_tree_index(int index) { effect_tree_index_ = index; } 156 void set_effect_tree_index(int index) { effect_tree_index_ = index; }
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 int target_render_surface_layer_index_history_; 214 int target_render_surface_layer_index_history_;
214 size_t current_layer_index_history_; 215 size_t current_layer_index_history_;
215 216
216 friend class LayerIterator; 217 friend class LayerIterator;
217 218
218 DISALLOW_COPY_AND_ASSIGN(RenderSurfaceImpl); 219 DISALLOW_COPY_AND_ASSIGN(RenderSurfaceImpl);
219 }; 220 };
220 221
221 } // namespace cc 222 } // namespace cc
222 #endif // CC_LAYERS_RENDER_SURFACE_IMPL_H_ 223 #endif // CC_LAYERS_RENDER_SURFACE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/debug/debug_rect_history.cc ('k') | cc/layers/render_surface_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698