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

Unified Diff: cc/trees/layer_tree_impl.h

Issue 819643004: Cache viewport rect for tile priority in UpdateTiles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « no previous file | cc/trees/layer_tree_impl.cc » ('j') | cc/trees/layer_tree_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_impl.h
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h
index e68bbc36f086c7ac1c1d5e5c58b88e87f1adf95a..ed7b406748e1e4692566c3996835de0c9bc8e2a4 100644
--- a/cc/trees/layer_tree_impl.h
+++ b/cc/trees/layer_tree_impl.h
@@ -412,6 +412,9 @@ class CC_EXPORT LayerTreeImpl {
float top_controls_delta_;
float sent_top_controls_delta_;
+ // The cached viewport rect for tile priority since the last call of
+ // UpdateDrawProperties.
+ gfx::Rect viewport_rect_for_tile_priority_;
scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_;
private:
« no previous file with comments | « no previous file | cc/trees/layer_tree_impl.cc » ('j') | cc/trees/layer_tree_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698