[webkit-changes] [WebKit/WebKit] db28bb: WebXR bindings for WebGPU
mwyrzykowski
noreply at github.com
Wed Aug 14 18:38:14 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: db28bb1f466a0df1f97a2b4d4eca431f21f24c6e
https://github.com/WebKit/WebKit/commit/db28bb1f466a0df1f97a2b4d4eca431f21f24c6e
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
Date: 2024-08-14 (Wed, 14 Aug 2024)
Changed paths:
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Source/WTF/wtf/PlatformEnable.h
M Source/WebCore/CMakeLists.txt
M Source/WebCore/DerivedSources-input.xcfilelist
M Source/WebCore/DerivedSources-output.xcfilelist
M Source/WebCore/DerivedSources.make
M Source/WebCore/Headers.cmake
M Source/WebCore/Modules/WebGPU/GPUDevice.cpp
M Source/WebCore/Modules/WebGPU/GPUDevice.h
M Source/WebCore/Modules/WebGPU/GPURequestAdapterOptions.h
M Source/WebCore/Modules/WebGPU/GPURequestAdapterOptions.idl
M Source/WebCore/Modules/WebGPU/Implementation/WebGPUAdapterImpl.cpp
M Source/WebCore/Modules/WebGPU/Implementation/WebGPUAdapterImpl.h
M Source/WebCore/Modules/WebGPU/Implementation/WebGPUConvertToBackingContext.cpp
M Source/WebCore/Modules/WebGPU/Implementation/WebGPUConvertToBackingContext.h
M Source/WebCore/Modules/WebGPU/Implementation/WebGPUDeviceImpl.cpp
M Source/WebCore/Modules/WebGPU/Implementation/WebGPUDeviceImpl.h
M Source/WebCore/Modules/WebGPU/Implementation/WebGPUDowncastConvertToBackingContext.cpp
M Source/WebCore/Modules/WebGPU/Implementation/WebGPUDowncastConvertToBackingContext.h
M Source/WebCore/Modules/WebGPU/Implementation/WebGPUImpl.cpp
M Source/WebCore/Modules/WebGPU/Implementation/WebGPUImpl.h
M Source/WebCore/Modules/WebGPU/Implementation/WebGPUPtr.h
A Source/WebCore/Modules/WebGPU/Implementation/WebGPUXRBindingImpl.cpp
A Source/WebCore/Modules/WebGPU/Implementation/WebGPUXRBindingImpl.h
A Source/WebCore/Modules/WebGPU/Implementation/WebGPUXRProjectionLayerImpl.cpp
A Source/WebCore/Modules/WebGPU/Implementation/WebGPUXRProjectionLayerImpl.h
A Source/WebCore/Modules/WebGPU/Implementation/WebGPUXRSubImageImpl.cpp
A Source/WebCore/Modules/WebGPU/Implementation/WebGPUXRSubImageImpl.h
A Source/WebCore/Modules/WebGPU/Implementation/WebGPUXRViewImpl.cpp
A Source/WebCore/Modules/WebGPU/Implementation/WebGPUXRViewImpl.h
M Source/WebCore/Modules/WebGPU/InternalAPI/WebGPU.h
M Source/WebCore/Modules/WebGPU/InternalAPI/WebGPU.serialization.in
M Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUAdapter.h
A Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUCanvasToneMappingMode.h
M Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUDevice.h
M Source/WebCore/Modules/WebGPU/InternalAPI/WebGPURequestAdapterOptions.h
A Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUXRBinding.h
A Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUXREye.h
A Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUXRProjectionLayer.h
A Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUXRSubImage.h
A Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUXRView.h
M Source/WebCore/Modules/model-element/ModelPlayerClient.h
M Source/WebCore/Modules/webxr/WebXRSession.cpp
M Source/WebCore/Modules/webxr/XRCompositionLayer.cpp
M Source/WebCore/Modules/webxr/XRCompositionLayer.h
A Source/WebCore/Modules/webxr/XRGPUBinding.cpp
A Source/WebCore/Modules/webxr/XRGPUBinding.h
A Source/WebCore/Modules/webxr/XRGPUBinding.idl
A Source/WebCore/Modules/webxr/XRGPULayerInit.h
A Source/WebCore/Modules/webxr/XRGPULayerInit.idl
A Source/WebCore/Modules/webxr/XRGPUProjectionLayerInit.h
A Source/WebCore/Modules/webxr/XRGPUProjectionLayerInit.idl
A Source/WebCore/Modules/webxr/XRGPUSubImage.cpp
A Source/WebCore/Modules/webxr/XRGPUSubImage.h
A Source/WebCore/Modules/webxr/XRGPUSubImage.idl
M Source/WebCore/Modules/webxr/XRProjectionLayer.cpp
M Source/WebCore/Modules/webxr/XRProjectionLayer.h
M Source/WebCore/Modules/webxr/XRQuadLayerInit.h
M Source/WebCore/Sources.txt
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/bindings/js/WebCoreBuiltinNames.h
M Source/WebCore/dom/ScriptExecutionContext.h
M Source/WebGPU/WebGPU.xcodeproj/project.pbxproj
M Source/WebGPU/WebGPU/APIConversions.h
M Source/WebGPU/WebGPU/Adapter.h
M Source/WebGPU/WebGPU/Adapter.mm
M Source/WebGPU/WebGPU/Device.h
M Source/WebGPU/WebGPU/Device.mm
M Source/WebGPU/WebGPU/Instance.mm
M Source/WebGPU/WebGPU/WebGPU.h
M Source/WebGPU/WebGPU/WebGPUExt.h
A Source/WebGPU/WebGPU/XRBinding.h
A Source/WebGPU/WebGPU/XRBinding.mm
A Source/WebGPU/WebGPU/XRProjectionLayer.h
A Source/WebGPU/WebGPU/XRProjectionLayer.mm
A Source/WebGPU/WebGPU/XRSubImage.h
A Source/WebGPU/WebGPU/XRSubImage.mm
A Source/WebGPU/WebGPU/XRView.h
A Source/WebGPU/WebGPU/XRView.mm
M Source/WebKit/CMakeLists.txt
M Source/WebKit/DerivedSources-input.xcfilelist
M Source/WebKit/DerivedSources-output.xcfilelist
M Source/WebKit/DerivedSources.make
M Source/WebKit/GPUProcess/graphics/WebGPU/RemoteDevice.cpp
M Source/WebKit/GPUProcess/graphics/WebGPU/RemoteDevice.h
M Source/WebKit/GPUProcess/graphics/WebGPU/RemoteDevice.messages.in
A Source/WebKit/GPUProcess/graphics/WebGPU/RemoteXRBinding.cpp
A Source/WebKit/GPUProcess/graphics/WebGPU/RemoteXRBinding.h
A Source/WebKit/GPUProcess/graphics/WebGPU/RemoteXRBinding.messages.in
A Source/WebKit/GPUProcess/graphics/WebGPU/RemoteXRProjectionLayer.cpp
A Source/WebKit/GPUProcess/graphics/WebGPU/RemoteXRProjectionLayer.h
A Source/WebKit/GPUProcess/graphics/WebGPU/RemoteXRProjectionLayer.messages.in
A Source/WebKit/GPUProcess/graphics/WebGPU/RemoteXRSubImage.cpp
A Source/WebKit/GPUProcess/graphics/WebGPU/RemoteXRSubImage.h
A Source/WebKit/GPUProcess/graphics/WebGPU/RemoteXRSubImage.messages.in
A Source/WebKit/GPUProcess/graphics/WebGPU/RemoteXRView.cpp
A Source/WebKit/GPUProcess/graphics/WebGPU/RemoteXRView.h
A Source/WebKit/GPUProcess/graphics/WebGPU/RemoteXRView.messages.in
M Source/WebKit/GPUProcess/graphics/WebGPU/WebGPUObjectHeap.cpp
M Source/WebKit/GPUProcess/graphics/WebGPU/WebGPUObjectHeap.h
M Source/WebKit/Scripts/webkit/messages.py
M Source/WebKit/Shared/WebGPU/WebGPUConvertFromBackingContext.h
M Source/WebKit/Shared/WebGPU/WebGPUConvertToBackingContext.h
M Source/WebKit/Shared/WebGPU/WebGPURequestAdapterOptions.cpp
M Source/WebKit/Shared/WebGPU/WebGPURequestAdapterOptions.h
M Source/WebKit/Shared/WebGPU/WebGPURequestAdapterOptions.serialization.in
M Source/WebKit/Shared/WebPreferencesDefaultValues.h
M Source/WebKit/Sources.txt
M Source/WebKit/WebKit.xcodeproj/project.pbxproj
M Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteAdapterProxy.cpp
M Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteAdapterProxy.h
M Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteDeviceProxy.cpp
M Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteDeviceProxy.h
M Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteGPUProxy.cpp
M Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteGPUProxy.h
A Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteXRBindingProxy.cpp
A Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteXRBindingProxy.h
A Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteXRProjectionLayerProxy.cpp
A Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteXRProjectionLayerProxy.h
A Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteXRSubImageProxy.cpp
A Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteXRSubImageProxy.h
A Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteXRView.cpp
A Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteXRView.h
A Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteXRViewProxy.cpp
A Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteXRViewProxy.h
M Source/WebKit/WebProcess/GPU/graphics/WebGPU/WebGPUDowncastConvertToBackingContext.cpp
M Source/WebKit/WebProcess/GPU/graphics/WebGPU/WebGPUDowncastConvertToBackingContext.h
M Source/WebKit/WebProcess/GPU/media/RemoteAudioDestinationProxy.cpp
M Source/WebKit/WebProcess/GPU/media/RemoteVideoCodecFactory.cpp
M Source/WebKit/WebProcess/GPU/webrtc/AudioMediaStreamTrackRendererInternalUnitManager.cpp
M Source/WebKit/WebProcess/Model/ModelProcessModelPlayerManager.cpp
M Source/WebKit/WebProcess/Model/WebModelPlayerProvider.cpp
M Source/WebKit/WebProcess/Plugins/WebPluginInfoProvider.cpp
M Websites/webkit.org/demos/webgpu/hello-triangle-xr.html
M Websites/webkit.org/demos/webgpu/scripts/hello-triangle-xr.js
A Websites/webkit.org/demos/webgpu/scripts/webxr-button.js
Log Message:
-----------
WebXR bindings for WebGPU
https://bugs.webkit.org/show_bug.cgi?id=277727
rdar://133349967
Reviewed by Tadeu Zagallo.
Add idl files and empty class implementations for WebGPU bindings for WebXR.
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/CMakeLists.txt:
* Source/WebCore/DerivedSources-input.xcfilelist:
* Source/WebCore/DerivedSources-output.xcfilelist:
* Source/WebCore/DerivedSources.make:
* Source/WebCore/Modules/WebGPU/GPURequestAdapterOptions.h:
* Source/WebCore/Modules/WebGPU/GPURequestAdapterOptions.idl:
* Source/WebCore/Modules/webxr/XRGPUBinding.cpp: Copied from Source/WebCore/Modules/WebGPU/GPURequestAdapterOptions.idl.
(WebCore::XRWebGLBinding::create):
* Source/WebCore/Modules/webxr/XRGPUBinding.h: Added.
(WebCore::XRGPUBinding::nativeProjectionScaleFactor const):
* Source/WebCore/Modules/webxr/XRGPUBinding.idl: Copied from Source/WebCore/Modules/WebGPU/GPURequestAdapterOptions.h.
* Source/WebCore/Modules/webxr/XRGPULayerInit.h: Copied from Source/WebCore/Modules/WebGPU/GPURequestAdapterOptions.h.
* Source/WebCore/Modules/webxr/XRGPULayerInit.idl: Copied from Source/WebCore/Modules/WebGPU/GPURequestAdapterOptions.idl.
* Source/WebCore/Modules/webxr/XRGPUProjectionLayerInit.h: Copied from Source/WebCore/Modules/WebGPU/GPURequestAdapterOptions.h.
* Source/WebCore/Modules/webxr/XRGPUProjectionLayerInit.idl: Copied from Source/WebCore/Modules/WebGPU/GPURequestAdapterOptions.idl.
* Source/WebCore/Modules/webxr/XRGPUSubImage.cpp: Copied from Source/WebCore/Modules/WebGPU/GPURequestAdapterOptions.idl.
* Source/WebCore/Modules/webxr/XRGPUSubImage.h: Copied from Source/WebCore/Modules/WebGPU/GPURequestAdapterOptions.h.
(WebCore::XRGPUSubImage::colorTexture const):
(WebCore::XRGPUSubImage::depthStencilTexture const):
(WebCore::XRGPUSubImage::motionVectorTexture const):
* Source/WebCore/Modules/webxr/XRGPUSubImage.idl: Copied from Source/WebCore/Modules/WebGPU/GPURequestAdapterOptions.idl.
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/bindings/js/WebCoreBuiltinNames.h:
Canonical link: https://commits.webkit.org/282270@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list