Removing uses of X11 native key events.
[chromium-blink-merge.git] / content / test / gpu / gpu_tests / webgl_conformance_expectations.py
blob7d08b68fc2a65460c5adec9bd7052f2b712a756a
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 from telemetry.page import test_expectations
7 # Valid expectation conditions are:
9 # Operating systems:
10 # win, xp, vista, win7, mac, leopard, snowleopard, lion, mountainlion,
11 # linux, chromeos, android
13 # GPU vendors:
14 # amd, arm, broadcom, hisilicon, intel, imagination, nvidia, qualcomm,
15 # vivante
17 # Specific GPUs can be listed as a tuple with vendor name and device ID.
18 # Examples: ('nvidia', 0x1234), ('arm', 'Mali-T604')
19 # Device IDs must be paired with a GPU vendor.
21 class WebGLConformanceExpectations(test_expectations.TestExpectations):
22 def SetExpectations(self):
23 # Sample Usage:
24 # self.Fail('gl-enable-vertex-attrib.html',
25 # ['mac', 'amd', ('nvidia', 0x1234)], bug=123)
27 # Fails on all platforms
28 self.Fail('conformance/glsl/misc/shaders-with-uniform-structs.html',
29 bug=351396)
31 # Flaky on Win
32 self.Fail('conformance/extensions/webgl-draw-buffers.html',
33 ['win'], bug=369349)
35 # Win failures
36 self.Fail('conformance/glsl/misc/struct-equals.html',
37 ['win'], bug=391957)
38 self.Fail('conformance/glsl/bugs/conditional-discard-in-loop.html',
39 ['win'], bug=402195)
40 self.Fail('conformance/attribs/gl-bindAttribLocation-matrix.html',
41 ['win'], bug=415688)
43 # Win7 / Intel failures
44 self.Fail('conformance/rendering/gl-scissor-test.html',
45 ['win7', 'intel'], bug=314997)
46 self.Fail('conformance/context/premultiplyalpha-test.html',
47 ['win7', 'intel'])
48 self.Fail('conformance/textures/copy-tex-image-and-sub-image-2d.html',
49 ['win7', 'intel'])
50 self.Fail('conformance/rendering/gl-viewport-test.html',
51 ['win7', 'intel'], bug=372511)
52 self.Fail('conformance/glsl/misc/shader-with-array-of-structs-uniform.html',
53 ['win7', 'intel', 'nvidia'], bug=373972)
55 # Mac / Intel failures
56 # Radar 13499466
57 self.Fail('conformance/limits/gl-max-texture-dimensions.html',
58 ['mac', 'intel'], bug=225642)
59 # Radar 13499623
60 self.Fail('conformance/textures/texture-size.html',
61 ['mac', 'intel'], bug=225642)
63 # Mac / Intel HD 3000 failures
64 self.Skip('conformance/ogles/GL/control_flow/control_flow_009_to_010.html',
65 ['mac', ('intel', 0x116)], bug=322795)
66 # Radar 13499677
67 self.Fail('conformance/glsl/functions/' +
68 'glsl-function-smoothstep-gentype.html',
69 ['mac', ('intel', 0x116)], bug=225642)
70 self.Fail('conformance/extensions/webgl-draw-buffers.html',
71 ['mac', ('intel', 0x116)], bug=369349)
73 # Mac 10.8 / Intel HD 3000 failures
74 self.Fail('conformance/rendering/gl-scissor-test.html',
75 ['mountainlion', ('intel', 0x116)], bug=314997)
76 self.Fail('conformance/ogles/GL/operators/operators_009_to_016.html',
77 ['mountainlion', ('intel', 0x116)], bug=322795)
79 # Mac Retina failures
80 self.Fail(
81 'conformance/glsl/bugs/array-of-struct-with-int-first-position.html',
82 ['mac', ('nvidia', 0xfd5), ('nvidia', 0xfe9)], bug=368912)
84 # Mac 10.8 / ATI failures
85 self.Fail(
86 'conformance/rendering/' +
87 'point-with-gl-pointcoord-in-fragment-shader.html',
88 ['mountainlion', 'amd'])
90 # Mac 10.7 / Intel failures
91 self.Skip('conformance/glsl/functions/glsl-function-asin.html',
92 ['lion', 'intel'])
93 self.Skip('conformance/glsl/functions/glsl-function-dot.html',
94 ['lion', 'intel'])
95 self.Skip('conformance/glsl/functions/glsl-function-faceforward.html',
96 ['lion', 'intel'])
97 self.Skip('conformance/glsl/functions/glsl-function-length.html',
98 ['lion', 'intel'])
99 self.Skip('conformance/glsl/functions/glsl-function-normalize.html',
100 ['lion', 'intel'])
101 self.Skip('conformance/glsl/functions/glsl-function-reflect.html',
102 ['lion', 'intel'])
103 self.Skip('conformance/rendering/line-loop-tri-fan.html',
104 ['lion', 'intel'])
105 self.Skip('conformance/ogles/GL/control_flow/control_flow_001_to_008.html',
106 ['lion', 'intel'], bug=345575)
107 self.Skip('conformance/ogles/GL/dot/dot_001_to_006.html',
108 ['lion', 'intel'], bug=323736)
109 self.Skip('conformance/ogles/GL/faceforward/faceforward_001_to_006.html',
110 ['lion', 'intel'], bug=323736)
111 self.Skip('conformance/ogles/GL/length/length_001_to_006.html',
112 ['lion', 'intel'], bug=323736)
113 self.Skip('conformance/ogles/GL/normalize/normalize_001_to_006.html',
114 ['lion', 'intel'], bug=323736)
115 self.Skip('conformance/ogles/GL/reflect/reflect_001_to_006.html',
116 ['lion', 'intel'], bug=323736)
117 self.Skip('conformance/ogles/GL/refract/refract_001_to_006.html',
118 ['lion', 'intel'], bug=323736)
119 self.Skip('conformance/ogles/GL/tan/tan_001_to_006.html',
120 ['lion', 'intel'], bug=323736)
121 # Two flaky tests.
122 self.Fail('conformance/ogles/GL/functions/functions_049_to_056.html',
123 ['lion', 'intel'], bug=393331)
124 self.Fail('conformance/extensions/webgl-compressed-texture-size-limit.html',
125 ['lion', 'intel'], bug=393331)
127 # Android failures
128 # The following test is very slow and therefore times out on Android bot.
129 self.Skip('conformance/rendering/multisample-corruption.html',
130 ['android'])
131 # The following test times out on Android bot.
132 self.Fail('conformance/uniforms/gl-uniform-arrays.html',
133 ['android'], bug=369300)
134 self.Fail('conformance/glsl/misc/empty_main.vert.html',
135 ['android'], bug=315976)
136 self.Fail('conformance/glsl/misc/gl_position_unset.vert.html',
137 ['android'], bug=315976)
138 # The following tests are disabled due to security issues.
139 self.Fail('conformance/textures/tex-image-and-sub-image-2d-with-video.html',
140 ['android'], bug=334204)
141 self.Fail('conformance/textures/' +
142 'tex-image-and-sub-image-2d-with-video-rgb565.html',
143 ['android'], bug=334204)
144 self.Fail('conformance/textures/' +
145 'tex-image-and-sub-image-2d-with-video-rgba4444.html',
146 ['android'], bug=334204)
147 self.Fail('conformance/textures/' +
148 'tex-image-and-sub-image-2d-with-video-rgba5551.html',
149 ['android'], bug=334204)
150 self.Fail('conformance/textures/texture-npot-video.html',
151 ['android'], bug=334204)
153 # ChromeOS: affecting all devices.
154 self.Fail('conformance/extensions/webgl-depth-texture.html',
155 ['chromeos'], bug=382651)
157 # ChromeOS: all Intel except for pinetrail (stumpy, parrot, peppy,...)
158 # We will just include pinetrail here for now as we don't want to list
159 # every single Intel device ID.
160 self.Fail('conformance/glsl/misc/empty_main.vert.html',
161 ['chromeos', 'intel'], bug=375556)
162 self.Fail('conformance/glsl/misc/gl_position_unset.vert.html',
163 ['chromeos', 'intel'], bug=375556)
164 self.Fail('conformance/glsl/misc/shaders-with-varyings.html',
165 ['chromeos', 'intel'], bug=375556)
166 self.Fail('conformance/renderbuffers/framebuffer-object-attachment.html',
167 ['chromeos', 'intel'], bug=375556)
168 self.Fail('conformance/textures/texture-size-limit.html',
169 ['chromeos', 'intel'], bug=385361)
171 # ChromeOS: pinetrail (alex, mario, zgb).
172 self.Fail('conformance/attribs/gl-vertex-attrib-render.html',
173 ['chromeos', ('intel', 0xa011)], bug=375554)
174 self.Fail('conformance/glsl/functions/glsl-function-atan-xy.html',
175 ['chromeos', ('intel', 0xa011)], bug=375554)
176 self.Fail('conformance/glsl/functions/glsl-function-cos.html',
177 ['chromeos', ('intel', 0xa011)], bug=375554)
178 self.Fail('conformance/glsl/functions/glsl-function-sin.html',
179 ['chromeos', ('intel', 0xa011)], bug=375554)
180 self.Fail('conformance/glsl/misc/empty_main.vert.html',
181 ['chromeos', ('intel', 0xa011)], bug=375554)
182 self.Fail('conformance/glsl/misc/gl_position_unset.vert.html',
183 ['chromeos', ('intel', 0xa011)], bug=375554)
184 self.Fail('conformance/glsl/misc/shaders-with-varyings.html',
185 ['chromeos', ('intel', 0xa011)], bug=375554)
186 self.Fail('conformance/glsl/variables/gl-frontfacing.html',
187 ['chromeos', ('intel', 0xa011)], bug=375554)
188 self.Fail('conformance/limits/gl-max-texture-dimensions.html',
189 ['chromeos', ('intel', 0xa011)], bug=375554)
190 self.Fail('conformance/ogles/GL/acos/acos_001_to_006.html',
191 ['chromeos', ('intel', 0xa011)], bug=375554)
192 self.Fail('conformance/ogles/GL/asin/asin_001_to_006.html',
193 ['chromeos', ('intel', 0xa011)], bug=375554)
194 self.Fail('conformance/ogles/GL/atan/atan_001_to_008.html',
195 ['chromeos', ('intel', 0xa011)], bug=375554)
196 self.Fail('conformance/ogles/GL/build/build_009_to_016.html',
197 ['chromeos', ('intel', 0xa011)], bug=378938)
198 self.Fail('conformance/ogles/GL/control_flow/control_flow_001_to_008.html',
199 ['chromeos', ('intel', 0xa011)], bug=375554)
200 self.Fail('conformance/ogles/GL/cos/cos_001_to_006.html',
201 ['chromeos', ('intel', 0xa011)], bug=375554)
202 self.Fail('conformance/ogles/GL/discard/discard_001_to_002.html',
203 ['chromeos', ('intel', 0xa011)], bug=375554)
204 self.Fail('conformance/ogles/GL/functions/functions_001_to_008.html',
205 ['chromeos', ('intel', 0xa011)], bug=375554)
206 self.Fail('conformance/ogles/GL/functions/functions_065_to_072.html',
207 ['chromeos', ('intel', 0xa011)], bug=375554)
208 self.Fail('conformance/ogles/GL/functions/functions_081_to_088.html',
209 ['chromeos', ('intel', 0xa011)], bug=375554)
210 self.Fail('conformance/ogles/GL/functions/functions_097_to_104.html',
211 ['chromeos', ('intel', 0xa011)], bug=375554)
212 self.Fail('conformance/ogles/GL/functions/functions_105_to_112.html',
213 ['chromeos', ('intel', 0xa011)], bug=375554)
214 self.Fail('conformance/ogles/GL/functions/functions_113_to_120.html',
215 ['chromeos', ('intel', 0xa011)], bug=375554)
216 self.Fail('conformance/ogles/GL/functions/functions_121_to_126.html',
217 ['chromeos', ('intel', 0xa011)], bug=375554)
218 self.Fail(
219 'conformance/ogles/GL/gl_FrontFacing/gl_FrontFacing_001_to_001.html',
220 ['chromeos', ('intel', 0xa011)], bug=375554)
221 self.Fail('conformance/ogles/GL/log/log_001_to_008.html',
222 ['chromeos', ('intel', 0xa011)], bug=375554)
223 self.Fail('conformance/ogles/GL/log2/log2_001_to_008.html',
224 ['chromeos', ('intel', 0xa011)], bug=375554)
225 self.Fail('conformance/ogles/GL/normalize/normalize_001_to_006.html',
226 ['chromeos', ('intel', 0xa011)], bug=375554)
227 self.Fail('conformance/ogles/GL/sin/sin_001_to_006.html',
228 ['chromeos', ('intel', 0xa011)], bug=375554)
229 self.Fail('conformance/rendering/point-size.html',
230 ['chromeos', ('intel', 0xa011)], bug=375554)
231 self.Fail('conformance/rendering/polygon-offset.html',
232 ['chromeos', ('intel', 0xa011)], bug=375554)
233 self.Fail('conformance/textures/texture-mips.html',
234 ['chromeos', ('intel', 0xa011)], bug=375554)
235 self.Fail('conformance/textures/texture-npot.html',
236 ['chromeos', ('intel', 0xa011)], bug=375554)
237 self.Fail('conformance/textures/texture-npot-video.html',
238 ['chromeos', ('intel', 0xa011)], bug=375554)
239 self.Fail('conformance/textures/texture-size.html',
240 ['chromeos', ('intel', 0xa011)], bug=375554)
241 self.Fail('conformance/textures/texture-size-limit.html',
242 ['chromeos', ('intel', 0xa011)], bug=375554)
243 self.Fail('conformance/uniforms/gl-uniform-arrays.html',
244 ['chromeos', ('intel', 0xa011)], bug=375554)
245 self.Skip('conformance/uniforms/uniform-default-values.html',
246 ['chromeos', ('intel', 0xa011)], bug=375554)