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

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

Issue 2454153002: mac: Offscreen Canvas sets texture wrap to CLAMP_TO_EDGE explicitly (Closed)
Patch Set: mark rebaseline Created 4 years, 1 month 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
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=3, 215 revision=4,
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=3, 222 revision=4,
223 browser_args=browser_args + ['--disable-accelerated-2d-canvas']), 223 browser_args=browser_args + ['--disable-accelerated-2d-canvas']),
224 224
225 PixelTestPage( 225 PixelTestPage(
226 'pixel_canvas_display_linear-rgb.html', 226 'pixel_canvas_display_linear-rgb.html',
227 base_name + '_CanvasDisplayLinearRGBAccelerated2D', 227 base_name + '_CanvasDisplayLinearRGBAccelerated2D',
228 test_rect=[0, 0, 140, 140], 228 test_rect=[0, 0, 140, 140],
229 revision=1, 229 revision=1,
230 browser_args=browser_args), 230 browser_args=browser_args),
231 231
232 PixelTestPage( 232 PixelTestPage(
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 test_rect=[0, 0, 300, 300], 302 test_rect=[0, 0, 300, 300],
303 revision=2), 303 revision=2),
304 PixelTestPage( 304 PixelTestPage(
305 'filter_effects.html', 305 'filter_effects.html',
306 base_name + '_CSSFilterEffects_NoOverlays', 306 base_name + '_CSSFilterEffects_NoOverlays',
307 test_rect=[0, 0, 300, 300], 307 test_rect=[0, 0, 300, 300],
308 revision=2, 308 revision=2,
309 tolerance=10, 309 tolerance=10,
310 browser_args=['--disable-mac-overlays']), 310 browser_args=['--disable-mac-overlays']),
311 ] 311 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698