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

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 334133002: cc: Support on demand raster with ganesh (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review3 Created 6 years, 6 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/test/pixel_test.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_impl.h
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h
index 3d8a9a29e0daa4af6bc4bce46c6139c69c5404ce..fe9afc219e6dd30caa9cd94e0c1a3d78f67cf0f2 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -229,6 +229,7 @@ class CC_EXPORT LayerTreeHostImpl
// RendererClient implementation.
virtual void SetFullRootLayerDamage() OVERRIDE;
+ virtual void RunOnDemandRasterTask(Task* on_demand_raster_task) OVERRIDE;
// TileManagerClient implementation.
virtual const std::vector<PictureLayerImpl*>& GetPictureLayers() OVERRIDE;
@@ -573,6 +574,10 @@ class CC_EXPORT LayerTreeHostImpl
scoped_ptr<ResourcePool> staging_resource_pool_;
scoped_ptr<Renderer> renderer_;
+ TaskGraphRunner synchronous_task_graph_runner_;
+ TaskGraphRunner* on_demand_task_graph_runner_;
+ NamespaceToken on_demand_task_namespace_;
+
GlobalStateThatImpactsTilePriority global_tile_state_;
// Tree currently being drawn.
« no previous file with comments | « cc/test/pixel_test.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698