⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 292903 in webkit


Ignore:
Timestamp:
Apr 15, 2022, 2:53:12 AM (4 years ago)
Author:
zan@falconsigh.net
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.

Location:
trunk/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r292882 r292903  
     12022-04-15  Zan Dobersek  <zdobersek@igalia.com>
     2
     3        [GTK][WPE] Remove exclusive build guards around GPU process preferences, code
     4        https://bugs.webkit.org/show_bug.cgi?id=239331
     5
     6        Reviewed by Philippe Normand.
     7
     8        * Scripts/Preferences/WebPreferencesExperimental.yaml:
     9        Make the UseGPUProcessForWebGLEnabled option also usable for the GTK and
     10        WPE ports.
     11
    1122022-04-14  J Pascoe  <j_pascoe@apple.com>
    213
  • trunk/Source/WTF/Scripts/Preferences/WebPreferencesExperimental.yaml

    r292882 r292903  
    14631463  humanReadableDescription: "Process all WebGL operations in GPU Process"
    14641464  webcoreBinding: none
    1465   condition: ENABLE(GPU_PROCESS) && ENABLE(WEBGL) && !(PLATFORM(GTK) || PLATFORM(WPE))
     1465  condition: ENABLE(GPU_PROCESS) && ENABLE(WEBGL)
    14661466  exposed: [ WebKit ]
    14671467  defaultValue:
  • trunk/Source/WebKit/ChangeLog

    r292902 r292903  
     12022-04-15  Zan Dobersek  <zdobersek@igalia.com>
     2
     3        [GTK][WPE] Remove exclusive build guards around GPU process preferences, code
     4        https://bugs.webkit.org/show_bug.cgi?id=239331
     5
     6        Reviewed by Philippe Normand.
     7
     8        * WebProcess/WebCoreSupport/WebChromeClient.cpp:
     9        (WebKit::WebChromeClient::createGraphicsContextGL const):
     10        Remove restrictive guards around the check for remote-WebGL execution,
     11        only remaining guard being ENABLE(GPU_PROCESS).
     12
    1132022-04-14  Antoine Quint  <graouts@apple.com>
    214
  • trunk/Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp

    r292882 r292903  
    122122#endif
    123123
    124 #if ENABLE(WEBGL) && ENABLE(GPU_PROCESS) && (PLATFORM(COCOA) || PLATFORM(WIN))
     124#if ENABLE(WEBGL) && ENABLE(GPU_PROCESS)
    125125#include "RemoteGraphicsContextGLProxy.h"
    126126#endif
     
    949949RefPtr<GraphicsContextGL> WebChromeClient::createGraphicsContextGL(const GraphicsContextGLAttributes& attributes) const
    950950{
    951 #if ENABLE(GPU_PROCESS) && (PLATFORM(COCOA) || PLATFORM(WIN))
     951#if ENABLE(GPU_PROCESS)
    952952    if (WebProcess::singleton().shouldUseRemoteRenderingForWebGL())
    953953        return RemoteGraphicsContextGLProxy::create(attributes, m_page.ensureRemoteRenderingBackendProxy().ensureBackendCreated());
Note: See TracChangeset for help on using the changeset viewer.