Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7ab677a27cf3c8b64ffc7cac7fdefd5a9c535635
      
https://github.com/WebKit/WebKit/commit/7ab677a27cf3c8b64ffc7cac7fdefd5a9c535635
  Author: Fujii Hironori <[email protected]>
  Date:   2025-10-20 (Mon, 20 Oct 2025)

  Changed paths:
    A 
LayoutTests/imported/w3c/web-platform-tests/webxr/hit-test/idlharness.https-expected.txt
    M LayoutTests/platform/glib/TestExpectations
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WTF/wtf/PlatformEnable.h
    M Source/WebCore/CMakeLists.txt
    M Source/WebCore/DerivedSources.make
    A Source/WebCore/Modules/webxr/WebXRFrame+HitTest.idl
    M Source/WebCore/Modules/webxr/WebXRFrame.cpp
    M Source/WebCore/Modules/webxr/WebXRFrame.h
    A Source/WebCore/Modules/webxr/WebXRHitTestResult.cpp
    A Source/WebCore/Modules/webxr/WebXRHitTestResult.h
    A Source/WebCore/Modules/webxr/WebXRHitTestResult.idl
    A Source/WebCore/Modules/webxr/WebXRHitTestSource.cpp
    A Source/WebCore/Modules/webxr/WebXRHitTestSource.h
    A Source/WebCore/Modules/webxr/WebXRHitTestSource.idl
    A Source/WebCore/Modules/webxr/WebXRRay.cpp
    A Source/WebCore/Modules/webxr/WebXRRay.h
    A Source/WebCore/Modules/webxr/WebXRRay.idl
    A Source/WebCore/Modules/webxr/WebXRSession+HitTest.idl
    M Source/WebCore/Modules/webxr/WebXRSession.cpp
    M Source/WebCore/Modules/webxr/WebXRSession.h
    M Source/WebCore/Modules/webxr/WebXRSystem.cpp
    A Source/WebCore/Modules/webxr/WebXRTransientInputHitTestResult.cpp
    A Source/WebCore/Modules/webxr/WebXRTransientInputHitTestResult.h
    A Source/WebCore/Modules/webxr/WebXRTransientInputHitTestResult.idl
    A Source/WebCore/Modules/webxr/WebXRTransientInputHitTestSource.cpp
    A Source/WebCore/Modules/webxr/WebXRTransientInputHitTestSource.h
    A Source/WebCore/Modules/webxr/WebXRTransientInputHitTestSource.idl
    A Source/WebCore/Modules/webxr/XRHitTestOptionsInit.h
    A Source/WebCore/Modules/webxr/XRHitTestOptionsInit.idl
    A Source/WebCore/Modules/webxr/XRHitTestTrackableType.h
    A Source/WebCore/Modules/webxr/XRHitTestTrackableType.idl
    A Source/WebCore/Modules/webxr/XRRayDirectionInit.h
    A Source/WebCore/Modules/webxr/XRRayDirectionInit.idl
    A Source/WebCore/Modules/webxr/XRTransientInputHitTestOptionsInit.h
    A Source/WebCore/Modules/webxr/XRTransientInputHitTestOptionsInit.idl
    M Source/WebCore/Modules/webxr/XRWebGLSubImage.h
    M Source/WebCore/Sources.txt
    M Source/WebCore/bindings/js/WebCoreBuiltinNames.h
    M Source/WebCore/platform/xr/PlatformXR.h
    M Source/WebKit/Shared/XR/PlatformXR.serialization.in
    M Source/WebKit/UIProcess/API/glib/WebKitXRPermissionRequest.cpp
    M Source/WebKit/UIProcess/API/glib/WebKitXRPermissionRequest.h.in
    M Source/WebKit/UIProcess/XR/openxr/PlatformXROpenXR.cpp
    M Source/cmake/OptionsGTK.cmake
    M Source/cmake/OptionsWPE.cmake
    M Source/cmake/WebKitFeatures.cmake
    M Tools/MiniBrowser/gtk/BrowserTab.c

  Log Message:
  -----------
  [WebXR] Add bindings and stubs of Hit Test Module
https://bugs.webkit.org/show_bug.cgi?id=300865

Reviewed by Sergio Villar Senin.

Added IDLs and stubs for WebXR Hit Test Module
<https://immersive-web.github.io/hit-test/>. Added a new macro
ENABLE_WEBXR_HIT_TEST which is ON only for GTK and WPE developer mode. Added a
new preference WebXRHitTestModuleEnabled which is off by default.

Tests: imported/w3c/web-platform-tests/webxr/hit-test/idlharness.https.html

* 
LayoutTests/imported/w3c/web-platform-tests/webxr/hit-test/idlharness.https-expected.txt:
 Added.
