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/layer_tree_impl.h

Issue 12259027: cc: Simplify the logic for deciding to update tile priorities. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | cc/layer_tree_impl.cc » ('j') | cc/picture_layer_impl.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_LAYER_TREE_IMPL_H_ 5 #ifndef CC_LAYER_TREE_IMPL_H_
6 #define CC_LAYER_TREE_IMPL_H_ 6 #define CC_LAYER_TREE_IMPL_H_
7 7
8 #include "base/hash_tables.h" 8 #include "base/hash_tables.h"
9 #include "cc/layer_impl.h" 9 #include "cc/layer_impl.h"
10 10
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 205
206 // Persisted state for non-impl-side-painting. 206 // Persisted state for non-impl-side-painting.
207 int scrolling_layer_id_from_previous_tree_; 207 int scrolling_layer_id_from_previous_tree_;
208 208
209 // List of visible layers for the most recently prepared frame. Used for 209 // List of visible layers for the most recently prepared frame. Used for
210 // rendering and input event hit testing. 210 // rendering and input event hit testing.
211 LayerList render_surface_layer_list_; 211 LayerList render_surface_layer_list_;
212 212
213 bool contents_textures_purged_; 213 bool contents_textures_purged_;
214 bool needs_update_draw_properties_; 214 bool needs_update_draw_properties_;
215 bool needs_update_tile_priorities_;
215 216
216 // In impl-side painting mode, this is true when the tree may contain 217 // In impl-side painting mode, this is true when the tree may contain
217 // structural differences relative to the active tree. 218 // structural differences relative to the active tree.
218 bool needs_full_tree_sync_; 219 bool needs_full_tree_sync_;
219 220
220 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 221 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
221 }; 222 };
222 223
223 } 224 }
224 225
225 #endif // CC_LAYER_TREE_IMPL_H_ 226 #endif // CC_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/layer_tree_impl.cc » ('j') | cc/picture_layer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698