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 3df9913ba2d017772f36710b5a89360da282597c..3975e61e2be5fd23e5e4b22932c4d856dc00d776 100644 |
--- a/cc/trees/layer_tree_host_impl.h |
+++ b/cc/trees/layer_tree_host_impl.h |
@@ -274,6 +274,8 @@ class CC_EXPORT LayerTreeHostImpl |
virtual bool InitializeRenderer(scoped_ptr<OutputSurface> output_surface); |
bool IsContextLost(); |
TileManager* tile_manager() { return tile_manager_.get(); } |
+ void SetUseGpuRasterization(bool use_gpu); |
+ bool use_gpu_rasterization() const { return use_gpu_rasterization_; } |
ResourcePool* resource_pool() { return resource_pool_.get(); } |
Renderer* renderer() { return renderer_.get(); } |
const RendererCapabilitiesImpl& GetRendererCapabilities() const; |
@@ -559,6 +561,7 @@ class CC_EXPORT LayerTreeHostImpl |
// free rendering - see OutputSurface::ForcedDrawToSoftwareDevice(). |
scoped_ptr<ResourceProvider> resource_provider_; |
scoped_ptr<TileManager> tile_manager_; |
+ bool use_gpu_rasterization_; |
scoped_ptr<RasterWorkerPool> raster_worker_pool_; |
scoped_ptr<RasterWorkerPool> direct_raster_worker_pool_; |
scoped_ptr<ResourcePool> resource_pool_; |