| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_RESOURCES_RASTER_WORKER_POOL_H_ | 5 #ifndef CC_RESOURCES_RASTER_WORKER_POOL_H_ |
| 6 #define CC_RESOURCES_RASTER_WORKER_POOL_H_ | 6 #define CC_RESOURCES_RASTER_WORKER_POOL_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
| 11 #include "cc/base/worker_pool.h" | |
| 12 #include "cc/debug/rendering_stats_instrumentation.h" | 11 #include "cc/debug/rendering_stats_instrumentation.h" |
| 13 #include "cc/resources/picture_pile_impl.h" | 12 #include "cc/resources/picture_pile_impl.h" |
| 14 #include "cc/resources/resource_provider.h" | 13 #include "cc/resources/resource_provider.h" |
| 15 #include "cc/resources/tile_priority.h" | 14 #include "cc/resources/tile_priority.h" |
| 15 #include "cc/resources/worker_pool.h" |
| 16 | 16 |
| 17 class SkDevice; | 17 class SkDevice; |
| 18 | 18 |
| 19 namespace skia { | 19 namespace skia { |
| 20 class LazyPixelRef; | 20 class LazyPixelRef; |
| 21 } | 21 } |
| 22 | 22 |
| 23 namespace cc { | 23 namespace cc { |
| 24 class PicturePileImpl; | 24 class PicturePileImpl; |
| 25 class PixelBufferRasterWorkerPool; | 25 class PixelBufferRasterWorkerPool; |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 ResourceProvider* resource_provider_; | 249 ResourceProvider* resource_provider_; |
| 250 RasterTask::Queue::TaskVector raster_tasks_; | 250 RasterTask::Queue::TaskVector raster_tasks_; |
| 251 | 251 |
| 252 // The root task that is a dependent of all other tasks. | 252 // The root task that is a dependent of all other tasks. |
| 253 scoped_refptr<internal::WorkerPoolTask> root_; | 253 scoped_refptr<internal::WorkerPoolTask> root_; |
| 254 }; | 254 }; |
| 255 | 255 |
| 256 } // namespace cc | 256 } // namespace cc |
| 257 | 257 |
| 258 #endif // CC_RESOURCES_RASTER_WORKER_POOL_H_ | 258 #endif // CC_RESOURCES_RASTER_WORKER_POOL_H_ |
| OLD | NEW |