OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CC_RASTER_GPU_TILE_TASK_WORKER_POOL_H_ | 5 #ifndef CC_RASTER_GPU_TILE_TASK_WORKER_POOL_H_ |
6 #define CC_RASTER_GPU_TILE_TASK_WORKER_POOL_H_ | 6 #define CC_RASTER_GPU_TILE_TASK_WORKER_POOL_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 10 #include "base/macros.h" |
8 #include "cc/raster/tile_task_runner.h" | 11 #include "cc/raster/tile_task_runner.h" |
9 #include "cc/raster/tile_task_worker_pool.h" | 12 #include "cc/raster/tile_task_worker_pool.h" |
10 | 13 |
11 namespace cc { | 14 namespace cc { |
12 class ContextProvider; | 15 class ContextProvider; |
13 class GpuRasterizer; | 16 class GpuRasterizer; |
14 class ResourceProvider; | 17 class ResourceProvider; |
15 | 18 |
16 class CC_EXPORT GpuTileTaskWorkerPool : public TileTaskWorkerPool, | 19 class CC_EXPORT GpuTileTaskWorkerPool : public TileTaskWorkerPool, |
17 public TileTaskRunner, | 20 public TileTaskRunner, |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 scoped_ptr<GpuRasterizer> rasterizer_; | 63 scoped_ptr<GpuRasterizer> rasterizer_; |
61 | 64 |
62 Task::Vector completed_tasks_; | 65 Task::Vector completed_tasks_; |
63 | 66 |
64 DISALLOW_COPY_AND_ASSIGN(GpuTileTaskWorkerPool); | 67 DISALLOW_COPY_AND_ASSIGN(GpuTileTaskWorkerPool); |
65 }; | 68 }; |
66 | 69 |
67 } // namespace cc | 70 } // namespace cc |
68 | 71 |
69 #endif // CC_RASTER_GPU_TILE_TASK_WORKER_POOL_H_ | 72 #endif // CC_RASTER_GPU_TILE_TASK_WORKER_POOL_H_ |
OLD | NEW |