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

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

Issue 2161933004: Re-enable GPU partial raster for non-MSAA content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@perftest
Patch Set: Created 4 years, 5 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 | « cc/raster/gpu_raster_buffer_provider.cc ('k') | 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/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
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)
OLDNEW
« no previous file with comments | « cc/raster/gpu_raster_buffer_provider.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698