Branch: refs/heads/webkitglib/2.50 Home: https://github.com/WebKit/WebKit Commit: 2d2d681bc3860a22e9d8f58da8fdb23fa166d47e https://github.com/WebKit/WebKit/commit/2d2d681bc3860a22e9d8f58da8fdb23fa166d47e Author: Sergio Villar Senin <svil...@igalia.com> Date: 2025-08-28 (Thu, 28 Aug 2025)
Changed paths: M Source/WebCore/Modules/webxr/WebXRWebGLLayer.cpp M Source/WebKit/Shared/XR/XRDeviceProxy.cpp Log Message: ----------- Cherry-pick 298278@main (c0e84bbc88a4). https://bugs.webkit.org/show_bug.cgi?id=296920 [WebXR] AR mode should support stereo rendering https://bugs.webkit.org/show_bug.cgi?id=296920 Reviewed by Mike Wyrzykowski. The XRDeviceProxy provides information about the number of views to the WebXR code. So far only immersive VR experiences declare two views (one per eye). However AR experiences should also declare two views in order to have proper stereo rendering. * Source/WebCore/Modules/webxr/WebXRWebGLLayer.cpp: (WebCore::isImmersiveMode): (WebCore::WebXRWebGLLayer::create): (WebCore::WebXRWebGLLayer::computeViewports): * Source/WebKit/Shared/XR/XRDeviceProxy.cpp: (WebKit::XRDeviceProxy::views const): Canonical link: https://commits.webkit.org/298278@main Canonical link: https://commits.webkit.org/298234.46@webkitglib/2.50 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