| 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> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "cc/raster/tile_task_runner.h" | |
| 12 #include "cc/raster/tile_task_worker_pool.h" | 11 #include "cc/raster/tile_task_worker_pool.h" |
| 13 | 12 |
| 14 namespace cc { | 13 namespace cc { |
| 15 class ContextProvider; | 14 class ContextProvider; |
| 16 class GpuRasterizer; | 15 class GpuRasterizer; |
| 17 class ResourceProvider; | 16 class ResourceProvider; |
| 18 | 17 |
| 19 class CC_EXPORT GpuTileTaskWorkerPool : public TileTaskWorkerPool, | 18 class CC_EXPORT GpuTileTaskWorkerPool : public TileTaskWorkerPool, |
| 20 public RasterBufferProvider { | 19 public RasterBufferProvider { |
| 21 public: | 20 public: |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 TaskGraphRunner* task_graph_runner_; | 55 TaskGraphRunner* task_graph_runner_; |
| 57 const NamespaceToken namespace_token_; | 56 const NamespaceToken namespace_token_; |
| 58 std::unique_ptr<GpuRasterizer> rasterizer_; | 57 std::unique_ptr<GpuRasterizer> rasterizer_; |
| 59 | 58 |
| 60 DISALLOW_COPY_AND_ASSIGN(GpuTileTaskWorkerPool); | 59 DISALLOW_COPY_AND_ASSIGN(GpuTileTaskWorkerPool); |
| 61 }; | 60 }; |
| 62 | 61 |
| 63 } // namespace cc | 62 } // namespace cc |
| 64 | 63 |
| 65 #endif // CC_RASTER_GPU_TILE_TASK_WORKER_POOL_H_ | 64 #endif // CC_RASTER_GPU_TILE_TASK_WORKER_POOL_H_ |
| OLD | NEW |