Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0d94848c151165959a395729e973f63783cc0f4f
      
https://github.com/WebKit/WebKit/commit/0d94848c151165959a395729e973f63783cc0f4f
  Author: Kimmo Kinnunen <[email protected]>
  Date:   2026-05-04 (Mon, 04 May 2026)

  Changed paths:
    M LayoutTests/http/tests/ipc/null-port-on-sharedmemoryhandle-creation.html
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp
    M Source/WebCore/platform/graphics/GraphicsContextGLAttributes.h
    M Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.cpp
    M Source/WebKit/GPUProcess/GPUConnectionToWebProcess.cpp
    M Source/WebKit/Shared/WebGL.serialization.in

  Log Message:
  -----------
  WebGL: GPUP should expose draft extension related extensions only if the 
setting is on
https://bugs.webkit.org/show_bug.cgi?id=306323
rdar://166537204

Reviewed by Dan Glastonbury.

Expose ANGLE extensions related to WebGL draft extensions only if
the setting is on.

Add the GraphicsContextGLAttributes.supportWebGLDraftExtensions property
since that is what controls the GraphicsContextGLANGLE. Validate this
property against the real settings.

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp:
(WebCore::resolveGraphicsContextGLAttributes):
(WebCore::WebGLRenderingContextBase::create):
* Source/WebCore/platform/graphics/GraphicsContextGLAttributes.h:
* Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.cpp:
(WebCore::GraphicsContextGLANGLE::initialize):
* Source/WebKit/GPUProcess/GPUConnectionToWebProcess.cpp:
(WebKit::GPUConnectionToWebProcess::createGraphicsContextGL):
* Source/WebKit/Shared/WebGL.serialization.in:

Originally-landed-as: 305413.206@safari-7624-branch (d593ad8b45c3). 
rdar://173968754
Canonical link: https://commits.webkit.org/312547@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to