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 telemetry.story import story_set as story_set_module | 5 from telemetry.story import story_set as story_set_module |
6 | 6 |
7 import sys | 7 import sys |
8 | 8 |
9 from gpu_tests import gpu_test_base | 9 from gpu_tests import gpu_test_base |
10 | 10 |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 self.AddStory(PixelTestsPage( | 177 self.AddStory(PixelTestsPage( |
178 url='file://../../data/gpu/pixel_offscreenCanvas_webgl_commit_main.html', | 178 url='file://../../data/gpu/pixel_offscreenCanvas_webgl_commit_main.html', |
179 name=base_name + '.OffscreenCanvasWebGLGreenBox' + es3_suffix, | 179 name=base_name + '.OffscreenCanvasWebGLGreenBox' + es3_suffix, |
180 test_rect=[0, 0, 300, 300], | 180 test_rect=[0, 0, 300, 300], |
181 revision=1, | 181 revision=1, |
182 story_set=self, | 182 story_set=self, |
183 shared_page_state_class=EnableExperimentalCanvasFeaturesSharedPageState, | 183 shared_page_state_class=EnableExperimentalCanvasFeaturesSharedPageState, |
184 expectations=expectations)) | 184 expectations=expectations)) |
185 | 185 |
186 self.AddStory(PixelTestsPage( | 186 self.AddStory(PixelTestsPage( |
| 187 url='file://../../data/gpu/pixel_acceleratedOffscreen2d_commit_main.html', |
| 188 name=base_name + '.OffscreenCanvasAccelerated2D' + es3_suffix, |
| 189 test_rect=[0, 0, 350, 350], |
| 190 revision=1, |
| 191 story_set=self, |
| 192 shared_page_state_class=EnableExperimentalCanvasFeaturesSharedPageState, |
| 193 expectations=expectations)) |
| 194 |
| 195 self.AddStory(PixelTestsPage( |
| 196 url='file://../../data/gpu/pixel_acceleratedOffscreen2d_commit_worker.html
', |
| 197 name=base_name + '.OffscreenCanvasAccelerated2DWorker' + es3_suffix, |
| 198 test_rect=[0, 0, 350, 350], |
| 199 revision=1, |
| 200 story_set=self, |
| 201 shared_page_state_class=EnableExperimentalCanvasFeaturesSharedPageState, |
| 202 expectations=expectations)) |
| 203 |
| 204 self.AddStory(PixelTestsPage( |
187 url='file://../../data/gpu/pixel_canvas2d.html', | 205 url='file://../../data/gpu/pixel_canvas2d.html', |
188 name=base_name + '.Canvas2DRedBox' + es3_suffix, | 206 name=base_name + '.Canvas2DRedBox' + es3_suffix, |
189 test_rect=[0, 0, 300, 300], | 207 test_rect=[0, 0, 300, 300], |
190 revision=7, | 208 revision=7, |
191 story_set=self, | 209 story_set=self, |
192 shared_page_state_class=shared_page_state_class, | 210 shared_page_state_class=shared_page_state_class, |
193 expectations=expectations)) | 211 expectations=expectations)) |
194 | 212 |
195 self.AddStory(PixelTestsPage( | 213 self.AddStory(PixelTestsPage( |
196 url='file://../../data/gpu/pixel_css3d.html', | 214 url='file://../../data/gpu/pixel_css3d.html', |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 story_set=self, | 282 story_set=self, |
265 shared_page_state_class=shared_page_state_class, | 283 shared_page_state_class=shared_page_state_class, |
266 expectations=expectations)) | 284 expectations=expectations)) |
267 | 285 |
268 @property | 286 @property |
269 def allow_mixed_story_states(self): | 287 def allow_mixed_story_states(self): |
270 # Return True here in order to be able to add the same tests with | 288 # Return True here in order to be able to add the same tests with |
271 # a different SharedPageState on Mac which tests them with the | 289 # a different SharedPageState on Mac which tests them with the |
272 # Core Profile rendering path. | 290 # Core Profile rendering path. |
273 return True | 291 return True |
OLD | NEW |