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/raster_buffer_provider.h" | 5 #include "cc/raster/raster_buffer_provider.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
11 #include <limits> | 11 #include <limits> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/cancelable_callback.h" | 14 #include "base/cancelable_callback.h" |
15 #include "base/location.h" | 15 #include "base/location.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/memory/ptr_util.h" | 17 #include "base/memory/ptr_util.h" |
| 18 #include "base/message_loop/message_loop.h" |
18 #include "base/single_thread_task_runner.h" | 19 #include "base/single_thread_task_runner.h" |
19 #include "base/threading/thread_task_runner_handle.h" | 20 #include "base/threading/thread_task_runner_handle.h" |
20 #include "cc/base/unique_notifier.h" | 21 #include "cc/base/unique_notifier.h" |
21 #include "cc/raster/bitmap_raster_buffer_provider.h" | 22 #include "cc/raster/bitmap_raster_buffer_provider.h" |
22 #include "cc/raster/gpu_raster_buffer_provider.h" | 23 #include "cc/raster/gpu_raster_buffer_provider.h" |
23 #include "cc/raster/one_copy_raster_buffer_provider.h" | 24 #include "cc/raster/one_copy_raster_buffer_provider.h" |
24 #include "cc/raster/synchronous_task_graph_runner.h" | 25 #include "cc/raster/synchronous_task_graph_runner.h" |
25 #include "cc/raster/zero_copy_raster_buffer_provider.h" | 26 #include "cc/raster/zero_copy_raster_buffer_provider.h" |
26 #include "cc/resources/platform_color.h" | 27 #include "cc/resources/platform_color.h" |
27 #include "cc/resources/resource_pool.h" | 28 #include "cc/resources/resource_pool.h" |
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 | 384 |
384 INSTANTIATE_TEST_CASE_P(RasterBufferProviderTests, | 385 INSTANTIATE_TEST_CASE_P(RasterBufferProviderTests, |
385 RasterBufferProviderTest, | 386 RasterBufferProviderTest, |
386 ::testing::Values(RASTER_BUFFER_PROVIDER_TYPE_ZERO_COPY, | 387 ::testing::Values(RASTER_BUFFER_PROVIDER_TYPE_ZERO_COPY, |
387 RASTER_BUFFER_PROVIDER_TYPE_ONE_COPY, | 388 RASTER_BUFFER_PROVIDER_TYPE_ONE_COPY, |
388 RASTER_BUFFER_PROVIDER_TYPE_GPU, | 389 RASTER_BUFFER_PROVIDER_TYPE_GPU, |
389 RASTER_BUFFER_PROVIDER_TYPE_BITMAP)); | 390 RASTER_BUFFER_PROVIDER_TYPE_BITMAP)); |
390 | 391 |
391 } // namespace | 392 } // namespace |
392 } // namespace cc | 393 } // namespace cc |
OLD | NEW |