| 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/single_thread_task_runner.h" | 18 #include "base/single_thread_task_runner.h" |
| 19 #include "base/thread_task_runner_handle.h" | 19 #include "base/threading/thread_task_runner_handle.h" |
| 20 #include "cc/base/unique_notifier.h" | 20 #include "cc/base/unique_notifier.h" |
| 21 #include "cc/raster/bitmap_raster_buffer_provider.h" | 21 #include "cc/raster/bitmap_raster_buffer_provider.h" |
| 22 #include "cc/raster/gpu_raster_buffer_provider.h" | 22 #include "cc/raster/gpu_raster_buffer_provider.h" |
| 23 #include "cc/raster/gpu_rasterizer.h" | 23 #include "cc/raster/gpu_rasterizer.h" |
| 24 #include "cc/raster/one_copy_raster_buffer_provider.h" | 24 #include "cc/raster/one_copy_raster_buffer_provider.h" |
| 25 #include "cc/raster/synchronous_task_graph_runner.h" | 25 #include "cc/raster/synchronous_task_graph_runner.h" |
| 26 #include "cc/raster/zero_copy_raster_buffer_provider.h" | 26 #include "cc/raster/zero_copy_raster_buffer_provider.h" |
| 27 #include "cc/resources/resource_pool.h" | 27 #include "cc/resources/resource_pool.h" |
| 28 #include "cc/resources/resource_provider.h" | 28 #include "cc/resources/resource_provider.h" |
| 29 #include "cc/resources/scoped_resource.h" | 29 #include "cc/resources/scoped_resource.h" |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 | 368 |
| 369 INSTANTIATE_TEST_CASE_P(RasterBufferProviderTests, | 369 INSTANTIATE_TEST_CASE_P(RasterBufferProviderTests, |
| 370 RasterBufferProviderTest, | 370 RasterBufferProviderTest, |
| 371 ::testing::Values(RASTER_BUFFER_PROVIDER_TYPE_ZERO_COPY, | 371 ::testing::Values(RASTER_BUFFER_PROVIDER_TYPE_ZERO_COPY, |
| 372 RASTER_BUFFER_PROVIDER_TYPE_ONE_COPY, | 372 RASTER_BUFFER_PROVIDER_TYPE_ONE_COPY, |
| 373 RASTER_BUFFER_PROVIDER_TYPE_GPU, | 373 RASTER_BUFFER_PROVIDER_TYPE_GPU, |
| 374 RASTER_BUFFER_PROVIDER_TYPE_BITMAP)); | 374 RASTER_BUFFER_PROVIDER_TYPE_BITMAP)); |
| 375 | 375 |
| 376 } // namespace | 376 } // namespace |
| 377 } // namespace cc | 377 } // namespace cc |
| OLD | NEW |