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

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

Issue 2495373003: Match html canvas which is transferred to OffscreenCanvas to CSS style (Closed)
Patch Set: fix compilation error 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 from gpu_tests.gpu_test_expectations import GpuTestExpectations 5 from gpu_tests.gpu_test_expectations import GpuTestExpectations
6 6
7 # See the GpuTestExpectations class for documentation. 7 # See the GpuTestExpectations class for documentation.
8 8
9 class PixelExpectations(GpuTestExpectations): 9 class PixelExpectations(GpuTestExpectations):
10 def SetExpectations(self): 10 def SetExpectations(self):
11 # Sample Usage: 11 # Sample Usage:
12 # self.Fail('Pixel_Canvas2DRedBox', 12 # self.Fail('Pixel_Canvas2DRedBox',
13 # ['mac', 'amd', ('nvidia', 0x1234)], bug=123) 13 # ['mac', 'amd', ('nvidia', 0x1234)], bug=123)
14 14
15 # TODO(robertphillips) remove once rebaselines are complete 15 # TODO(robertphillips) remove once rebaselines are complete
16 self.Fail('Pixel_CSSFilterEffects', bug=672527) 16 self.Fail('Pixel_CSSFilterEffects', bug=672527)
17 17
18 # Software compositing is not supported on Android; so we skip these tests 18 # Software compositing is not supported on Android; so we skip these tests
19 # that disables gpu compositing on Android platforms. 19 # that disables gpu compositing on Android platforms.
20 self.Skip('Pixel_OffscreenCanvasUnaccelerated2D', ['android']) 20 self.Skip('Pixel_OffscreenCanvasUnaccelerated2D', ['android'])
21 self.Skip('Pixel_OffscreenCanvasUnaccelerated2DWorker', ['android']) 21 self.Skip('Pixel_OffscreenCanvasUnaccelerated2DWorker', ['android'])
22 self.Skip('Pixel_OffscreenCanvasWebGLSoftwareCompositing', ['android']) 22 self.Skip('Pixel_OffscreenCanvasWebGLSoftwareCompositing', ['android'])
23 self.Skip('Pixel_OffscreenCanvasWebGLSoftwareCompositingWorker', 23 self.Skip('Pixel_OffscreenCanvasWebGLSoftwareCompositingWorker',
24 ['android']) 24 ['android'])
25 self.Skip('Pixel_CanvasDisplayLinearRGBUnaccelerated2D', ['android']) 25 self.Skip('Pixel_CanvasDisplayLinearRGBUnaccelerated2D', ['android'])
26 26
27 self.Fail('Pixel_ScissorTestWithPreserveDrawingBuffer', 27 self.Fail('Pixel_ScissorTestWithPreserveDrawingBuffer',
28 ['android'], bug=521588) 28 ['android'], bug=521588)
29 29
30 # TODO(xlai): Check / generate reference images.
31 self.Fail('Pixel_OffscreenCanvasTransferBeforeStyleResize',
32 bug=655335)
33 self.Fail('Pixel_OffscreenCanvasTransferAfterStyleResize',
34 bug=655335)
35
30 # TODO(ccameron) fix these on Mac Retina 36 # TODO(ccameron) fix these on Mac Retina
31 # self.Fail('Pixel_CSS3DBlueBox', ['mac'], bug=533690) 37 # self.Fail('Pixel_CSS3DBlueBox', ['mac'], bug=533690)
32 38
33 # TODO(jvanverth) remove once rebaselines are complete 39 # TODO(jvanverth) remove once rebaselines are complete
34 # restore Mac-only fail above when removed 40 # restore Mac-only fail above when removed
35 self.Fail('Pixel_CSS3DBlueBox', bug=673752) 41 self.Fail('Pixel_CSS3DBlueBox', bug=673752)
36 42
37 # TODO(vmiura) check / generate reference images for Android devices 43 # TODO(vmiura) check / generate reference images for Android devices
38 self.Fail('Pixel_SolidColorBackground', ['mac', 'android'], bug=624256) 44 self.Fail('Pixel_SolidColorBackground', ['mac', 'android'], bug=624256)
39 45
40 self.Fail('Pixel_OffscreenCanvasUnaccelerated2DGPUCompositingWorker', 46 self.Fail('Pixel_OffscreenCanvasUnaccelerated2DGPUCompositingWorker',
41 ['mac', ('nvidia', 0xfe9)], bug=652931) 47 ['mac', ('nvidia', 0xfe9)], bug=652931)
42 48
43 # TODO(kbr): flakily timing out on this configuration. 49 # TODO(kbr): flakily timing out on this configuration.
44 self.Flaky('*', ['linux', 'intel', 'debug'], bug=648369) 50 self.Flaky('*', ['linux', 'intel', 'debug'], bug=648369)
45 51
46 # Flaky for unknown reasons only on macOS. Not planning to investigate 52 # Flaky for unknown reasons only on macOS. Not planning to investigate
47 # further. 53 # further.
48 self.Flaky('Pixel_ScissorTestWithPreserveDrawingBuffer', ['mac'], 54 self.Flaky('Pixel_ScissorTestWithPreserveDrawingBuffer', ['mac'],
49 bug=660461) 55 bug=660461)
50 56
51 # TODO(kainino): remove this once golden images are generated 57 # TODO(kainino): remove this once golden images are generated
52 self.Fail('Pixel_WebGLTransparentGreenTriangle_NoAlpha_ImplicitClear', 58 self.Fail('Pixel_WebGLTransparentGreenTriangle_NoAlpha_ImplicitClear',
53 bug=666259) 59 bug=666259)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698