Title: [292903] trunk/Source
Revision
292903
Author
[email protected]
Date
2022-04-15 02:53:12 -0700 (Fri, 15 Apr 2022)

Log Message

[GTK][WPE] Remove exclusive build guards around GPU process preferences, code
https://bugs.webkit.org/show_bug.cgi?id=239331

Reviewed by Philippe Normand.

Source/WebKit:

* WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::createGraphicsContextGL const):
Remove restrictive guards around the check for remote-WebGL execution,
only remaining guard being ENABLE(GPU_PROCESS).

Source/WTF:

* Scripts/Preferences/WebPreferencesExperimental.yaml:
Make the UseGPUProcessForWebGLEnabled option also usable for the GTK and
WPE ports.

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (292902 => 292903)


--- trunk/Source/WTF/ChangeLog	2022-04-15 09:37:47 UTC (rev 292902)
+++ trunk/Source/WTF/ChangeLog	2022-04-15 09:53:12 UTC (rev 292903)
@@ -1,3 +1,14 @@
+2022-04-15  Zan Dobersek  <[email protected]>
+
+        [GTK][WPE] Remove exclusive build guards around GPU process preferences, code
+        https://bugs.webkit.org/show_bug.cgi?id=239331
+
+        Reviewed by Philippe Normand.
+
+        * Scripts/Preferences/WebPreferencesExperimental.yaml:
+        Make the UseGPUProcessForWebGLEnabled option also usable for the GTK and
+        WPE ports.
+
 2022-04-14  J Pascoe  <[email protected]>
 
         [WebAuthn] Clean up WebAuthenticationModern and WebAuthnProcess

Modified: trunk/Source/WTF/Scripts/Preferences/WebPreferencesExperimental.yaml (292902 => 292903)


--- trunk/Source/WTF/Scripts/Preferences/WebPreferencesExperimental.yaml	2022-04-15 09:37:47 UTC (rev 292902)
+++ trunk/Source/WTF/Scripts/Preferences/WebPreferencesExperimental.yaml	2022-04-15 09:53:12 UTC (rev 292903)
@@ -1462,7 +1462,7 @@
   humanReadableName: "GPU Process: WebGL"
   humanReadableDescription: "Process all WebGL operations in GPU Process"
   webcoreBinding: none
-  condition: ENABLE(GPU_PROCESS) && ENABLE(WEBGL) && !(PLATFORM(GTK) || PLATFORM(WPE))
+  condition: ENABLE(GPU_PROCESS) && ENABLE(WEBGL)
   exposed: [ WebKit ]
   defaultValue:
     WebKit:

Modified: trunk/Source/WebKit/ChangeLog (292902 => 292903)


--- trunk/Source/WebKit/ChangeLog	2022-04-15 09:37:47 UTC (rev 292902)
+++ trunk/Source/WebKit/ChangeLog	2022-04-15 09:53:12 UTC (rev 292903)
@@ -1,3 +1,15 @@
+2022-04-15  Zan Dobersek  <[email protected]>
+
+        [GTK][WPE] Remove exclusive build guards around GPU process preferences, code
+        https://bugs.webkit.org/show_bug.cgi?id=239331
+
+        Reviewed by Philippe Normand.
+
+        * WebProcess/WebCoreSupport/WebChromeClient.cpp:
+        (WebKit::WebChromeClient::createGraphicsContextGL const):
+        Remove restrictive guards around the check for remote-WebGL execution,
+        only remaining guard being ENABLE(GPU_PROCESS).
+
 2022-04-14  Antoine Quint  <[email protected]>
 
         [model] ASVInlinePreview objects don't get cleared when the model source changes

Modified: trunk/Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp (292902 => 292903)


--- trunk/Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp	2022-04-15 09:37:47 UTC (rev 292902)
+++ trunk/Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp	2022-04-15 09:53:12 UTC (rev 292903)
@@ -121,7 +121,7 @@
 #include <WebCore/MockWebAuthenticationConfiguration.h>
 #endif
 
-#if ENABLE(WEBGL) && ENABLE(GPU_PROCESS) && (PLATFORM(COCOA) || PLATFORM(WIN))
+#if ENABLE(WEBGL) && ENABLE(GPU_PROCESS)
 #include "RemoteGraphicsContextGLProxy.h"
 #endif
 
@@ -948,7 +948,7 @@
 #if ENABLE(WEBGL)
 RefPtr<GraphicsContextGL> WebChromeClient::createGraphicsContextGL(const GraphicsContextGLAttributes& attributes) const
 {
-#if ENABLE(GPU_PROCESS) && (PLATFORM(COCOA) || PLATFORM(WIN))
+#if ENABLE(GPU_PROCESS)
     if (WebProcess::singleton().shouldUseRemoteRenderingForWebGL())
         return RemoteGraphicsContextGLProxy::create(attributes, m_page.ensureRemoteRenderingBackendProxy().ensureBackendCreated());
 #endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to