Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1336)

Side by Side Diff: cc/trees/layer_tree_host_pixeltest_tiles.cc

Issue 2797473004: Disable flaky {Full,Partial}Raster_MultiThread_OneCopy. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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" 10 #include "cc/paint/display_item_list.h"
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 base::FilePath(FILE_PATH_LITERAL("blue_yellow_partial_flipped.png"))); 196 base::FilePath(FILE_PATH_LITERAL("blue_yellow_partial_flipped.png")));
197 } 197 }
198 198
199 TEST_F(LayerTreeHostTilesTestPartialInvalidation, 199 TEST_F(LayerTreeHostTilesTestPartialInvalidation,
200 FullRaster_SingleThread_OneCopy) { 200 FullRaster_SingleThread_OneCopy) {
201 RunRasterPixelTest( 201 RunRasterPixelTest(
202 false, FULL_ONE_COPY, picture_layer_, 202 false, FULL_ONE_COPY, picture_layer_,
203 base::FilePath(FILE_PATH_LITERAL("blue_yellow_flipped.png"))); 203 base::FilePath(FILE_PATH_LITERAL("blue_yellow_flipped.png")));
204 } 204 }
205 205
206 // crbug.com/707711
207 #if defined(OS_LINUX)
208 #define MAYBE_PartialRaster_MultiThread_OneCopy \
209 DISABLED_PartialRaster_MultiThread_OneCopy
210 #else
211 #define MAYBE_PartialRaster_MultiThread_OneCopy \
212 PartialRaster_MultiThread_OneCopy
213 #endif
206 TEST_F(LayerTreeHostTilesTestPartialInvalidation, 214 TEST_F(LayerTreeHostTilesTestPartialInvalidation,
207 PartialRaster_MultiThread_OneCopy) { 215 MAYBE_PartialRaster_MultiThread_OneCopy) {
208 RunRasterPixelTest( 216 RunRasterPixelTest(
209 true, PARTIAL_ONE_COPY, picture_layer_, 217 true, PARTIAL_ONE_COPY, picture_layer_,
210 base::FilePath(FILE_PATH_LITERAL("blue_yellow_partial_flipped.png"))); 218 base::FilePath(FILE_PATH_LITERAL("blue_yellow_partial_flipped.png")));
211 } 219 }
212 220
221 // crbug.com/707711
222 #if defined(OS_LINUX)
223 #define MAYBE_FullRaster_MultiThread_OneCopy \
224 DISABLED_FullRaster_MultiThread_OneCopy
225 #else
226 #define MAYBE_FullRaster_MultiThread_OneCopy FullRaster_MultiThread_OneCopy
227 #endif
213 TEST_F(LayerTreeHostTilesTestPartialInvalidation, 228 TEST_F(LayerTreeHostTilesTestPartialInvalidation,
214 FullRaster_MultiThread_OneCopy) { 229 MAYBE_FullRaster_MultiThread_OneCopy) {
215 RunRasterPixelTest( 230 RunRasterPixelTest(
216 true, FULL_ONE_COPY, picture_layer_, 231 true, FULL_ONE_COPY, picture_layer_,
217 base::FilePath(FILE_PATH_LITERAL("blue_yellow_flipped.png"))); 232 base::FilePath(FILE_PATH_LITERAL("blue_yellow_flipped.png")));
218 } 233 }
219 234
220 TEST_F(LayerTreeHostTilesTestPartialInvalidation, 235 TEST_F(LayerTreeHostTilesTestPartialInvalidation,
221 PartialRaster_SingleThread_Software) { 236 PartialRaster_SingleThread_Software) {
222 RunRasterPixelTest( 237 RunRasterPixelTest(
223 false, PARTIAL_BITMAP, picture_layer_, 238 false, PARTIAL_BITMAP, picture_layer_,
224 base::FilePath(FILE_PATH_LITERAL("blue_yellow_partial_flipped.png"))); 239 base::FilePath(FILE_PATH_LITERAL("blue_yellow_partial_flipped.png")));
(...skipping 17 matching lines...) Expand all
242 FullRaster_SingleThread_GpuRaster) { 257 FullRaster_SingleThread_GpuRaster) {
243 RunRasterPixelTest( 258 RunRasterPixelTest(
244 false, FULL_GPU, picture_layer_, 259 false, FULL_GPU, picture_layer_,
245 base::FilePath(FILE_PATH_LITERAL("blue_yellow_flipped.png"))); 260 base::FilePath(FILE_PATH_LITERAL("blue_yellow_flipped.png")));
246 } 261 }
247 262
248 } // namespace 263 } // namespace
249 } // namespace cc 264 } // namespace cc
250 265
251 #endif // !defined(OS_ANDROID) 266 #endif // !defined(OS_ANDROID)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698