Skip to content

Compositor: Add support for multiple OpenXR Composition Layers

Lubosz Sarnecki requested to merge lubosz/monado:comp-layers into master

This needs to be tested, there will be dragons.

This patch set adds initial support for multiple XrCompositionLayerProjection and XrCompositionLayerQuad layers in the compositor. For quad layers, certain features like XrEyeVisibility and XrCompositionLayerFlags are still unimplemented, but XrPosef and size are treated. This branch contains patches that validate quad layer API calls and give out the correct XrResult.

In addition this patch set fixes the regression of flipped OpenGL swapchains introduced by the IPC patch set, which is now done per layer.

The Vulkan validation for this branch runs fine except for threading errors that were introduced by the IPC patch set.

This patch set was successfully tested on AMD and Intel, using xrgears, openxr-simple-example and Blender.

Testing can be done with the layers branch from xrgears.

Edited by Lubosz Sarnecki

Merge request reports