| 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/playback/display_item_list.h" | 10 #include "cc/playback/display_item_list.h" |
| 11 #include "cc/playback/display_item_list_settings.h" | 11 #include "cc/playback/display_item_list_settings.h" |
| 12 #include "cc/playback/drawing_display_item.h" | 12 #include "cc/playback/drawing_display_item.h" |
| 13 #include "cc/test/layer_tree_pixel_test.h" | 13 #include "cc/test/layer_tree_pixel_test.h" |
| 14 #include "cc/test/test_gpu_memory_buffer_manager.h" | |
| 15 #include "third_party/skia/include/core/SkCanvas.h" | 14 #include "third_party/skia/include/core/SkCanvas.h" |
| 16 #include "third_party/skia/include/core/SkPictureRecorder.h" | 15 #include "third_party/skia/include/core/SkPictureRecorder.h" |
| 17 | 16 |
| 18 #if !defined(OS_ANDROID) | 17 #if !defined(OS_ANDROID) |
| 19 | 18 |
| 20 namespace cc { | 19 namespace cc { |
| 21 namespace { | 20 namespace { |
| 22 | 21 |
| 23 enum RasterMode { | 22 enum RasterMode { |
| 24 PARTIAL_ONE_COPY, | 23 PARTIAL_ONE_COPY, |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 FullRaster_SingleThread_GpuRaster) { | 233 FullRaster_SingleThread_GpuRaster) { |
| 235 RunRasterPixelTest( | 234 RunRasterPixelTest( |
| 236 false, FULL_GPU, picture_layer_, | 235 false, FULL_GPU, picture_layer_, |
| 237 base::FilePath(FILE_PATH_LITERAL("blue_yellow_flipped.png"))); | 236 base::FilePath(FILE_PATH_LITERAL("blue_yellow_flipped.png"))); |
| 238 } | 237 } |
| 239 | 238 |
| 240 } // namespace | 239 } // namespace |
| 241 } // namespace cc | 240 } // namespace cc |
| 242 | 241 |
| 243 #endif // !defined(OS_ANDROID) | 242 #endif // !defined(OS_ANDROID) |
| OLD | NEW |