Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 42c48d943df9620b88c027e1d86f0e5d03736eaa https://github.com/WebKit/WebKit/commit/42c48d943df9620b88c027e1d86f0e5d03736eaa Author: Mike Wyrzykowski <mwyrzykow...@apple.com> Date: 2025-08-08 (Fri, 08 Aug 2025)
Changed paths: M Source/WebCore/Headers.cmake M Source/WebCore/Modules/WebGPU/Implementation/WebGPUXRProjectionLayerImpl.cpp M Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUXRProjectionLayer.h M Source/WebCore/Modules/webxr/WebXRSession.cpp M Source/WebCore/Modules/webxr/WebXRSession.h M Source/WebCore/Modules/webxr/WebXRSystem.h A Source/WebCore/Modules/webxr/XRCanvasConfiguration.h M Source/WebCore/Modules/webxr/XRGPUBinding.cpp M Source/WebCore/Modules/webxr/XRGPUBinding.h M Source/WebCore/Modules/webxr/XRGPUProjectionLayerInit.h M Source/WebCore/WebCore.xcodeproj/project.pbxproj M Source/WebCore/platform/xr/PlatformXR.h M Source/WebCore/testing/WebFakeXRDevice.cpp M Source/WebCore/testing/WebFakeXRDevice.h M Source/WebKit/Shared/XR/XRDeviceProxy.cpp M Source/WebKit/Shared/XR/XRDeviceProxy.h M Source/WebKit/UIProcess/API/APIUIClient.h M Source/WebKit/UIProcess/API/Cocoa/WKUIDelegatePrivate.h M Source/WebKit/UIProcess/Cocoa/UIDelegate.h M Source/WebKit/UIProcess/Cocoa/UIDelegate.mm M Source/WebKit/UIProcess/XR/PlatformXRCoordinator.h M Source/WebKit/UIProcess/XR/PlatformXRSystem.cpp M Source/WebKit/UIProcess/XR/PlatformXRSystem.h M Source/WebKit/UIProcess/XR/PlatformXRSystem.messages.in M Source/WebKit/UIProcess/XR/ios/PlatformXRARKit.h M Source/WebKit/UIProcess/XR/ios/PlatformXRARKit.mm M Source/WebKit/UIProcess/XR/openxr/PlatformXROpenXR.cpp M Source/WebKit/UIProcess/XR/openxr/PlatformXROpenXR.h M Source/WebKit/WebProcess/XR/PlatformXRSystemProxy.cpp M Source/WebKit/WebProcess/XR/PlatformXRSystemProxy.h Log Message: ----------- [WebXR + WebGPU] Support HDR with WebXR + WebGPU https://bugs.webkit.org/show_bug.cgi?id=296675 rdar://157080294 Reviewed by Dan Glastonbury. In order to support HDR on WebXR + WebGPU sites, we must defer compositor initialization until GPUDevice.configure(...) is called. That allows us to pass the selected color and depth+(stencil) format to the compositor as this is not possible to change without exiting and re-entering the immersive session. * Source/WebCore/Modules/WebGPU/Implementation/WebGPUXRProjectionLayerImpl.cpp: * Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUXRProjectionLayer.h: * Source/WebCore/Modules/webxr/WebXRSession.cpp: (WebCore::WebXRSession::WebXRSession): (WebCore::WebXRSession::initializeTrackingAndRendering): * Source/WebCore/Modules/webxr/WebXRSession.h: * Source/WebCore/Modules/webxr/WebXRSystem.h: * Source/WebCore/Modules/webxr/XRGPUBinding.cpp: (WebCore::XRGPUBinding::XRGPUBinding): (WebCore::XRGPUBinding::createProjectionLayer): * Source/WebCore/Modules/webxr/XRGPUBinding.h: (WebCore::XRGPUBinding::create): * Source/WebCore/Modules/webxr/XRGPUProjectionLayerInit.h: * Source/WebCore/WebCore.xcodeproj/project.pbxproj: * Source/WebCore/platform/xr/PlatformXR.h: * Source/WebCore/testing/WebFakeXRDevice.cpp: (WebCore::SimulatedXRDevice::initializeTrackingAndRendering): * Source/WebCore/testing/WebFakeXRDevice.h: * Source/WebKit/Shared/XR/XRDeviceProxy.cpp: (WebKit::XRDeviceProxy::initializeTrackingAndRendering): * Source/WebKit/Shared/XR/XRDeviceProxy.h: * Source/WebKit/UIProcess/API/APIUIClient.h: (API::UIClient::startXRSession): * Source/WebKit/UIProcess/API/Cocoa/WKUIDelegatePrivate.h: * Source/WebKit/UIProcess/Cocoa/UIDelegate.h: * Source/WebKit/UIProcess/Cocoa/UIDelegate.mm: (WebKit::UIDelegate::setDelegate): (WebKit::toMetalFormat): (WebKit::UIDelegate::UIClient::startXRSession): * Source/WebKit/UIProcess/XR/PlatformXRCoordinator.h: * Source/WebKit/UIProcess/XR/PlatformXRSystem.cpp: (WebKit::convertFromBacking): (WebKit::PlatformXRSystem::initializeTrackingAndRendering): * Source/WebKit/UIProcess/XR/PlatformXRSystem.h: * Source/WebKit/UIProcess/XR/PlatformXRSystem.messages.in: * Source/WebKit/UIProcess/XR/ios/PlatformXRARKit.h: * Source/WebKit/UIProcess/XR/ios/PlatformXRARKit.mm: (WebKit::ARKitCoordinator::startSession): * Source/WebKit/WebProcess/XR/PlatformXRSystemProxy.cpp: (WebKit::PlatformXRSystemProxy::initializeTrackingAndRendering): * Source/WebKit/WebProcess/XR/PlatformXRSystemProxy.h: Canonical link: https://commits.webkit.org/298401@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes