| OLD | NEW |
| 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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 base_name + '_WebGLGreenTriangle_NonChromiumImage_NoAA_NoAlpha', | 293 base_name + '_WebGLGreenTriangle_NonChromiumImage_NoAA_NoAlpha', |
| 294 test_rect=[0, 0, 300, 300], | 294 test_rect=[0, 0, 300, 300], |
| 295 revision=1, | 295 revision=1, |
| 296 browser_args=non_chromium_image_args), | 296 browser_args=non_chromium_image_args), |
| 297 | 297 |
| 298 # On macOS, test CSS filter effects with and without the CA compositor. | 298 # On macOS, test CSS filter effects with and without the CA compositor. |
| 299 PixelTestPage( | 299 PixelTestPage( |
| 300 'filter_effects.html', | 300 'filter_effects.html', |
| 301 base_name + '_CSSFilterEffects', | 301 base_name + '_CSSFilterEffects', |
| 302 test_rect=[0, 0, 300, 300], | 302 test_rect=[0, 0, 300, 300], |
| 303 revision=2), | 303 revision=3), |
| 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=3, |
| 309 tolerance=10, | 309 tolerance=10, |
| 310 browser_args=['--disable-mac-overlays']), | 310 browser_args=['--disable-mac-overlays']), |
| 311 ] | 311 ] |
| OLD | NEW |