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

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

Issue 2588053003: Make OffscreenCanvas resizable (Closed)
Patch Set: fix 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 # Software compositing is not supported on Android; so we skip these tests 15 # Software compositing is not supported on Android; so we skip these tests
16 # that disables gpu compositing on Android platforms. 16 # that disables gpu compositing on Android platforms.
17 self.Skip('Pixel_OffscreenCanvasUnaccelerated2D', ['android']) 17 self.Skip('Pixel_OffscreenCanvasUnaccelerated2D', ['android'])
18 self.Skip('Pixel_OffscreenCanvasUnaccelerated2DWorker', ['android']) 18 self.Skip('Pixel_OffscreenCanvasUnaccelerated2DWorker', ['android'])
19 self.Skip('Pixel_OffscreenCanvasWebGLSoftwareCompositing', ['android']) 19 self.Skip('Pixel_OffscreenCanvasWebGLSoftwareCompositing', ['android'])
20 self.Skip('Pixel_OffscreenCanvasWebGLSoftwareCompositingWorker', 20 self.Skip('Pixel_OffscreenCanvasWebGLSoftwareCompositingWorker',
21 ['android']) 21 ['android'])
22 self.Skip('Pixel_CanvasDisplayLinearRGBUnaccelerated2D', ['android']) 22 self.Skip('Pixel_CanvasDisplayLinearRGBUnaccelerated2D', ['android'])
23 23
24 self.Fail('Pixel_ScissorTestWithPreserveDrawingBuffer', 24 self.Fail('Pixel_ScissorTestWithPreserveDrawingBuffer',
25 ['android'], bug=521588) 25 ['android'], bug=521588)
26 26
27 # TODO(xlai): Check / generate reference images.
28 self.Fail('Pixel_OffscreenCanvas2DResizeOnWorker', bug=662498)
29 self.Fail('Pixel_OffscreenCanvasWebglResizeOnWorker', bug=662498)
30
27 # TODO(ccameron) fix these on Mac Retina 31 # TODO(ccameron) fix these on Mac Retina
28 # self.Fail('Pixel_CSS3DBlueBox', ['mac'], bug=533690) 32 # self.Fail('Pixel_CSS3DBlueBox', ['mac'], bug=533690)
29 33
30 # TODO(jvanverth) remove once rebaselines are complete 34 # TODO(jvanverth) remove once rebaselines are complete
31 # restore Mac-only fail above when removed 35 # restore Mac-only fail above when removed
32 self.Fail('Pixel_CSS3DBlueBox', bug=673752) 36 self.Fail('Pixel_CSS3DBlueBox', bug=673752)
33 37
34 # TODO(vmiura) check / generate reference images for Android devices 38 # TODO(vmiura) check / generate reference images for Android devices
35 self.Fail('Pixel_SolidColorBackground', ['mac', 'android'], bug=624256) 39 self.Fail('Pixel_SolidColorBackground', ['mac', 'android'], bug=624256)
36 40
37 self.Fail('Pixel_OffscreenCanvasUnaccelerated2DGPUCompositingWorker', 41 self.Fail('Pixel_OffscreenCanvasUnaccelerated2DGPUCompositingWorker',
38 ['mac', ('nvidia', 0xfe9)], bug=652931) 42 ['mac', ('nvidia', 0xfe9)], bug=652931)
39 43
40 # TODO(kbr): flakily timing out on this configuration. 44 # TODO(kbr): flakily timing out on this configuration.
41 self.Flaky('*', ['linux', 'intel', 'debug'], bug=648369) 45 self.Flaky('*', ['linux', 'intel', 'debug'], bug=648369)
42 46
43 # Flaky for unknown reasons only on macOS. Not planning to investigate 47 # Flaky for unknown reasons only on macOS. Not planning to investigate
44 # further. 48 # further.
45 self.Flaky('Pixel_ScissorTestWithPreserveDrawingBuffer', ['mac'], 49 self.Flaky('Pixel_ScissorTestWithPreserveDrawingBuffer', ['mac'],
46 bug=660461) 50 bug=660461)
47 51
48 # TODO(kainino): remove this once golden images are generated 52 # TODO(kainino): remove this once golden images are generated
49 self.Fail('Pixel_WebGLTransparentGreenTriangle_NoAlpha_ImplicitClear', 53 self.Fail('Pixel_WebGLTransparentGreenTriangle_NoAlpha_ImplicitClear',
50 bug=666259) 54 bug=666259)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698