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

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

Issue 2607373002: Linear filter for texture object in 2d context (Closed)
Patch Set: fix Created 3 years, 11 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
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 tolerance=2, browser_args=None, expected_colors=None): 10 tolerance=2, browser_args=None, expected_colors=None):
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 'pixel_offscreenCanvas_2d_commit_worker.html', 371 'pixel_offscreenCanvas_2d_commit_worker.html',
372 base_name + '_OffscreenCanvasUnaccelerated2DGPUCompositingWorker', 372 base_name + '_OffscreenCanvasUnaccelerated2DGPUCompositingWorker',
373 test_rect=[0, 0, 300, 300], 373 test_rect=[0, 0, 300, 300],
374 revision=4, 374 revision=4,
375 browser_args=browser_args + ['--disable-accelerated-2d-canvas']), 375 browser_args=browser_args + ['--disable-accelerated-2d-canvas']),
376 376
377 PixelTestPage( 377 PixelTestPage(
378 'pixel_offscreenCanvas_2d_resize_on_worker.html', 378 'pixel_offscreenCanvas_2d_resize_on_worker.html',
379 base_name + '_OffscreenCanvas2DResizeOnWorker', 379 base_name + '_OffscreenCanvas2DResizeOnWorker',
380 test_rect=[0, 0, 200, 200], 380 test_rect=[0, 0, 200, 200],
381 revision=1, 381 revision=2,
382 browser_args=browser_args), 382 browser_args=browser_args),
383 383
384 PixelTestPage( 384 PixelTestPage(
385 'pixel_offscreenCanvas_webgl_resize_on_worker.html', 385 'pixel_offscreenCanvas_webgl_resize_on_worker.html',
386 base_name + '_OffscreenCanvasWebglResizeOnWorker', 386 base_name + '_OffscreenCanvasWebglResizeOnWorker',
387 test_rect=[0, 0, 200, 200], 387 test_rect=[0, 0, 200, 200],
388 revision=1, 388 revision=1,
389 browser_args=browser_args), 389 browser_args=browser_args),
390 390
391 PixelTestPage( 391 PixelTestPage(
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 test_rect=[0, 0, 300, 300], 468 test_rect=[0, 0, 300, 300],
469 revision=4), 469 revision=4),
470 PixelTestPage( 470 PixelTestPage(
471 'filter_effects.html', 471 'filter_effects.html',
472 base_name + '_CSSFilterEffects_NoOverlays', 472 base_name + '_CSSFilterEffects_NoOverlays',
473 test_rect=[0, 0, 300, 300], 473 test_rect=[0, 0, 300, 300],
474 revision=4, 474 revision=4,
475 tolerance=10, 475 tolerance=10,
476 browser_args=['--disable-mac-overlays']), 476 browser_args=['--disable-mac-overlays']),
477 ] 477 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698