OLD | NEW |
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(vmiura) check / generate reference images for Android devices | 39 # TODO(vmiura) check / generate reference images for Android devices |
34 self.Fail('Pixel_SolidColorBackground', ['mac', 'android'], bug=624256) | 40 self.Fail('Pixel_SolidColorBackground', ['mac', 'android'], bug=624256) |
35 | 41 |
36 self.Fail('Pixel_OffscreenCanvasUnaccelerated2DGPUCompositingWorker', | 42 self.Fail('Pixel_OffscreenCanvasUnaccelerated2DGPUCompositingWorker', |
37 ['mac', ('nvidia', 0xfe9)], bug=652931) | 43 ['mac', ('nvidia', 0xfe9)], bug=652931) |
38 | 44 |
39 # TODO(kbr): flakily timing out on this configuration. | 45 # TODO(kbr): flakily timing out on this configuration. |
(...skipping 12 matching lines...) Expand all Loading... |
52 self.Fail('Pixel_Canvas2DRedBox', ['mac'], bug=672999) | 58 self.Fail('Pixel_Canvas2DRedBox', ['mac'], bug=672999) |
53 self.Fail('Pixel_CanvasDisplayLinearRGBAccelerated2D', ['mac'], bug=672999) | 59 self.Fail('Pixel_CanvasDisplayLinearRGBAccelerated2D', ['mac'], bug=672999) |
54 self.Fail('Pixel_CanvasDisplayLinearRGBUnaccelerated2D', ['mac'], | 60 self.Fail('Pixel_CanvasDisplayLinearRGBUnaccelerated2D', ['mac'], |
55 bug=672999) | 61 bug=672999) |
56 self.Fail('Pixel_CanvasDisplayLinearRGBUnaccelerated2DGPUCompositing', | 62 self.Fail('Pixel_CanvasDisplayLinearRGBUnaccelerated2DGPUCompositing', |
57 ['mac'], bug=672999) | 63 ['mac'], bug=672999) |
58 self.Fail('Pixel_IOSurface2DCanvas', ['mac'], bug=672999) | 64 self.Fail('Pixel_IOSurface2DCanvas', ['mac'], bug=672999) |
59 self.Fail('Pixel_OffscreenCanvasTransferToImageBitmapWorker', ['mac'], | 65 self.Fail('Pixel_OffscreenCanvasTransferToImageBitmapWorker', ['mac'], |
60 bug=672999) | 66 bug=672999) |
61 self.Fail('Pixel_WebGLGreenTriangle_NoAA_NoAlpha', ['mac'], bug=672999) | 67 self.Fail('Pixel_WebGLGreenTriangle_NoAA_NoAlpha', ['mac'], bug=672999) |
| 68 |
| 69 |
OLD | NEW |