Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a9d12a05e30c114b18777ceba7c1c0e952663ce0
https://github.com/WebKit/WebKit/commit/a9d12a05e30c114b18777ceba7c1c0e952663ce0
Author: Mike Wyrzykowski <[email protected]>
Date: 2025-08-14 (Thu, 14 Aug 2025)
Changed paths:
M Source/WebCore/Modules/webxr/XRCompositionLayer.h
M Source/WebCore/Modules/webxr/XRGPUBinding.cpp
M Source/WebCore/Modules/webxr/XRGPUBinding.h
M Source/WebCore/Modules/webxr/XRGPUBinding.idl
M Source/WebCore/Modules/webxr/XRProjectionLayer.cpp
M Source/WebCore/Modules/webxr/XRProjectionLayer.h
Log Message:
-----------
[WebXR + WebGPU] Return sensible values from some functions
https://bugs.webkit.org/show_bug.cgi?id=297378
rdar://158275211
Reviewed by Dan Glastonbury.
There isn't a lot of WebGPU + WebXR content so we don't observe
any use cases of these functions, but we can return some sensible
values to avoid crashing the web content process when they are used.
* Source/WebCore/Modules/webxr/XRCompositionLayer.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/XRGPUBinding.cpp:
(WebCore::XRGPUBinding::getSubImage):
(WebCore::XRGPUBinding::getViewSubImage):
* Source/WebCore/Modules/webxr/XRGPUBinding.h:
* Source/WebCore/Modules/webxr/XRGPUBinding.idl:
* Source/WebCore/Modules/webxr/XRProjectionLayer.cpp:
(WebCore::XRProjectionLayer::ignoreDepthValues const):
(WebCore::XRProjectionLayer::fixedFoveation const):
(WebCore::XRProjectionLayer::setFixedFoveation):
(WebCore::XRProjectionLayer::deltaPose const):
(WebCore::XRProjectionLayer::setDeltaPose):
* Source/WebCore/Modules/webxr/XRProjectionLayer.h:
Canonical link: https://commits.webkit.org/298702@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