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

Side by Side Diff: content/test/gpu/page_sets/pixel_tests.py

Issue 2359723003: Implement OffscreenCanvas Accelerated 2D commit() (Closed)
Patch Set: Fix rebase error Created 4 years, 3 months 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 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 self.AddStory(PixelTestsPage( 186 self.AddStory(PixelTestsPage(
187 url='file://../../data/gpu/pixel_offscreenCanvas_webgl_commit_worker.html' , 187 url='file://../../data/gpu/pixel_offscreenCanvas_webgl_commit_worker.html' ,
188 name=base_name + '.OffscreenCanvasWebGLRedBoxWorker' + es3_suffix, 188 name=base_name + '.OffscreenCanvasWebGLRedBoxWorker' + es3_suffix,
189 test_rect=[0, 0, 300, 300], 189 test_rect=[0, 0, 300, 300],
190 revision=2, 190 revision=2,
191 story_set=self, 191 story_set=self,
192 shared_page_state_class=EnableExperimentalCanvasFeaturesSharedPageState, 192 shared_page_state_class=EnableExperimentalCanvasFeaturesSharedPageState,
193 expectations=expectations)) 193 expectations=expectations))
194 194
195 self.AddStory(PixelTestsPage( 195 self.AddStory(PixelTestsPage(
196 url='file://../../data/gpu/pixel_acceleratedOffscreen2d_commit_main.html',
197 name=base_name + '.OffscreenCanvasAccelerated2D' + 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(
205 url='file://../../data/gpu/pixel_acceleratedOffscreen2d_commit_worker.html ',
206 name=base_name + '.OffscreenCanvasAccelerated2DWorker' + es3_suffix,
207 test_rect=[0, 0, 350, 350],
208 revision=1,
209 story_set=self,
210 shared_page_state_class=EnableExperimentalCanvasFeaturesSharedPageState,
211 expectations=expectations))
212
213 self.AddStory(PixelTestsPage(
196 url='file://../../data/gpu/pixel_canvas2d.html', 214 url='file://../../data/gpu/pixel_canvas2d.html',
197 name=base_name + '.Canvas2DRedBox' + es3_suffix, 215 name=base_name + '.Canvas2DRedBox' + es3_suffix,
198 test_rect=[0, 0, 300, 300], 216 test_rect=[0, 0, 300, 300],
199 revision=7, 217 revision=7,
200 story_set=self, 218 story_set=self,
201 shared_page_state_class=shared_page_state_class, 219 shared_page_state_class=shared_page_state_class,
202 expectations=expectations)) 220 expectations=expectations))
203 221
204 self.AddStory(PixelTestsPage( 222 self.AddStory(PixelTestsPage(
205 url='file://../../data/gpu/pixel_css3d.html', 223 url='file://../../data/gpu/pixel_css3d.html',
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 story_set=self, 291 story_set=self,
274 shared_page_state_class=shared_page_state_class, 292 shared_page_state_class=shared_page_state_class,
275 expectations=expectations)) 293 expectations=expectations))
276 294
277 @property 295 @property
278 def allow_mixed_story_states(self): 296 def allow_mixed_story_states(self):
279 # Return True here in order to be able to add the same tests with 297 # Return True here in order to be able to add the same tests with
280 # a different SharedPageState on Mac which tests them with the 298 # a different SharedPageState on Mac which tests them with the
281 # Core Profile rendering path. 299 # Core Profile rendering path.
282 return True 300 return True
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698