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

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

Issue 2451383003: Rebaseline 2DCanvasWebGL pixel test (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 revision=0, # This is not used. 292 revision=0, # This is not used.
293 story_set=self, 293 story_set=self,
294 shared_page_state_class=shared_page_state_class, 294 shared_page_state_class=shared_page_state_class,
295 expectations=expectations, 295 expectations=expectations,
296 expected_colors='../../data/gpu/pixel_scissor_expectations.json')) 296 expected_colors='../../data/gpu/pixel_scissor_expectations.json'))
297 297
298 self.AddStory(PixelTestsPage( 298 self.AddStory(PixelTestsPage(
299 url='file://../../data/gpu/pixel_canvas2d_webgl.html', 299 url='file://../../data/gpu/pixel_canvas2d_webgl.html',
300 name=base_name + '.2DCanvasWebGL' + es3_suffix, 300 name=base_name + '.2DCanvasWebGL' + es3_suffix,
301 test_rect=[0, 0, 300, 300], 301 test_rect=[0, 0, 300, 300],
302 revision=2, 302 revision=3,
303 story_set=self, 303 story_set=self,
304 shared_page_state_class=shared_page_state_class, 304 shared_page_state_class=shared_page_state_class,
305 expectations=expectations)) 305 expectations=expectations))
306 306
307 self.AddStory(PixelTestsPage( 307 self.AddStory(PixelTestsPage(
308 url='file://../../data/gpu/pixel_background.html', 308 url='file://../../data/gpu/pixel_background.html',
309 name=base_name + '.SolidColorBackground' + es3_suffix, 309 name=base_name + '.SolidColorBackground' + es3_suffix,
310 test_rect=[500, 500, 100, 100], 310 test_rect=[500, 500, 100, 100],
311 revision=1, 311 revision=1,
312 story_set=self, 312 story_set=self,
313 shared_page_state_class=shared_page_state_class, 313 shared_page_state_class=shared_page_state_class,
314 expectations=expectations)) 314 expectations=expectations))
315 315
316 @property 316 @property
317 def allow_mixed_story_states(self): 317 def allow_mixed_story_states(self):
318 # Return True here in order to be able to add the same tests with 318 # Return True here in order to be able to add the same tests with
319 # a different SharedPageState on Mac which tests them with the 319 # a different SharedPageState on Mac which tests them with the
320 # Core Profile rendering path. 320 # Core Profile rendering path.
321 return True 321 return True
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698