Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e12952fd429be8f3fad8a448739f2655dc8b4bf4
https://github.com/WebKit/WebKit/commit/e12952fd429be8f3fad8a448739f2655dc8b4bf4
Author: Sergio Villar Senin <[email protected]>
Date: 2025-09-23 (Tue, 23 Sep 2025)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/webxr/idlharness.https.window-expected.txt
M Source/WebCore/Modules/webxr/WebXRRenderState.cpp
M Source/WebCore/Modules/webxr/WebXRRenderState.h
M Source/WebCore/Modules/webxr/WebXRRenderState.idl
M Source/WebCore/Modules/webxr/WebXRSession.cpp
M Source/WebCore/Modules/webxr/XRRenderStateInit.h
M Source/WebCore/Modules/webxr/XRRenderStateInit.idl
M Source/WebCore/platform/xr/PlatformXR.h
M Source/WebKit/Shared/XR/PlatformXR.serialization.in
M Source/WebKit/UIProcess/XR/openxr/PlatformXROpenXR.cpp
Log Message:
-----------
[WebXR] Add support for passthroughFullyObscured
https://bugs.webkit.org/show_bug.cgi?id=299012
Reviewed by Dan Glastonbury.
Added passthroughFullyObscured attribute to the render state object.
It's a hint for the XR system to switch of passthrough (if needed)
because the WebXR experience is going to render the whole viewport
with XR content.
So far it only does something meaningful in the OpenXR backend where
it switches from an AR blend mode to a VR blend mode.
Some sub tests in the WPT suite PASS now.
*
LayoutTests/imported/w3c/web-platform-tests/webxr/idlharness.https.window-expected.txt:
* Source/WebCore/Modules/webxr/WebXRRenderState.cpp:
(WebCore::WebXRRenderState::create):
(WebCore::WebXRRenderState::WebXRRenderState):
* Source/WebCore/Modules/webxr/WebXRRenderState.h:
(WebCore::WebXRRenderState::passthroughFullyObscured const):
(WebCore::WebXRRenderState::setPassthroughFullyObscured):
* Source/WebCore/Modules/webxr/WebXRRenderState.idl:
* Source/WebCore/Modules/webxr/WebXRSession.cpp:
(WebCore::WebXRSession::updateRenderState):
(WebCore::WebXRSession::applyPendingRenderState):
* Source/WebCore/Modules/webxr/XRRenderStateInit.h:
* Source/WebCore/Modules/webxr/XRRenderStateInit.idl:
* Source/WebCore/platform/xr/PlatformXR.h:
* Source/WebKit/Shared/XR/PlatformXR.serialization.in:
* Source/WebKit/UIProcess/XR/openxr/PlatformXROpenXR.cpp:
(WebKit::OpenXRCoordinator::scheduleAnimationFrame):
(WebKit::OpenXRCoordinator::endFrame):
Canonical link: https://commits.webkit.org/300376@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes