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 #include "cc/raster/tile_task_worker_pool.h" | 5 #include "cc/raster/tile_task_worker_pool.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
7 #include <algorithm> | 10 #include <algorithm> |
8 #include <limits> | 11 #include <limits> |
9 #include <vector> | 12 #include <vector> |
10 | 13 |
11 #include "base/cancelable_callback.h" | 14 #include "base/cancelable_callback.h" |
12 #include "base/location.h" | 15 #include "base/location.h" |
| 16 #include "base/macros.h" |
13 #include "base/single_thread_task_runner.h" | 17 #include "base/single_thread_task_runner.h" |
14 #include "base/thread_task_runner_handle.h" | 18 #include "base/thread_task_runner_handle.h" |
15 #include "cc/base/unique_notifier.h" | 19 #include "cc/base/unique_notifier.h" |
16 #include "cc/raster/bitmap_tile_task_worker_pool.h" | 20 #include "cc/raster/bitmap_tile_task_worker_pool.h" |
17 #include "cc/raster/gpu_rasterizer.h" | 21 #include "cc/raster/gpu_rasterizer.h" |
18 #include "cc/raster/gpu_tile_task_worker_pool.h" | 22 #include "cc/raster/gpu_tile_task_worker_pool.h" |
19 #include "cc/raster/one_copy_tile_task_worker_pool.h" | 23 #include "cc/raster/one_copy_tile_task_worker_pool.h" |
20 #include "cc/raster/raster_buffer.h" | 24 #include "cc/raster/raster_buffer.h" |
21 #include "cc/raster/synchronous_task_graph_runner.h" | 25 #include "cc/raster/synchronous_task_graph_runner.h" |
22 #include "cc/raster/tile_task_runner.h" | 26 #include "cc/raster/tile_task_runner.h" |
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 | 373 |
370 INSTANTIATE_TEST_CASE_P(TileTaskWorkerPoolTests, | 374 INSTANTIATE_TEST_CASE_P(TileTaskWorkerPoolTests, |
371 TileTaskWorkerPoolTest, | 375 TileTaskWorkerPoolTest, |
372 ::testing::Values(TILE_TASK_WORKER_POOL_TYPE_ZERO_COPY, | 376 ::testing::Values(TILE_TASK_WORKER_POOL_TYPE_ZERO_COPY, |
373 TILE_TASK_WORKER_POOL_TYPE_ONE_COPY, | 377 TILE_TASK_WORKER_POOL_TYPE_ONE_COPY, |
374 TILE_TASK_WORKER_POOL_TYPE_GPU, | 378 TILE_TASK_WORKER_POOL_TYPE_GPU, |
375 TILE_TASK_WORKER_POOL_TYPE_BITMAP)); | 379 TILE_TASK_WORKER_POOL_TYPE_BITMAP)); |
376 | 380 |
377 } // namespace | 381 } // namespace |
378 } // namespace cc | 382 } // namespace cc |
OLD | NEW |