Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1b080c336e8a7679093e8d9bc0d54623d699b31c
https://github.com/WebKit/WebKit/commit/1b080c336e8a7679093e8d9bc0d54623d699b31c
Author: Dan Glastonbury <[email protected]>
Date: 2026-08-31 (Mon, 31 Aug 2026)
Changed paths:
M Source/WebKit/UIProcess/XR/xros/PlatformXRCompositor.mm
Log Message:
-----------
[visionOS] Log the negotiated cp_layer_renderer_layout in
CompositorCoordinator
https://bugs.webkit.org/show_bug.cgi?id=322967
rdar://186232387
Reviewed by Cameron McCormack.
CompositorCoordinator stores cp_layer_renderer_configuration_get_layout() into a
bool, so the shared and layered layouts both collapse to true and cannot be told
apart. render() then packs the two views side by side unconditionally, which is
only correct for the shared layout; under the others the second view is
displaced
by the first viewport's width inside a texture that is not double width and is
clipped at the texture edge.
Nothing currently records which layout was negotiated, which makes an
intermittent occurrence impossible to attribute after the fact. Log it, along
with the foveation state that determines the viewport widths.
This is behaviour neutral: the layout is captured into a local, logged, and then
assigned to m_layeredModeEnabled exactly as before.
* Source/WebKit/UIProcess/XR/xros/PlatformXRCompositor.mm:
(layerRendererLayoutName):
(WebKit::CompositorCoordinator::getPrimaryDeviceInfo):
Canonical link: https://commits.webkit.org/320141@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications