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

Unified Diff: cc/layer_tree_host_impl.h

Issue 12194015: cc: Rasterize cheap tiles immediately (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebased. 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 side-by-side diff with in-line comments
Download patch
Index: cc/layer_tree_host_impl.h
diff --git a/cc/layer_tree_host_impl.h b/cc/layer_tree_host_impl.h
index 0d51dbfbf5b8ab31bde76ee9fa8cc6c87294da71..6f96dfeb9b6cc595f9bbd7fce9ce9372e20ec2bd 100644
--- a/cc/layer_tree_host_impl.h
+++ b/cc/layer_tree_host_impl.h
@@ -138,6 +138,8 @@ public:
// TileManagerClient implementation.
virtual void ScheduleManageTiles() OVERRIDE;
virtual void DidUploadVisibleHighResolutionTile() OVERRIDE;
+ virtual bool CanDoAnotherCheapRaster() const OVERRIDE;
+ virtual void DidPerformCheapRaster() OVERRIDE;
// OutputSurfaceClient implementation.
virtual void OnVSyncParametersChanged(base::TimeTicks timebase, base::TimeDelta interval) OVERRIDE;
@@ -369,6 +371,9 @@ private:
scoped_ptr<AnimationRegistrar> m_animationRegistrar;
+ int m_cheapRasterCount;
+ mutable base::TimeTicks m_cheapRasterDeadline;
+
DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
};
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/layer_tree_host_impl.cc » ('j') | cc/tile_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698