The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

st/oxr: Now that layers are supported up the max layers to what the spec requires

+5 -5
+1
doc/changes/state_trackers/mr.354.1.md
··· 1 + OpenXR: Report a spec following amount of maximum layers supported.
+4 -5
src/xrt/state_trackers/oxr/oxr_system.c
··· 216 216 snprintf(properties->systemName, XR_MAX_SYSTEM_NAME_SIZE, 217 217 "Monado: %.*s", 247, sys->head->str); 218 218 219 - /*! 220 - * @todo conforming implementations must support at 221 - * leastXR_MIN_COMPOSITION_LAYERS_SUPPORTED layers. 222 - */ 223 - properties->graphicsProperties.maxLayerCount = 1; 219 + //! Get from compositor. 220 + uint32_t max = XR_MIN_COMPOSITION_LAYERS_SUPPORTED; 221 + 222 + properties->graphicsProperties.maxLayerCount = max; 224 223 properties->graphicsProperties.maxSwapchainImageWidth = 1024 * 16; 225 224 properties->graphicsProperties.maxSwapchainImageHeight = 1024 * 16; 226 225 properties->trackingProperties.orientationTracking = XR_TRUE;