| 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" |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 base::FilePath(FILE_PATH_LITERAL("blue_yellow_partial_flipped.png"))); | 216 base::FilePath(FILE_PATH_LITERAL("blue_yellow_partial_flipped.png"))); |
| 217 } | 217 } |
| 218 | 218 |
| 219 TEST_F(LayerTreeHostTilesTestPartialInvalidation, | 219 TEST_F(LayerTreeHostTilesTestPartialInvalidation, |
| 220 FulllRaster_SingleThread_Software) { | 220 FulllRaster_SingleThread_Software) { |
| 221 RunRasterPixelTest( | 221 RunRasterPixelTest( |
| 222 false, FULL_BITMAP, picture_layer_, | 222 false, FULL_BITMAP, picture_layer_, |
| 223 base::FilePath(FILE_PATH_LITERAL("blue_yellow_flipped.png"))); | 223 base::FilePath(FILE_PATH_LITERAL("blue_yellow_flipped.png"))); |
| 224 } | 224 } |
| 225 | 225 |
| 226 // TODO(crbug.com/629683): Re-enable this test once GPU partial raster issues | |
| 227 // are fixed. | |
| 228 TEST_F(LayerTreeHostTilesTestPartialInvalidation, | 226 TEST_F(LayerTreeHostTilesTestPartialInvalidation, |
| 229 DISABLED_PartialRaster_SingleThread_GpuRaster) { | 227 PartialRaster_SingleThread_GpuRaster) { |
| 230 RunRasterPixelTest( | 228 RunRasterPixelTest( |
| 231 false, PARTIAL_GPU, picture_layer_, | 229 false, PARTIAL_GPU, picture_layer_, |
| 232 base::FilePath(FILE_PATH_LITERAL("blue_yellow_partial_flipped.png"))); | 230 base::FilePath(FILE_PATH_LITERAL("blue_yellow_partial_flipped.png"))); |
| 233 } | 231 } |
| 234 | 232 |
| 235 TEST_F(LayerTreeHostTilesTestPartialInvalidation, | 233 TEST_F(LayerTreeHostTilesTestPartialInvalidation, |
| 236 FullRaster_SingleThread_GpuRaster) { | 234 FullRaster_SingleThread_GpuRaster) { |
| 237 RunRasterPixelTest( | 235 RunRasterPixelTest( |
| 238 false, FULL_GPU, picture_layer_, | 236 false, FULL_GPU, picture_layer_, |
| 239 base::FilePath(FILE_PATH_LITERAL("blue_yellow_flipped.png"))); | 237 base::FilePath(FILE_PATH_LITERAL("blue_yellow_flipped.png"))); |
| 240 } | 238 } |
| 241 | 239 |
| 242 } // namespace | 240 } // namespace |
| 243 } // namespace cc | 241 } // namespace cc |
| 244 | 242 |
| 245 #endif // !defined(OS_ANDROID) | 243 #endif // !defined(OS_ANDROID) |
| OLD | NEW |