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 03ddaa050d8288544f7fd87a59f981c484282061..97b6c40e1a67e624b43edebfe8001567326e6cfc 100644 |
--- a/cc/trees/layer_tree_host_impl.h |
+++ b/cc/trees/layer_tree_host_impl.h |
@@ -5,7 +5,6 @@ |
#ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
#define CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
-#include <list> |
#include <set> |
#include <string> |
#include <vector> |
@@ -30,6 +29,7 @@ |
#include "cc/output/output_surface_client.h" |
#include "cc/output/renderer.h" |
#include "cc/quads/render_pass.h" |
+#include "cc/resources/rasterizer.h" |
#include "cc/resources/resource_provider.h" |
#include "cc/resources/tile_manager.h" |
#include "cc/scheduler/commit_earlyout_reason.h" |
@@ -500,11 +500,14 @@ class CC_EXPORT LayerTreeHostImpl |
// Only valid for synchronous (non-scheduled) single-threaded case. |
void SynchronouslyInitializeAllTiles(); |
+ virtual scoped_ptr<Rasterizer> CreateRasterizer(); |
virtual void CreateResourceAndTileTaskWorkerPool( |
scoped_ptr<TileTaskWorkerPool>* tile_task_worker_pool, |
scoped_ptr<ResourcePool>* resource_pool, |
scoped_ptr<ResourcePool>* staging_resource_pool); |
+ bool prepare_tiles_needed() const { return tile_priorities_dirty_; } |
+ |
protected: |
LayerTreeHostImpl( |
const LayerTreeSettings& settings, |
@@ -524,8 +527,6 @@ class CC_EXPORT LayerTreeHostImpl |
return animation_registrar_->active_animation_controllers(); |
} |
- bool prepare_tiles_needed() const { return tile_priorities_dirty_; } |
- |
LayerTreeHostImplClient* client_; |
Proxy* proxy_; |
@@ -612,6 +613,7 @@ class CC_EXPORT LayerTreeHostImpl |
bool use_gpu_rasterization_; |
GpuRasterizationStatus gpu_rasterization_status_; |
scoped_ptr<TileTaskWorkerPool> tile_task_worker_pool_; |
+ scoped_ptr<Rasterizer> rasterizer_; |
scoped_ptr<ResourcePool> resource_pool_; |
scoped_ptr<ResourcePool> staging_resource_pool_; |
scoped_ptr<Renderer> renderer_; |