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

Unified Diff: content/test/gpu/page_sets/pixel_tests.py

Issue 1805673003: Re-enable IOSurface Canvas2D. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp94_texture_size
Patch Set: Comments from kbr. Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: content/test/gpu/page_sets/pixel_tests.py
diff --git a/content/test/gpu/page_sets/pixel_tests.py b/content/test/gpu/page_sets/pixel_tests.py
index 4b1d3f185e3df19f923900f3b22c8663a5513a8c..3be192aa3afd2a75a077dac7ba4d115a4543357e 100644
--- a/content/test/gpu/page_sets/pixel_tests.py
+++ b/content/test/gpu/page_sets/pixel_tests.py
@@ -71,6 +71,14 @@ class PixelTestsStorySet(story_set_module.StorySet):
story_set=self,
shared_page_state_class=IOSurface2DCanvasSharedPageState,
expectations=expectations))
+ self.AddStory(PixelTestsPage(
+ url='file://../../data/gpu/pixel_canvas2d_webgl.html',
+ name=base_name + '.IOSurface2DCanvasWebGL',
+ test_rect=[0, 0, 400, 400],
+ revision=1,
+ story_set=self,
+ shared_page_state_class=IOSurface2DCanvasSharedPageState,
+ expectations=expectations))
def _AddAllPages(self, expectations, base_name, use_es3):
if use_es3:
@@ -117,6 +125,15 @@ class PixelTestsStorySet(story_set_module.StorySet):
expectations=expectations,
expected_colors='../../data/gpu/pixel_scissor_expectations.json'))
+ self.AddStory(PixelTestsPage(
+ url='file://../../data/gpu/pixel_canvas2d_webgl.html',
+ name=base_name + '.2DCanvasWebGL',
+ test_rect=[0, 0, 400, 400],
+ revision=1,
+ story_set=self,
+ shared_page_state_class=shared_page_state_class,
+ expectations=expectations))
+
@property
def allow_mixed_story_states(self):
# Return True here in order to be able to add the same tests with
« no previous file with comments | « content/test/gpu/gpu_tests/pixel_expectations.py ('k') | third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698