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

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

Issue 2838153003: Fix darkened pixels when rendering using GPU (Closed)
Patch Set: Removing unneeded layout-test 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
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 def DefaultPages(base_name): 49 def DefaultPages(base_name):
50 return [ 50 return [
51 PixelTestPage( 51 PixelTestPage(
52 'pixel_canvas2d.html', 52 'pixel_canvas2d.html',
53 base_name + '_Canvas2DRedBox', 53 base_name + '_Canvas2DRedBox',
54 test_rect=[0, 0, 300, 300], 54 test_rect=[0, 0, 300, 300],
55 revision=7), 55 revision=7),
56 56
57 PixelTestPage( 57 PixelTestPage(
58 'pixel_canvas2d_untagged.html',
59 base_name + '_Canvas2DUntagged',
60 test_rect=[0, 0, 257, 257],
61 revision=0),
62
63 PixelTestPage(
58 'pixel_css3d.html', 64 'pixel_css3d.html',
59 base_name + '_CSS3DBlueBox', 65 base_name + '_CSS3DBlueBox',
60 test_rect=[0, 0, 300, 300], 66 test_rect=[0, 0, 300, 300],
61 revision=16), 67 revision=16),
62 68
63 PixelTestPage( 69 PixelTestPage(
64 'pixel_webgl_aa_alpha.html', 70 'pixel_webgl_aa_alpha.html',
65 base_name + '_WebGLGreenTriangle_AA_Alpha', 71 base_name + '_WebGLGreenTriangle_AA_Alpha',
66 test_rect=[0, 0, 300, 300], 72 test_rect=[0, 0, 300, 300],
67 revision=1), 73 revision=1),
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 revision=2, 504 revision=2,
499 browser_args=browser_args), 505 browser_args=browser_args),
500 506
501 PixelTestPage( 507 PixelTestPage(
502 'pixel_video_vp9.html', 508 'pixel_video_vp9.html',
503 base_name + '_DirectComposition_Video_VP9', 509 base_name + '_DirectComposition_Video_VP9',
504 test_rect=[0, 0, 300, 300], 510 test_rect=[0, 0, 300, 300],
505 revision=2, 511 revision=2,
506 browser_args=browser_args), 512 browser_args=browser_args),
507 ] 513 ]
OLDNEW
« no previous file with comments | « content/test/gpu/gpu_tests/pixel_expectations.py ('k') | third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698