[webkit-changes] [WebKit/WebKit] 6920df: WebXR Layers idl
mwyrzykowski
noreply at github.com
Thu Aug 8 21:38:15 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6920df14d2fb92eb75136dc718a35a74e3e05ff2
https://github.com/WebKit/WebKit/commit/6920df14d2fb92eb75136dc718a35a74e3e05ff2
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
Date: 2024-08-08 (Thu, 08 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/Modules/webxr/WebXRLayer.h
A Source/WebCore/Modules/webxr/WebXRRenderState+Layers.idl
M Source/WebCore/Modules/webxr/WebXRRenderState.h
A Source/WebCore/Modules/webxr/XRCompositionLayer.cpp
A Source/WebCore/Modules/webxr/XRCompositionLayer.h
A Source/WebCore/Modules/webxr/XRCompositionLayer.idl
A Source/WebCore/Modules/webxr/XRCubeLayer.h
A Source/WebCore/Modules/webxr/XRCubeLayer.idl
A Source/WebCore/Modules/webxr/XRCubeLayerInit.h
A Source/WebCore/Modules/webxr/XRCubeLayerInit.idl
A Source/WebCore/Modules/webxr/XRCylinderLayer.h
A Source/WebCore/Modules/webxr/XRCylinderLayer.idl
A Source/WebCore/Modules/webxr/XRCylinderLayerInit.h
A Source/WebCore/Modules/webxr/XRCylinderLayerInit.idl
A Source/WebCore/Modules/webxr/XREquirectLayer.h
A Source/WebCore/Modules/webxr/XREquirectLayer.idl
A Source/WebCore/Modules/webxr/XREquirectLayerInit.h
A Source/WebCore/Modules/webxr/XREquirectLayerInit.idl
A Source/WebCore/Modules/webxr/XRLayerEvent.cpp
A Source/WebCore/Modules/webxr/XRLayerEvent.h
A Source/WebCore/Modules/webxr/XRLayerEvent.idl
A Source/WebCore/Modules/webxr/XRLayerEventInit.h
A Source/WebCore/Modules/webxr/XRLayerInit.h
A Source/WebCore/Modules/webxr/XRLayerInit.idl
A Source/WebCore/Modules/webxr/XRLayerLayout.h
A Source/WebCore/Modules/webxr/XRLayerLayout.idl
A Source/WebCore/Modules/webxr/XRLayerQuality.h
A Source/WebCore/Modules/webxr/XRLayerQuality.idl
A Source/WebCore/Modules/webxr/XRProjectionLayer.cpp
A Source/WebCore/Modules/webxr/XRProjectionLayer.h
A Source/WebCore/Modules/webxr/XRProjectionLayer.idl
A Source/WebCore/Modules/webxr/XRProjectionLayerInit.h
A Source/WebCore/Modules/webxr/XRProjectionLayerInit.idl
A Source/WebCore/Modules/webxr/XRQuadLayer.h
A Source/WebCore/Modules/webxr/XRQuadLayer.idl
A Source/WebCore/Modules/webxr/XRQuadLayerInit.h
A Source/WebCore/Modules/webxr/XRQuadLayerInit.idl
A Source/WebCore/Modules/webxr/XRSubImage.h
A Source/WebCore/Modules/webxr/XRSubImage.idl
A Source/WebCore/Modules/webxr/XRTextureType.h
A Source/WebCore/Modules/webxr/XRTextureType.idl
A Source/WebCore/Modules/webxr/XRWebGLBinding.cpp
A Source/WebCore/Modules/webxr/XRWebGLBinding.h
A Source/WebCore/Modules/webxr/XRWebGLBinding.idl
A Source/WebCore/Modules/webxr/XRWebGLSubImage.cpp
A Source/WebCore/Modules/webxr/XRWebGLSubImage.h
A Source/WebCore/Modules/webxr/XRWebGLSubImage.idl
M Source/WebCore/Sources.txt
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/bindings/js/WebCoreBuiltinNames.h
M Source/WebCore/dom/EventInterfaces.in
M Source/WebCore/dom/EventNames.json
M Source/WebCore/html/HTMLAttributeNames.in
Log Message:
-----------
WebXR Layers idl
https://bugs.webkit.org/show_bug.cgi?id=277168
rdar://132594643
Reviewed by Tadeu Zagallo.
Patch from Dan. Add idl files for WebXR Layers.
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WTF/wtf/PlatformEnable.h:
* Source/WebCore/CMakeLists.txt:
* Source/WebCore/DerivedSources-input.xcfilelist:
* Source/WebCore/DerivedSources-output.xcfilelist:
* Source/WebCore/DerivedSources.make:
* Source/WebCore/Modules/webxr/WebXRLayer.h:
* Source/WebCore/Modules/webxr/WebXRRenderState+Layers.idl: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/WebXRRenderState.h:
(WebCore::WebXRRenderState::layers const):
* Source/WebCore/Modules/webxr/XRCompositionLayer.cpp: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRCompositionLayer.h: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
(WebCore::XRCompositionLayer::layout const):
(WebCore::XRCompositionLayer::blendTextureSourceAlpha const):
(WebCore::XRCompositionLayer::setBlendTextureSourceAlpha):
(WebCore::XRCompositionLayer::forceMonoPresentation const):
(WebCore::XRCompositionLayer::setForceMonoPresentation):
(WebCore::XRCompositionLayer::opacity const):
(WebCore::XRCompositionLayer::setOpacity):
(WebCore::XRCompositionLayer::mipLevels const):
(WebCore::XRCompositionLayer::quality const):
(WebCore::XRCompositionLayer::setQuality):
(WebCore::XRCompositionLayer::needsRedraw const):
(WebCore::XRCompositionLayer::destroy):
* Source/WebCore/Modules/webxr/XRCompositionLayer.idl: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRCubeLayer.h: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
(WebCore::XRCubeLayer::space const):
(WebCore::XRCubeLayer::setSpace):
(WebCore::XRCubeLayer::orientation const):
(WebCore::XRCubeLayer::setOrientation):
* Source/WebCore/Modules/webxr/XRCubeLayer.idl: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRCubeLayerInit.h: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRCubeLayerInit.idl: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRCylinderLayer.h: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
(WebCore::XRCylinderLayer::space const):
(WebCore::XRCylinderLayer::setSpace):
(WebCore::XRCylinderLayer::transform const):
(WebCore::XRCylinderLayer::setTransform):
(WebCore::XRCylinderLayer::radius const):
(WebCore::XRCylinderLayer::setRadius):
(WebCore::XRCylinderLayer::centralAngle const):
(WebCore::XRCylinderLayer::setCentralAngle):
(WebCore::XRCylinderLayer::aspectRatio const):
(WebCore::XRCylinderLayer::setAspectRatio):
* Source/WebCore/Modules/webxr/XRCylinderLayer.idl: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRCylinderLayerInit.h: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRCylinderLayerInit.idl: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XREquirectLayer.h: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
(WebCore::XREquirectLayer::space const):
(WebCore::XREquirectLayer::setSpace):
(WebCore::XREquirectLayer::transform const):
(WebCore::XREquirectLayer::setTransform):
(WebCore::XREquirectLayer::radius const):
(WebCore::XREquirectLayer::setRadius):
(WebCore::XREquirectLayer::centralHorizontalAngle const):
(WebCore::XREquirectLayer::setCentralHorizontalAngle):
(WebCore::XREquirectLayer::upperVerticalAngle const):
(WebCore::XREquirectLayer::setUpperVerticalAngle):
(WebCore::XREquirectLayer::lowerVerticalAngle const):
(WebCore::XREquirectLayer::setLowerVerticalAngle):
* Source/WebCore/Modules/webxr/XREquirectLayer.idl: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XREquirectLayerInit.h: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XREquirectLayerInit.idl: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRLayerEvent.cpp: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
(WebCore::XRLayerEvent::create):
(WebCore::XRLayerEvent::XRLayerEvent):
(WebCore::XRLayerEvent::eventInterfaceType const):
(WebCore::XRLayerEvent::layer const):
* Source/WebCore/Modules/webxr/XRLayerEvent.h: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRLayerEvent.idl: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRLayerEventInit.h: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRLayerInit.h: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRLayerInit.idl: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRLayerLayout.h: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRLayerLayout.idl: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRLayerQuality.h: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRLayerQuality.idl: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRProjectionLayer.cpp: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
(WebCore::XRProjectionLayer::startFrame):
(WebCore::XRProjectionLayer::endFrame):
* Source/WebCore/Modules/webxr/XRProjectionLayer.h: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
(WebCore::XRProjectionLayer::textureWidth const):
(WebCore::XRProjectionLayer::textureHeight const):
(WebCore::XRProjectionLayer::textureArrayLength const):
(WebCore::XRProjectionLayer::ignoreDepthValues const):
(WebCore::XRProjectionLayer::fixedFoveation const):
(WebCore::XRProjectionLayer::setFixedFoveation):
(WebCore::XRProjectionLayer::deltaPose const):
(WebCore::XRProjectionLayer::setDeltaPose):
* Source/WebCore/Modules/webxr/XRProjectionLayer.idl: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRProjectionLayerInit.h: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRProjectionLayerInit.idl: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRQuadLayer.h: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
(WebCore::XRQuadLayer::space const):
(WebCore::XRQuadLayer::setSpace):
(WebCore::XRQuadLayer::transform const):
(WebCore::XRQuadLayer::setTransform):
(WebCore::XRQuadLayer::width const):
(WebCore::XRQuadLayer::setWidth):
(WebCore::XRQuadLayer::height const):
(WebCore::XRQuadLayer::setHeight):
* Source/WebCore/Modules/webxr/XRQuadLayer.idl: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRQuadLayerInit.h: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRQuadLayerInit.idl: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRSubImage.h: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
(WebCore::XRSubImage::viewport const):
* Source/WebCore/Modules/webxr/XRSubImage.idl: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRTextureType.h: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRTextureType.idl: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRWebGLBinding.cpp: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
(WebCore::XRWebGLBinding::create):
* Source/WebCore/Modules/webxr/XRWebGLBinding.h: Added.
(WebCore::XRWebGLBinding::nativeProjectionScaleFactor const):
(WebCore::XRWebGLBinding::usesDepthValues const):
(WebCore::XRWebGLBinding::createProjectionLayer):
(WebCore::XRWebGLBinding::createQuadLayer):
(WebCore::XRWebGLBinding::createCylinderLayer):
(WebCore::XRWebGLBinding::createEquirectLayer):
(WebCore::XRWebGLBinding::createCubeLayer):
(WebCore::XRWebGLBinding::getSubImage):
(WebCore::XRWebGLBinding::getViewSubImage):
* Source/WebCore/Modules/webxr/XRWebGLBinding.idl: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRWebGLSubImage.cpp: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Modules/webxr/XRWebGLSubImage.h: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
(WebCore::XRWebGLSubImage::colorTexture const):
(WebCore::XRWebGLSubImage::depthStencilTexture const):
(WebCore::XRWebGLSubImage::motionVectorTexture const):
(WebCore::XRWebGLSubImage::imageIndex const):
(WebCore::XRWebGLSubImage::colorTextureWidth const):
(WebCore::XRWebGLSubImage::colorTextureHeight const):
(WebCore::XRWebGLSubImage::depthStencilTextureWidth const):
(WebCore::XRWebGLSubImage::depthStencilTextureHeight const):
(WebCore::XRWebGLSubImage::motionVectorTextureWidth const):
(WebCore::XRWebGLSubImage::motionVectorTextureHeight const):
* Source/WebCore/Modules/webxr/XRWebGLSubImage.idl: Copied from Source/WebCore/Modules/webxr/WebXRLayer.h.
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/bindings/js/WebCoreBuiltinNames.h:
* Source/WebCore/dom/EventInterfaces.in:
* Source/WebCore/dom/EventNames.json:
* Source/WebCore/html/HTMLAttributeNames.in:
Canonical link: https://commits.webkit.org/282031@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