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 520629d2fbca70cfd66eac3f54d18d01d2feb1b6..53cab6c42d571f4fd7548629081fa64c0e3439cd 100644 |
--- a/content/test/gpu/gpu_tests/pixel_test_pages.py |
+++ b/content/test/gpu/gpu_tests/pixel_test_pages.py |
@@ -164,20 +164,37 @@ def ExperimentalCanvasFeaturesPages(base_name): |
browser_args=browser_args), |
PixelTestPage( |
- 'pixel_acceleratedOffscreen2d_commit_main.html', |
+ 'pixel_offscreenCanvas_2d_commit_main.html', |
base_name + '_OffscreenCanvasAccelerated2D', |
test_rect=[0, 0, 350, 350], |
revision=1, |
browser_args=browser_args), |
PixelTestPage( |
- 'pixel_acceleratedOffscreen2d_commit_worker.html', |
+ 'pixel_offscreenCanvas_2d_commit_worker.html', |
base_name + '_OffscreenCanvasAccelerated2DWorker', |
test_rect=[0, 0, 350, 350], |
revision=1, |
browser_args=browser_args), |
] |
+# Pages that should be run with software compositing path and |
+# experimental canvas features |
+def SoftwareOffscreenCanvas2dPages(base_name): |
+ browser_args = [ |
+ '--enable-experimental-canvas-features', |
+ '--disable-accelerated-2d-canvas', |
+ '--disable-gpu-compositing'] |
+ |
+ return [ |
+ PixelTestPage( |
Ken Russell (switch to Gerrit)
2016/09/30 20:00:45
Could you just add this to the above ExperimentalC
|
+ 'pixel_offscreenCanvas_2d_commit_main.html', |
+ base_name + '_OffscreenCanvasUnaccelerated2D', |
+ test_rect=[0, 0, 350, 350], |
+ revision=1, |
+ browser_args=browser_args), |
+ ] |
+ |
# Pages that should be run with various macOS specific command line |
# arguments. |
def MacSpecificPages(base_name): |