Chromium Code Reviews| Index: cc/resources/tile_manager.h |
| diff --git a/cc/resources/tile_manager.h b/cc/resources/tile_manager.h |
| index eb62ba42a3e998f1673f7d85457e38bb85e594b4..18b9379af335dc5b785137419a2191b2b250a3fc 100644 |
| --- a/cc/resources/tile_manager.h |
| +++ b/cc/resources/tile_manager.h |
| @@ -89,6 +89,8 @@ class CC_EXPORT TileManager : public WorkerPoolClient { |
| return memory_stats_from_last_assign_; |
| } |
| + void SetUseGpuMemoryBuffers(bool use_gpu_memory_buffers); |
|
reveman
2013/05/20 23:16:01
can we pass this to ctor instead?
kaanb
2013/05/21 00:52:29
Done.
|
| + |
| // Overridden from WorkerPoolClient: |
| virtual void DidFinishDispatchingWorkerPoolCompletionCallbacks() OVERRIDE; |
| @@ -210,6 +212,8 @@ class CC_EXPORT TileManager : public WorkerPoolClient { |
| size_t pending_tasks_; |
| size_t max_pending_tasks_; |
| + bool use_gpu_memory_buffers_; |
|
reveman
2013/05/20 23:16:01
No need to add this. Just pass the setting to the
kaanb
2013/05/21 00:52:29
Done.
|
| + |
| DISALLOW_COPY_AND_ASSIGN(TileManager); |
| }; |