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

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

Issue 2448583002: Adding browser pixel test for linear-rgb support in Canvas. (Closed)
Patch Set: Addressing comments. 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 17e6addd4b38d2edea297080356dbaf23331d32f..563026200074baca58a34683d24f385e439b5192 100644
--- a/content/test/gpu/gpu_tests/pixel_test_pages.py
+++ b/content/test/gpu/gpu_tests/pixel_test_pages.py
@@ -221,7 +221,28 @@ def ExperimentalCanvasFeaturesPages(base_name):
test_rect=[0, 0, 300, 300],
revision=3,
browser_args=browser_args + ['--disable-accelerated-2d-canvas']),
- ]
+
+ PixelTestPage(
+ 'pixel_canvas_display_linear-rgb.html',
+ base_name + '_CanvasDisplayLinearRGBAccelerated2D',
+ test_rect=[0, 0, 100, 100],
xidachen 2016/10/25 00:58:35 The canvas size is now 140, so this test_rect need
zakerinasab 2016/10/25 14:12:48 Done.
+ revision=1,
+ browser_args=browser_args),
+
+ PixelTestPage(
+ 'pixel_canvas_display_linear-rgb.html',
+ base_name + '_CanvasDisplayLinearRGBUnaccelerated2D',
+ test_rect=[0, 0, 100, 100],
+ revision=1,
+ browser_args=browser_args + unaccelerated_args),
+
+ PixelTestPage(
+ 'pixel_canvas_display_linear-rgb.html',
+ base_name + '_CanvasDisplayLinearRGBUnaccelerated2DGPUCompositing',
+ test_rect=[0, 0, 100, 100],
+ revision=1,
+ browser_args=browser_args + ['--disable-accelerated-2d-canvas']),
+]
# Pages that should be run with various macOS specific command line

Powered by Google App Engine
This is Rietveld 408576698