Title: [289378] trunk
Revision
289378
Author
[email protected]
Date
2022-02-08 08:55:48 -0800 (Tue, 08 Feb 2022)

Log Message

Enable GPU Process for WebGL by default on iOS
https://bugs.webkit.org/show_bug.cgi?id=236218

Reviewed by Kimmo Kinnunen.

Tools:

* WebKitTestRunner/TestOptions.cpp: Add new static representing whether full GPU Process is enabled.
(WTR::TestOptions::defaults):

LayoutTests:

* platform/ios-simulator/TestExpectations: read-pixels-test.html is no longer slow.
* platform/ios-wk2/TestExpectations:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (289377 => 289378)


--- trunk/LayoutTests/ChangeLog	2022-02-08 16:23:16 UTC (rev 289377)
+++ trunk/LayoutTests/ChangeLog	2022-02-08 16:55:48 UTC (rev 289378)
@@ -1,3 +1,13 @@
+2022-02-08  Jon Lee  <[email protected]>
+
+        Enable GPU Process for WebGL by default on iOS
+        https://bugs.webkit.org/show_bug.cgi?id=236218
+
+        Reviewed by Kimmo Kinnunen.
+
+        * platform/ios-simulator/TestExpectations: read-pixels-test.html is no longer slow.
+        * platform/ios-wk2/TestExpectations:
+
 2022-02-08  Matt Woodrow  <[email protected]>
 
         Return 'none' for the computed style of mask when there are no mask images

Modified: trunk/LayoutTests/platform/ios-simulator/TestExpectations (289377 => 289378)


--- trunk/LayoutTests/platform/ios-simulator/TestExpectations	2022-02-08 16:23:16 UTC (rev 289377)
+++ trunk/LayoutTests/platform/ios-simulator/TestExpectations	2022-02-08 16:55:48 UTC (rev 289378)
@@ -105,7 +105,6 @@
 
 # A sub-test in this test is extremely flaky and fails most of the time, messing up partial-failure expectations
 webkit.org/b/189686 webgl/2.0.0/conformance2/renderbuffers/multisampled-renderbuffer-initialization.html [ Skip ]
-webkit.org/b/189686 webgl/2.0.0/conformance/reading/read-pixels-test.html [ Slow ]
 # Crashes
 webkit.org/b/189686 webgl/2.0.0/conformance2/buffers/one-large-uniform-buffer.html [ Skip ]
 

Modified: trunk/LayoutTests/platform/ios-wk2/TestExpectations (289377 => 289378)


--- trunk/LayoutTests/platform/ios-wk2/TestExpectations	2022-02-08 16:23:16 UTC (rev 289377)
+++ trunk/LayoutTests/platform/ios-wk2/TestExpectations	2022-02-08 16:55:48 UTC (rev 289378)
@@ -2206,4 +2206,16 @@
 # webkit.org/b/234410 Multiple semantics web-platform-tests have become flaky after r286944
 imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_anchor_download_allow_downloads.tentative.html [ DumpJSConsoleLogInStdErr Pass Failure ]
 imported/w3c/web-platform-tests/html/semantics/text-level-semantics/the-a-element/a-download-click-404.html [ Pass Failure ]
-http/wpt/html/semantics/text-level-semantics/the-a-element/a-download-click-404.html [ Pass Failure ]
\ No newline at end of file
+http/wpt/html/semantics/text-level-semantics/the-a-element/a-download-click-404.html [ Pass Failure ]
+
+# Test failures from turning GPU Process on by default
+webkit.org/b/234536 webgl/2.0.0/conformance/reading/read-pixels-test.html
+webkit.org/b/234536 webgl/many-contexts-access-after-loss.html
+webkit.org/b/234536 webgl/many-contexts.html
+webkit.org/b/234536 webgl/max-active-contexts-console-warning.html
+webkit.org/b/234536 webgl/max-active-contexts-gc.html
+webkit.org/b/234536 webgl/max-active-contexts-oldest-context-lost.html
+webkit.org/b/234536 webxr/high-performance.html
+webkit.org/b/234536 fast/mediastream/getUserMedia-to-canvas-1.html [ Crash ]
+webkit.org/b/234536 fast/mediastream/getUserMedia-to-canvas-2.html [ Crash ]
+webkit.org/b/234536 webgl/max-active-contexts-webglcontextlost-prevent-default.html [ Timeout ]
\ No newline at end of file

Modified: trunk/Tools/ChangeLog (289377 => 289378)


--- trunk/Tools/ChangeLog	2022-02-08 16:23:16 UTC (rev 289377)
+++ trunk/Tools/ChangeLog	2022-02-08 16:55:48 UTC (rev 289378)
@@ -1,3 +1,13 @@
+2022-02-08  Jon Lee  <[email protected]>
+
+        Enable GPU Process for WebGL by default on iOS
+        https://bugs.webkit.org/show_bug.cgi?id=236218
+
+        Reviewed by Kimmo Kinnunen.
+
+        * WebKitTestRunner/TestOptions.cpp: Add new static representing whether full GPU Process is enabled.
+        (WTR::TestOptions::defaults):
+
 2022-02-08  Philippe Normand  <[email protected]>
 
         [GStreamer] Test webkit/WebKitWebView/display-usermedia-permission-request times out

Modified: trunk/Tools/WebKitTestRunner/TestOptions.cpp (289377 => 289378)


--- trunk/Tools/WebKitTestRunner/TestOptions.cpp	2022-02-08 16:23:16 UTC (rev 289377)
+++ trunk/Tools/WebKitTestRunner/TestOptions.cpp	2022-02-08 16:55:48 UTC (rev 289378)
@@ -45,6 +45,12 @@
 static constexpr bool mediaSourceEnabledValue = true;
 #endif
 
+#if PLATFORM(IOS_FAMILY)
+static constexpr bool fullGPUProcessEnabledValue = true;
+#else
+static constexpr bool fullGPUProcessEnabledValue = false;
+#endif
+
 const TestFeatures& TestOptions::defaults()
 {
     static TestFeatures features;
@@ -128,7 +134,7 @@
             { "UseGPUProcessForDOMRenderingEnabled", false },
 #endif
 #if ENABLE(GPU_PROCESS) && ENABLE(WEBGL) && !PLATFORM(WIN)
-            { "UseGPUProcessForWebGLEnabled", false },
+            { "UseGPUProcessForWebGLEnabled", fullGPUProcessEnabledValue },
 #endif
         };
         features.stringWebPreferenceFeatures = {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to