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

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

Issue 2828353003: Determine mask UVs based on texture size (Closed)
Patch Set: Add tolerance to filter_effects.html 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 | « cc/trees/property_tree_builder.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 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 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 base_name + '_WebGLGreenTriangle_NonChromiumImage_NoAA_NoAlpha', 471 base_name + '_WebGLGreenTriangle_NonChromiumImage_NoAA_NoAlpha',
472 test_rect=[0, 0, 300, 300], 472 test_rect=[0, 0, 300, 300],
473 revision=1, 473 revision=1,
474 browser_args=non_chromium_image_args), 474 browser_args=non_chromium_image_args),
475 475
476 # On macOS, test CSS filter effects with and without the CA compositor. 476 # On macOS, test CSS filter effects with and without the CA compositor.
477 PixelTestPage( 477 PixelTestPage(
478 'filter_effects.html', 478 'filter_effects.html',
479 base_name + '_CSSFilterEffects', 479 base_name + '_CSSFilterEffects',
480 test_rect=[0, 0, 300, 300], 480 test_rect=[0, 0, 300, 300],
481 revision=4), 481 revision=4,
482 tolerance=10),
482 PixelTestPage( 483 PixelTestPage(
483 'filter_effects.html', 484 'filter_effects.html',
484 base_name + '_CSSFilterEffects_NoOverlays', 485 base_name + '_CSSFilterEffects_NoOverlays',
485 test_rect=[0, 0, 300, 300], 486 test_rect=[0, 0, 300, 300],
486 revision=4, 487 revision=4,
487 tolerance=10, 488 tolerance=10,
488 browser_args=['--disable-mac-overlays']), 489 browser_args=['--disable-mac-overlays']),
489 ] 490 ]
490 491
491 def DirectCompositionPages(base_name): 492 def DirectCompositionPages(base_name):
492 browser_args = ['--enable-direct-composition-layers'] 493 browser_args = ['--enable-direct-composition-layers']
493 return [ 494 return [
494 PixelTestPage( 495 PixelTestPage(
495 'pixel_video_mp4.html', 496 'pixel_video_mp4.html',
496 base_name + '_DirectComposition_Video_MP4', 497 base_name + '_DirectComposition_Video_MP4',
497 test_rect=[0, 0, 300, 300], 498 test_rect=[0, 0, 300, 300],
498 revision=1, 499 revision=1,
499 browser_args=browser_args), 500 browser_args=browser_args),
500 501
501 PixelTestPage( 502 PixelTestPage(
502 'pixel_video_vp9.html', 503 'pixel_video_vp9.html',
503 base_name + '_DirectComposition_Video_VP9', 504 base_name + '_DirectComposition_Video_VP9',
504 test_rect=[0, 0, 300, 300], 505 test_rect=[0, 0, 300, 300],
505 revision=1, 506 revision=1,
506 browser_args=browser_args), 507 browser_args=browser_args),
507 ] 508 ]
OLDNEW
« no previous file with comments | « cc/trees/property_tree_builder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698