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

Side by Side Diff: content/test/gpu/gpu_tests/pixel_test_pages.py

Issue 2426573004: Fix Unaccelerated2DGpuCompositing gpu test cases (Closed)
Patch Set: Created 4 years, 2 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 | third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 class PixelTestPage(object): 5 class PixelTestPage(object):
6 """A wrapper class mimicking the functionality of the PixelTestsStorySet 6 """A wrapper class mimicking the functionality of the PixelTestsStorySet
7 from the old-style GPU tests. 7 from the old-style GPU tests.
8 """ 8 """
9 def __init__(self, url, name, test_rect, revision, 9 def __init__(self, url, name, test_rect, revision,
10 expected_colors=None, tolerance=2, browser_args=None): 10 expected_colors=None, tolerance=2, browser_args=None):
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 'pixel_offscreenCanvas_2d_commit_worker.html', 205 'pixel_offscreenCanvas_2d_commit_worker.html',
206 base_name + '_OffscreenCanvasUnaccelerated2DWorker', 206 base_name + '_OffscreenCanvasUnaccelerated2DWorker',
207 test_rect=[0, 0, 300, 300], 207 test_rect=[0, 0, 300, 300],
208 revision=2, 208 revision=2,
209 browser_args=browser_args + unaccelerated_args), 209 browser_args=browser_args + unaccelerated_args),
210 210
211 PixelTestPage( 211 PixelTestPage(
212 'pixel_offscreenCanvas_2d_commit_main.html', 212 'pixel_offscreenCanvas_2d_commit_main.html',
213 base_name + '_OffscreenCanvasUnaccelerated2DGPUCompositing', 213 base_name + '_OffscreenCanvasUnaccelerated2DGPUCompositing',
214 test_rect=[0, 0, 300, 300], 214 test_rect=[0, 0, 300, 300],
215 revision=2, 215 revision=3,
216 browser_args=browser_args + ['--disable-accelerated-2d-canvas']), 216 browser_args=browser_args + ['--disable-accelerated-2d-canvas']),
217 217
218 PixelTestPage( 218 PixelTestPage(
219 'pixel_offscreenCanvas_2d_commit_worker.html', 219 'pixel_offscreenCanvas_2d_commit_worker.html',
220 base_name + '_OffscreenCanvasUnaccelerated2DGPUCompositingWorker', 220 base_name + '_OffscreenCanvasUnaccelerated2DGPUCompositingWorker',
221 test_rect=[0, 0, 300, 300], 221 test_rect=[0, 0, 300, 300],
222 revision=2, 222 revision=3,
223 browser_args=browser_args + ['--disable-accelerated-2d-canvas']), 223 browser_args=browser_args + ['--disable-accelerated-2d-canvas']),
224 ] 224 ]
225 225
226 226
227 # Pages that should be run with various macOS specific command line 227 # Pages that should be run with various macOS specific command line
228 # arguments. 228 # arguments.
229 def MacSpecificPages(base_name): 229 def MacSpecificPages(base_name):
230 iosurface_2d_canvas_args = [ 230 iosurface_2d_canvas_args = [
231 '--enable-accelerated-2d-canvas', 231 '--enable-accelerated-2d-canvas',
232 '--disable-display-list-2d-canvas'] 232 '--disable-display-list-2d-canvas']
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 test_rect=[0, 0, 300, 300], 281 test_rect=[0, 0, 300, 300],
282 revision=2), 282 revision=2),
283 PixelTestPage( 283 PixelTestPage(
284 'filter_effects.html', 284 'filter_effects.html',
285 base_name + '_CSSFilterEffects_NoOverlays', 285 base_name + '_CSSFilterEffects_NoOverlays',
286 test_rect=[0, 0, 300, 300], 286 test_rect=[0, 0, 300, 300],
287 revision=2, 287 revision=2,
288 tolerance=10, 288 tolerance=10,
289 browser_args=['--disable-mac-overlays']), 289 browser_args=['--disable-mac-overlays']),
290 ] 290 ]
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698