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

Unified Diff: cc/layer_tree_impl.h

Issue 12045086: cc: Throttle tile priority updates to once a frame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebasedonmaster Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/layer_tree_host_impl.cc ('k') | cc/layer_tree_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_impl.h
diff --git a/cc/layer_tree_impl.h b/cc/layer_tree_impl.h
index d212aac57569abf37130f2ddec859f63613aa0f7..31d5a67e8a9d27010ff93592585ae390221ad5e4 100644
--- a/cc/layer_tree_impl.h
+++ b/cc/layer_tree_impl.h
@@ -112,8 +112,14 @@ class CC_EXPORT LayerTreeImpl {
has_transparent_background_ = transparent;
}
+ enum UpdateDrawPropertiesReason {
+ UPDATE_PENDING_TREE,
+ UPDATE_ACTIVE_TREE,
+ UPDATE_ACTIVE_TREE_FOR_DRAW
+ };
+
// Updates draw properties and render surface layer list
- void UpdateDrawProperties();
+ void UpdateDrawProperties(UpdateDrawPropertiesReason reason);
void set_needs_update_draw_properties() {
needs_update_draw_properties_ = true;
}
« no previous file with comments | « cc/layer_tree_host_impl.cc ('k') | cc/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698