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

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

Issue 2535173002: Prevent implicit framebuffer clear from clobbering alpha in emulated RGB (Closed)
Patch Set: remove unnecessary std::list Created 4 years 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 test_rect=[0, 0, 300, 300], 78 test_rect=[0, 0, 300, 300],
79 revision=1), 79 revision=1),
80 80
81 PixelTestPage( 81 PixelTestPage(
82 'pixel_webgl_noaa_noalpha.html', 82 'pixel_webgl_noaa_noalpha.html',
83 base_name + '_WebGLGreenTriangle_NoAA_NoAlpha', 83 base_name + '_WebGLGreenTriangle_NoAA_NoAlpha',
84 test_rect=[0, 0, 300, 300], 84 test_rect=[0, 0, 300, 300],
85 revision=1), 85 revision=1),
86 86
87 PixelTestPage( 87 PixelTestPage(
88 'pixel_webgl_noalpha_implicit_clear.html',
89 base_name + '_WebGLTransparentGreenTriangle_NoAlpha_ImplicitClear',
90 test_rect=[0, 0, 300, 300],
91 revision=1),
92
93 PixelTestPage(
88 'pixel_scissor.html', 94 'pixel_scissor.html',
89 base_name + '_ScissorTestWithPreserveDrawingBuffer', 95 base_name + '_ScissorTestWithPreserveDrawingBuffer',
90 test_rect=[0, 0, 300, 300], 96 test_rect=[0, 0, 300, 300],
91 revision=0, # This is not used. 97 revision=0, # This is not used.
92 expected_colors=[ 98 expected_colors=[
93 { 99 {
94 'comment': 'red top', 100 'comment': 'red top',
95 'location': [1, 1], 101 'location': [1, 1],
96 'size': [198, 188], 102 'size': [198, 188],
97 'color': [255, 0, 0], 103 'color': [255, 0, 0],
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 test_rect=[0, 0, 300, 300], 305 test_rect=[0, 0, 300, 300],
300 revision=3), 306 revision=3),
301 PixelTestPage( 307 PixelTestPage(
302 'filter_effects.html', 308 'filter_effects.html',
303 base_name + '_CSSFilterEffects_NoOverlays', 309 base_name + '_CSSFilterEffects_NoOverlays',
304 test_rect=[0, 0, 300, 300], 310 test_rect=[0, 0, 300, 300],
305 revision=3, 311 revision=3,
306 tolerance=10, 312 tolerance=10,
307 browser_args=['--disable-mac-overlays']), 313 browser_args=['--disable-mac-overlays']),
308 ] 314 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698