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

Unified Diff: content/test/gpu/gpu_tests/pixel_test_pages.py

Issue 2382883005: Implement OffscreenCanvas.commit() on Unaccelerated 2D on worker (Closed)
Patch Set: rebase Nits Created 4 years, 2 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/gpu_tests/pixel_test_pages.py
diff --git a/content/test/gpu/gpu_tests/pixel_test_pages.py b/content/test/gpu/gpu_tests/pixel_test_pages.py
index bf37ffa2b09d05d9a6db9cdd37e4182c143f013a..7834083281c192f402d1cd9b963db4b5aafc3bdd 100644
--- a/content/test/gpu/gpu_tests/pixel_test_pages.py
+++ b/content/test/gpu/gpu_tests/pixel_test_pages.py
@@ -133,6 +133,9 @@ def ES2AndES3Pages(base_name):
# Pages that should be run with experimental canvas features.
def ExperimentalCanvasFeaturesPages(base_name):
browser_args = ['--enable-experimental-canvas-features']
+ unaccelerated_args = [
+ '--disable-accelerated-2d-canvas',
+ '--disable-gpu-compositing']
return [
PixelTestPage(
@@ -182,9 +185,14 @@ def ExperimentalCanvasFeaturesPages(base_name):
base_name + '_OffscreenCanvasUnaccelerated2D',
test_rect=[0, 0, 350, 350],
revision=1,
- browser_args=browser_args + [
- '--disable-accelerated-2d-canvas',
- '--disable-gpu-compositing']),
+ browser_args=browser_args + unaccelerated_args),
+
+ PixelTestPage(
+ 'pixel_offscreenCanvas_2d_commit_worker.html',
+ base_name + '_OffscreenCanvasUnaccelerated2DWorker',
+ test_rect=[0, 0, 350, 350],
+ revision=1,
+ browser_args=browser_args + unaccelerated_args),
]

Powered by Google App Engine
This is Rietveld 408576698