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

Unified Diff: cc/picture_layer_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/occlusion_tracker_unittest.cc ('k') | cc/picture_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_layer_impl.h
diff --git a/cc/picture_layer_impl.h b/cc/picture_layer_impl.h
index 6456ee354fb86bf55aee4cf9e95201573b8f2cdb..1367335beee8ecdad799273336d1e4c252c29034 100644
--- a/cc/picture_layer_impl.h
+++ b/cc/picture_layer_impl.h
@@ -34,7 +34,7 @@ public:
virtual void pushPropertiesTo(LayerImpl* layer) OVERRIDE;
virtual void appendQuads(QuadSink&, AppendQuadsData&) OVERRIDE;
virtual void dumpLayerProperties(std::string*, int indent) const OVERRIDE;
- virtual void didUpdateTransforms() OVERRIDE;
+ virtual void updateTilePriorities() OVERRIDE;
virtual void didBecomeActive() OVERRIDE;
virtual void didLoseOutputSurface() OVERRIDE;
virtual void calculateContentsScale(
@@ -76,8 +76,9 @@ protected:
scoped_refptr<PicturePileImpl> pile_;
Region invalidation_;
+ int last_source_frame_number_;
gfx::Transform last_screen_space_transform_;
- double last_update_time_;
+ double last_impl_frame_time_;
gfx::Size last_bounds_;
gfx::Size last_content_bounds_;
float last_content_scale_;
« no previous file with comments | « cc/occlusion_tracker_unittest.cc ('k') | cc/picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698