Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 133afe142afe4e7355d7586f310997282b6f6d83 https://github.com/WebKit/WebKit/commit/133afe142afe4e7355d7586f310997282b6f6d83 Author: Mike Wyrzykowski <mwyrzykow...@apple.com> Date: 2025-08-05 (Tue, 05 Aug 2025)
Changed paths: M Source/WebCore/Modules/WebGPU/Implementation/WebGPUXRProjectionLayerImpl.cpp M Source/WebCore/Modules/WebGPU/Implementation/WebGPUXRProjectionLayerImpl.h M Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUXRProjectionLayer.h M Source/WebCore/Modules/webxr/XRProjectionLayer.cpp M Source/WebCore/SaferCPPExpectations/ForwardDeclCheckerExpectations M Source/WebCore/platform/xr/PlatformXR.h M Source/WebGPU/WebGPU/CommandEncoder.mm M Source/WebGPU/WebGPU/Device.h M Source/WebGPU/WebGPU/MetalSPI.h M Source/WebGPU/WebGPU/RenderPassEncoder.h M Source/WebGPU/WebGPU/RenderPassEncoder.mm M Source/WebGPU/WebGPU/Texture.h M Source/WebGPU/WebGPU/WebGPUExt.h M Source/WebGPU/WebGPU/XRProjectionLayer.h M Source/WebGPU/WebGPU/XRProjectionLayer.mm M Source/WebGPU/WebGPU/XRSubImage.mm M Source/WebKit/GPUProcess/graphics/WebGPU/RemoteXRProjectionLayer.cpp M Source/WebKit/GPUProcess/graphics/WebGPU/RemoteXRProjectionLayer.h M Source/WebKit/GPUProcess/graphics/WebGPU/RemoteXRProjectionLayer.messages.in M Source/WebKit/Scripts/webkit/messages.py M Source/WebKit/Shared/XR/PlatformXR.serialization.in M Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteXRProjectionLayerProxy.cpp M Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteXRProjectionLayerProxy.h Log Message: ----------- [WebXR + WebGPU] Foveated rendering is not supported https://bugs.webkit.org/show_bug.cgi?id=296597 rdar://156956791 Reviewed by Dan Glastonbury. Add foveated rendering support to WebGPU + WebXR. We re-create the foveation map whenever the virtualized screen size changes, if we switched from static to dynamic foveation a different mechanism for identifying foveation changes would be required. * Source/WebCore/Modules/WebGPU/Implementation/WebGPUXRProjectionLayerImpl.cpp: (WebCore::WebGPU::XRProjectionLayerImpl::startFrame): * Source/WebCore/Modules/WebGPU/Implementation/WebGPUXRProjectionLayerImpl.h: * Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUXRProjectionLayer.h: * Source/WebCore/Modules/webxr/XRProjectionLayer.cpp: (WebCore::XRProjectionLayer::startFrame): * Source/WebCore/platform/xr/PlatformXR.h: * Source/WebGPU/WebGPU/CommandEncoder.mm: (WebGPU::CommandEncoder::beginRenderPass): * Source/WebGPU/WebGPU/Device.h: * Source/WebGPU/WebGPU/RenderPassEncoder.h: * Source/WebGPU/WebGPU/RenderPassEncoder.mm: (WebGPU::RenderPassEncoder::RenderPassEncoder): (WebGPU::RenderPassEncoder::setViewport): * Source/WebGPU/WebGPU/Texture.h: (WebGPU::Texture::setRasterizationRateMaps): (WebGPU::Texture::rasterizationMapForSlice): * Source/WebGPU/WebGPU/WebGPUExt.h: * Source/WebGPU/WebGPU/XRProjectionLayer.h: (WebGPU::XRProjectionLayer::rasterizationRateMaps const): * Source/WebGPU/WebGPU/XRProjectionLayer.mm: (WebGPU::XRProjectionLayer::startFrame): (wgpuXRProjectionLayerStartFrame): * Source/WebGPU/WebGPU/XRSubImage.mm: (WebGPU::XRSubImage::update): * Source/WebKit/GPUProcess/graphics/WebGPU/RemoteXRProjectionLayer.cpp: (WebKit::RemoteXRProjectionLayer::startFrame): * Source/WebKit/GPUProcess/graphics/WebGPU/RemoteXRProjectionLayer.h: * Source/WebKit/GPUProcess/graphics/WebGPU/RemoteXRProjectionLayer.messages.in: * Source/WebKit/Scripts/webkit/messages.py: (headers_for_type): * Source/WebKit/Shared/XR/PlatformXR.serialization.in: * Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteXRProjectionLayerProxy.cpp: (WebKit::WebGPU::RemoteXRProjectionLayerProxy::startFrame): * Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteXRProjectionLayerProxy.h: Canonical link: https://commits.webkit.org/298235@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes