OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 | 6 |
7 #include "cc/layers/content_layer_client.h" | 7 #include "cc/layers/content_layer_client.h" |
8 #include "cc/layers/picture_layer.h" | 8 #include "cc/layers/picture_layer.h" |
9 #include "cc/output/copy_output_request.h" | 9 #include "cc/output/copy_output_request.h" |
| 10 #include "cc/paint/display_item_list.h" |
| 11 #include "cc/paint/drawing_display_item.h" |
10 #include "cc/paint/paint_canvas.h" | 12 #include "cc/paint/paint_canvas.h" |
11 #include "cc/paint/paint_flags.h" | 13 #include "cc/paint/paint_flags.h" |
12 #include "cc/paint/paint_recorder.h" | 14 #include "cc/paint/paint_recorder.h" |
13 #include "cc/playback/display_item_list.h" | |
14 #include "cc/playback/drawing_display_item.h" | |
15 #include "cc/test/layer_tree_pixel_test.h" | 15 #include "cc/test/layer_tree_pixel_test.h" |
16 #include "cc/test/test_compositor_frame_sink.h" | 16 #include "cc/test/test_compositor_frame_sink.h" |
17 #include "gpu/command_buffer/client/gles2_interface.h" | 17 #include "gpu/command_buffer/client/gles2_interface.h" |
18 | 18 |
19 #if !defined(OS_ANDROID) | 19 #if !defined(OS_ANDROID) |
20 | 20 |
21 namespace cc { | 21 namespace cc { |
22 namespace { | 22 namespace { |
23 | 23 |
24 enum RasterMode { | 24 enum RasterMode { |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 FullRaster_SingleThread_GpuRaster) { | 242 FullRaster_SingleThread_GpuRaster) { |
243 RunRasterPixelTest( | 243 RunRasterPixelTest( |
244 false, FULL_GPU, picture_layer_, | 244 false, FULL_GPU, picture_layer_, |
245 base::FilePath(FILE_PATH_LITERAL("blue_yellow_flipped.png"))); | 245 base::FilePath(FILE_PATH_LITERAL("blue_yellow_flipped.png"))); |
246 } | 246 } |
247 | 247 |
248 } // namespace | 248 } // namespace |
249 } // namespace cc | 249 } // namespace cc |
250 | 250 |
251 #endif // !defined(OS_ANDROID) | 251 #endif // !defined(OS_ANDROID) |
OLD | NEW |