Index: cc/raster/tile_task_worker_pool_perftest.cc |
diff --git a/cc/raster/tile_task_worker_pool_perftest.cc b/cc/raster/tile_task_worker_pool_perftest.cc |
index 1262acea3838cf614c1bda2eda207841bcaeb554..b49c498ac05369dc328c4cd6ab80b533d20ccaaa 100644 |
--- a/cc/raster/tile_task_worker_pool_perftest.cc |
+++ b/cc/raster/tile_task_worker_pool_perftest.cc |
@@ -265,11 +265,13 @@ |
break; |
case TILE_TASK_WORKER_POOL_TYPE_ONE_COPY: |
Create3dOutputSurfaceAndResourceProvider(); |
+ staging_resource_pool_ = ResourcePool::Create(resource_provider_.get(), |
+ GL_TEXTURE_2D); |
tile_task_worker_pool_ = OneCopyTileTaskWorkerPool::Create( |
task_runner_.get(), task_graph_runner_.get(), |
context_provider_.get(), resource_provider_.get(), |
- std::numeric_limits<int>::max(), false, |
- std::numeric_limits<int>::max()); |
+ staging_resource_pool_.get(), std::numeric_limits<int>::max(), |
+ false); |
break; |
case TILE_TASK_WORKER_POOL_TYPE_GPU: |
Create3dOutputSurfaceAndResourceProvider(); |
@@ -429,6 +431,7 @@ |
return std::string(); |
} |
+ scoped_ptr<ResourcePool> staging_resource_pool_; |
scoped_ptr<TileTaskWorkerPool> tile_task_worker_pool_; |
TestGpuMemoryBufferManager gpu_memory_buffer_manager_; |
TestSharedBitmapManager shared_bitmap_manager_; |