| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/test/layer_tree_pixel_resource_test.h" | 5 #include "cc/test/layer_tree_pixel_resource_test.h" |
| 6 | 6 |
| 7 #include "cc/layers/layer.h" | 7 #include "cc/layers/layer.h" |
| 8 #include "cc/resources/bitmap_tile_task_worker_pool.h" | 8 #include "cc/raster/bitmap_tile_task_worker_pool.h" |
| 9 #include "cc/resources/gpu_rasterizer.h" | 9 #include "cc/raster/gpu_rasterizer.h" |
| 10 #include "cc/resources/gpu_tile_task_worker_pool.h" | 10 #include "cc/raster/gpu_tile_task_worker_pool.h" |
| 11 #include "cc/resources/one_copy_tile_task_worker_pool.h" | 11 #include "cc/raster/one_copy_tile_task_worker_pool.h" |
| 12 #include "cc/resources/pixel_buffer_tile_task_worker_pool.h" | 12 #include "cc/raster/pixel_buffer_tile_task_worker_pool.h" |
| 13 #include "cc/raster/tile_task_worker_pool.h" |
| 14 #include "cc/raster/zero_copy_tile_task_worker_pool.h" |
| 13 #include "cc/resources/resource_pool.h" | 15 #include "cc/resources/resource_pool.h" |
| 14 #include "cc/resources/tile_task_worker_pool.h" | |
| 15 #include "cc/resources/zero_copy_tile_task_worker_pool.h" | |
| 16 #include "cc/test/fake_output_surface.h" | 16 #include "cc/test/fake_output_surface.h" |
| 17 #include "gpu/GLES2/gl2extchromium.h" | 17 #include "gpu/GLES2/gl2extchromium.h" |
| 18 | 18 |
| 19 namespace cc { | 19 namespace cc { |
| 20 | 20 |
| 21 namespace { | 21 namespace { |
| 22 | 22 |
| 23 bool IsTestCaseSupported(PixelResourceTestCase test_case) { | 23 bool IsTestCaseSupported(PixelResourceTestCase test_case) { |
| 24 switch (test_case) { | 24 switch (test_case) { |
| 25 case SOFTWARE: | 25 case SOFTWARE: |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 | 208 |
| 209 if (layer_tree_host()) | 209 if (layer_tree_host()) |
| 210 EXPECT_TRUE(layer_tree_host()->settings().impl_side_painting); | 210 EXPECT_TRUE(layer_tree_host()->settings().impl_side_painting); |
| 211 } | 211 } |
| 212 | 212 |
| 213 ParameterizedPixelResourceTest::ParameterizedPixelResourceTest() | 213 ParameterizedPixelResourceTest::ParameterizedPixelResourceTest() |
| 214 : LayerTreeHostPixelResourceTest(GetParam()) { | 214 : LayerTreeHostPixelResourceTest(GetParam()) { |
| 215 } | 215 } |
| 216 | 216 |
| 217 } // namespace cc | 217 } // namespace cc |
| OLD | NEW |