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. |
226 TEST_F(LayerTreeHostTilesTestPartialInvalidation, | 228 TEST_F(LayerTreeHostTilesTestPartialInvalidation, |
227 PartialRaster_SingleThread_GpuRaster) { | 229 DISABLED_PartialRaster_SingleThread_GpuRaster) { |
228 RunRasterPixelTest( | 230 RunRasterPixelTest( |
229 false, PARTIAL_GPU, picture_layer_, | 231 false, PARTIAL_GPU, picture_layer_, |
230 base::FilePath(FILE_PATH_LITERAL("blue_yellow_partial_flipped.png"))); | 232 base::FilePath(FILE_PATH_LITERAL("blue_yellow_partial_flipped.png"))); |
231 } | 233 } |
232 | 234 |
233 TEST_F(LayerTreeHostTilesTestPartialInvalidation, | 235 TEST_F(LayerTreeHostTilesTestPartialInvalidation, |
234 FullRaster_SingleThread_GpuRaster) { | 236 FullRaster_SingleThread_GpuRaster) { |
235 RunRasterPixelTest( | 237 RunRasterPixelTest( |
236 false, FULL_GPU, picture_layer_, | 238 false, FULL_GPU, picture_layer_, |
237 base::FilePath(FILE_PATH_LITERAL("blue_yellow_flipped.png"))); | 239 base::FilePath(FILE_PATH_LITERAL("blue_yellow_flipped.png"))); |
238 } | 240 } |
239 | 241 |
240 } // namespace | 242 } // namespace |
241 } // namespace cc | 243 } // namespace cc |
242 | 244 |
243 #endif // !defined(OS_ANDROID) | 245 #endif // !defined(OS_ANDROID) |
OLD | NEW |