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 <stddef.h> | 5 #include <stddef.h> |
6 #include <stdint.h> | 6 #include <stdint.h> |
7 | 7 |
8 #include "base/memory/ptr_util.h" | 8 #include "base/memory/ptr_util.h" |
9 #include "base/run_loop.h" | 9 #include "base/run_loop.h" |
10 #include "base/thread_task_runner_handle.h" | 10 #include "base/threading/thread_task_runner_handle.h" |
11 #include "cc/playback/raster_source.h" | 11 #include "cc/playback/raster_source.h" |
12 #include "cc/playback/recording_source.h" | 12 #include "cc/playback/recording_source.h" |
13 #include "cc/raster/raster_buffer.h" | 13 #include "cc/raster/raster_buffer.h" |
14 #include "cc/raster/synchronous_task_graph_runner.h" | 14 #include "cc/raster/synchronous_task_graph_runner.h" |
15 #include "cc/resources/resource_pool.h" | 15 #include "cc/resources/resource_pool.h" |
16 #include "cc/test/begin_frame_args_test.h" | 16 #include "cc/test/begin_frame_args_test.h" |
17 #include "cc/test/fake_impl_task_runner_provider.h" | 17 #include "cc/test/fake_impl_task_runner_provider.h" |
18 #include "cc/test/fake_layer_tree_host_impl.h" | 18 #include "cc/test/fake_layer_tree_host_impl.h" |
19 #include "cc/test/fake_output_surface.h" | 19 #include "cc/test/fake_output_surface.h" |
20 #include "cc/test/fake_output_surface_client.h" | 20 #include "cc/test/fake_output_surface_client.h" |
(...skipping 2068 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2089 | 2089 |
2090 // Ensures that the tile manager does not attempt to reuse tiles when partial | 2090 // Ensures that the tile manager does not attempt to reuse tiles when partial |
2091 // raster is disabled. | 2091 // raster is disabled. |
2092 TEST_F(TileManagerTest, PartialRasterSuccessfullyDisabled) { | 2092 TEST_F(TileManagerTest, PartialRasterSuccessfullyDisabled) { |
2093 RunPartialRasterCheck(std::move(host_impl_), | 2093 RunPartialRasterCheck(std::move(host_impl_), |
2094 false /* partial_raster_enabled */); | 2094 false /* partial_raster_enabled */); |
2095 } | 2095 } |
2096 | 2096 |
2097 } // namespace | 2097 } // namespace |
2098 } // namespace cc | 2098 } // namespace cc |
OLD | NEW |