[webkit-changes] [WebKit/WebKit] e6dd2b: [WebXR] Enable required extensions for simulator b...

Dan Glastonbury noreply at github.com
Wed Jul 5 03:40:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e6dd2b82a9086494fdba73cddb93e077fe797721
      https://github.com/WebKit/WebKit/commit/e6dd2b82a9086494fdba73cddb93e077fe797721
  Author: Dan Glastonbury <djg at apple.com>
  Date:   2023-07-05 (Wed, 05 Jul 2023)

  Changed paths:
    M Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp

  Log Message:
  -----------
  [WebXR] Enable required extensions for simulator builds
https://bugs.webkit.org/show_bug.cgi?id=258836
rdar://111710240

Reviewed by Kimmo Kinnunen.

There are two code paths to create a WebGL context for use by WebXR. The first
is at creation time and the second upgrades an exiting WebGL context for WebXR.

The second path was not requesting all the required extensions in simulator
builds. This change makes both paths request the same extensions on all builds
for Cocoa platforms.

* Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp:
(WebCore::WebGLRenderingContextBase::makeXRCompatible):

Canonical link: https://commits.webkit.org/265766@main




More information about the webkit-changes mailing list