* LayoutTests/platform/glib/TestExpectations:
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WTF/wtf/PlatformEnable.h:
* Source/WebCore/CMakeLists.txt:
* Source/WebCore/DerivedSources.make:
* Source/WebCore/Modules/webxr/WebXRFrame+HitTest.idl: Added.
* Source/WebCore/Modules/webxr/WebXRFrame.cpp:
(WebCore::WebXRFrame::getHitTestResults):
(WebCore::WebXRFrame::getHitTestResultsForTransientInput):
* Source/WebCore/Modules/webxr/WebXRFrame.h:
* Source/WebCore/Modules/webxr/WebXRHitTestResult.cpp: Added.
(WebCore::WebXRHitTestResult::getPose):
* Source/WebCore/Modules/webxr/WebXRHitTestResult.h: Added.
* Source/WebCore/Modules/webxr/WebXRHitTestResult.idl: Added.
* Source/WebCore/Modules/webxr/WebXRHitTestSource.cpp: Added.
(WebCore::WebXRHitTestSource::create):
(WebCore::WebXRHitTestSource::cancel):
* Source/WebCore/Modules/webxr/WebXRHitTestSource.h: Added.
* Source/WebCore/Modules/webxr/WebXRHitTestSource.idl: Added.
* Source/WebCore/Modules/webxr/WebXRRay.cpp: Added.
(WebCore::WebXRRay::create):
(WebCore::WebXRRay::WebXRRay):
(WebCore::WebXRRay::origin):
(WebCore::WebXRRay::direction):
(WebCore::WebXRRay::matrix):
* Source/WebCore/Modules/webxr/WebXRRay.h: Added.
* Source/WebCore/Modules/webxr/WebXRRay.idl: Added.
* Source/WebCore/Modules/webxr/WebXRSession+HitTest.idl: Added.
* Source/WebCore/Modules/webxr/WebXRSession.cpp:
(WebCore::WebXRSession::requestHitTestSource):
(WebCore::WebXRSession::requestHitTestSourceForTransientInput):
* Source/WebCore/Modules/webxr/WebXRSession.h:
* Source/WebCore/Modules/webxr/WebXRSystem.cpp:
(WebCore::WebXRSystem::isFeaturePermitted const):
* Source/WebCore/Modules/webxr/WebXRTransientInputHitTestResult.cpp: Added.
(WebCore::WebXRTransientInputHitTestResult::create):
(WebCore::WebXRTransientInputHitTestResult::WebXRTransientInputHitTestResult):
(WebCore::WebXRTransientInputHitTestResult::inputSource const):
(WebCore::WebXRTransientInputHitTestResult::results const):
* Source/WebCore/Modules/webxr/WebXRTransientInputHitTestResult.h: Added.
* Source/WebCore/Modules/webxr/WebXRTransientInputHitTestResult.idl: Added.
* Source/WebCore/Modules/webxr/WebXRTransientInputHitTestSource.cpp: Added.
(WebCore::WebXRTransientInputHitTestSource::create):
(WebCore::WebXRTransientInputHitTestSource::cancel):
* Source/WebCore/Modules/webxr/WebXRTransientInputHitTestSource.h: Added.
* Source/WebCore/Modules/webxr/WebXRTransientInputHitTestSource.idl: Added.
* Source/WebCore/Modules/webxr/XRHitTestOptionsInit.h: Added.
* Source/WebCore/Modules/webxr/XRHitTestOptionsInit.idl: Added.
* Source/WebCore/Modules/webxr/XRHitTestTrackableType.h: Added.
* Source/WebCore/Modules/webxr/XRHitTestTrackableType.idl: Added.
* Source/WebCore/Modules/webxr/XRRayDirectionInit.h: Added.
* Source/WebCore/Modules/webxr/XRRayDirectionInit.idl: Added.
* Source/WebCore/Modules/webxr/XRTransientInputHitTestOptionsInit.h: Added.
* Source/WebCore/Modules/webxr/XRTransientInputHitTestOptionsInit.idl: Added.
* Source/WebCore/Modules/webxr/XRWebGLSubImage.h:
* Source/WebCore/Sources.txt:
* Source/WebCore/bindings/js/WebCoreBuiltinNames.h:
* Source/WebCore/platform/xr/PlatformXR.h:
(PlatformXR::parseSessionFeatureDescriptor):
(PlatformXR::sessionFeatureDescriptor):
* Source/WebKit/Shared/XR/PlatformXR.serialization.in:
* Source/WebKit/UIProcess/API/glib/WebKitXRPermissionRequest.cpp:
(toFeatureList):
(toWebKitXRSessionFeatures):
* Source/WebKit/UIProcess/API/glib/WebKitXRPermissionRequest.h.in:
* Source/WebKit/UIProcess/XR/openxr/PlatformXROpenXR.cpp:
(WebKit::OpenXRCoordinator::getPrimaryDeviceInfo):
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsWPE.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Tools/MiniBrowser/gtk/BrowserTab.c:
(WebKitXRSessionFeaturesToString):

Canonical link: https://commits.webkit.org/301799@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

Reply via email to