[webkit-changes] [WebKit/WebKit] ee8d9f: [WebXR] Remove USE(MTLSHAREDEVENT_FOR_MTLTEXTURE_F...

Dan Glastonbury noreply at github.com
Sun Aug 27 19:03:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ee8d9ff29a5c1f2dc235b3ea96f52d808561b16e
      https://github.com/WebKit/WebKit/commit/ee8d9ff29a5c1f2dc235b3ea96f52d808561b16e
  Author: Dan Glastonbury <djg at apple.com>
  Date:   2023-08-27 (Sun, 27 Aug 2023)

  Changed paths:
    M Source/WTF/wtf/PlatformUse.h
    M Source/WebCore/Modules/webxr/WebXROpaqueFramebuffer.cpp
    M Source/WebCore/Modules/webxr/WebXROpaqueFramebuffer.h
    M Source/WebCore/platform/graphics/cocoa/GraphicsContextGLCocoa.mm
    M Source/WebCore/platform/xr/PlatformXR.h
    M Source/WebCore/testing/WebFakeXRDevice.cpp

  Log Message:
  -----------
  [WebXR] Remove USE(MTLSHAREDEVENT_FOR_MTLTEXTURE_FOR_XR_LAYER_DATA) and USE(MTLTEXTURE_FOR_XR_LAYER_DATA)
https://bugs.webkit.org/show_bug.cgi?id=260697
rdar://114428976

Reviewed by Dean Jackson.

These features are enabled by default by the Cocoa-based XRPlatforms.  The
defines can be replaced by PLATFORM(COCOA) check instead of individually
switchable defines.

* Source/WTF/wtf/PlatformUse.h:
* Source/WebCore/Modules/webxr/WebXROpaqueFramebuffer.cpp:
(WebCore::WebXROpaqueFramebuffer::~WebXROpaqueFramebuffer):
(WebCore::WebXROpaqueFramebuffer::startFrame):
(WebCore::WebXROpaqueFramebuffer::endFrame):
* Source/WebCore/Modules/webxr/WebXROpaqueFramebuffer.h:
* Source/WebCore/platform/graphics/cocoa/GraphicsContextGLCocoa.mm:
(WebCore::initializeEGLDisplay):
* Source/WebCore/platform/xr/PlatformXR.h:
(PlatformXR::Device::FrameData::LayerData::encode const):
(PlatformXR::Device::FrameData::LayerData::decode):
* Source/WebCore/testing/WebFakeXRDevice.cpp:
(WebCore::SimulatedXRDevice::frameTimerFired):

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




More information about the webkit-changes mailing list