Changeset 267027 in webkit


Ignore:
Timestamp:
Sep 14, 2020 11:54:36 AM (4 years ago)
Author:
dino@apple.com
Message:

Enable WebGL2 by default
https://bugs.webkit.org/show_bug.cgi?id=216464
<rdar://problem/68811378>

Reviewed by Sam Weinig.

Our WebGL2 implementation is in good enough shape that we should
enable it by default for broader testing.

Source/WebCore:

  • page/RuntimeEnabledFeatures.h:

Source/WebKit:

Remove "defaultWebGL2Enabled" since it wasn't being used anywhere.

  • Shared/WebPreferences.yaml:
  • Shared/WebPreferencesDefaultValues.cpp:

(WebKit::defaultWebGL2Enabled): Deleted.

  • Shared/WebPreferencesDefaultValues.h:

Source/WebKitLegacy/mac:

  • WebView/WebPreferences.mm:

(+[WebPreferences initialize]):

Location:
trunk/Source
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r267026 r267027  
     12020-09-14  Dean Jackson  <dino@apple.com>
     2
     3        Enable WebGL2 by default
     4        https://bugs.webkit.org/show_bug.cgi?id=216464
     5        <rdar://problem/68811378>
     6
     7        Reviewed by Sam Weinig.
     8
     9        Our WebGL2 implementation is in good enough shape that we should
     10        enable it by default for broader testing.
     11
     12        * page/RuntimeEnabledFeatures.h:
     13
    1142020-09-14  Zalan Bujtas  <zalan@apple.com>
    215
  • trunk/Source/WebCore/page/RuntimeEnabledFeatures.h

    r266931 r267027  
    387387
    388388#if ENABLE(WEBGL2)
    389     bool m_isWebGL2Enabled { false };
     389    bool m_isWebGL2Enabled { true };
    390390#endif
    391391
  • trunk/Source/WebKit/ChangeLog

    r267021 r267027  
     12020-09-14  Dean Jackson  <dino@apple.com>
     2
     3        Enable WebGL2 by default
     4        https://bugs.webkit.org/show_bug.cgi?id=216464
     5        <rdar://problem/68811378>
     6
     7        Reviewed by Sam Weinig.
     8
     9        Our WebGL2 implementation is in good enough shape that we should
     10        enable it by default for broader testing.
     11
     12        Remove "defaultWebGL2Enabled" since it wasn't being used anywhere.
     13
     14        * Shared/WebPreferences.yaml:
     15        * Shared/WebPreferencesDefaultValues.cpp:
     16        (WebKit::defaultWebGL2Enabled): Deleted.
     17        * Shared/WebPreferencesDefaultValues.h:
     18
    1192020-09-14  Youenn Fablet  <youenn@apple.com>
    220
  • trunk/Source/WebKit/Shared/WebPreferences.yaml

    r266931 r267027  
    14561456WebGL2Enabled:
    14571457  type: bool
    1458   defaultValue: false
     1458  defaultValue: true
    14591459  humanReadableName: "WebGL 2.0"
    14601460  humanReadableDescription: "WebGL 2 prototype"
  • trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.cpp

    r265547 r267027  
    185185#endif // ENABLE(WEB_RTC)
    186186
    187 #if ENABLE(WEBGL2)
    188 
    189 bool defaultWebGL2Enabled()
    190 {
    191 #if HAVE(SYSTEM_FEATURE_FLAGS)
    192     return isFeatureFlagEnabled("WebGL2");
    193 #endif
    194 
    195     return false;
    196 }
    197 
    198 #endif // ENABLE(WEBGL2)
    199 
    200187#if ENABLE(WEBGPU)
    201188
  • trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.h

    r265964 r267027  
    351351#endif
    352352
    353 #if ENABLE(WEBGL2)
    354 bool defaultWebGL2Enabled();
    355 #endif
    356 
    357353#if ENABLE(WEBGPU)
    358354bool defaultWebGPUEnabled();
  • trunk/Source/WebKitLegacy/mac/ChangeLog

    r266895 r267027  
     12020-09-14  Dean Jackson  <dino@apple.com>
     2
     3        Enable WebGL2 by default
     4        https://bugs.webkit.org/show_bug.cgi?id=216464
     5        <rdar://problem/68811378>
     6
     7        Reviewed by Sam Weinig.
     8
     9        Our WebGL2 implementation is in good enough shape that we should
     10        enable it by default for broader testing.
     11
     12        * WebView/WebPreferences.mm:
     13        (+[WebPreferences initialize]):
     14
    1152020-09-10  Chris Dumez  <cdumez@apple.com>
    216
  • trunk/Source/WebKitLegacy/mac/WebView/WebPreferences.mm

    r266228 r267027  
    643643
    644644#if ENABLE(WEBGL2)
    645         @NO, WebKitWebGL2EnabledPreferenceKey,
     645        @YES, WebKitWebGL2EnabledPreferenceKey,
    646646#endif
    647647#if ENABLE(WEBGPU)
Note: See TracChangeset for help on using the changeset viewer.