mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-02-17 11:10:06 +00:00
st/oxr: Now that layers are supported up the max layers to what the spec requires
This commit is contained in:
parent
6b0831466e
commit
dd04379209
1
doc/changes/state_trackers/mr.354.1.md
Normal file
1
doc/changes/state_trackers/mr.354.1.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
OpenXR: Report a spec following amount of maximum layers supported.
|
|
@ -216,11 +216,10 @@ oxr_system_get_properties(struct oxr_logger *log,
|
||||||
snprintf(properties->systemName, XR_MAX_SYSTEM_NAME_SIZE,
|
snprintf(properties->systemName, XR_MAX_SYSTEM_NAME_SIZE,
|
||||||
"Monado: %.*s", 247, sys->head->str);
|
"Monado: %.*s", 247, sys->head->str);
|
||||||
|
|
||||||
/*!
|
//! Get from compositor.
|
||||||
* @todo conforming implementations must support at
|
uint32_t max = XR_MIN_COMPOSITION_LAYERS_SUPPORTED;
|
||||||
* leastXR_MIN_COMPOSITION_LAYERS_SUPPORTED layers.
|
|
||||||
*/
|
properties->graphicsProperties.maxLayerCount = max;
|
||||||
properties->graphicsProperties.maxLayerCount = 1;
|
|
||||||
properties->graphicsProperties.maxSwapchainImageWidth = 1024 * 16;
|
properties->graphicsProperties.maxSwapchainImageWidth = 1024 * 16;
|
||||||
properties->graphicsProperties.maxSwapchainImageHeight = 1024 * 16;
|
properties->graphicsProperties.maxSwapchainImageHeight = 1024 * 16;
|
||||||
properties->trackingProperties.orientationTracking = XR_TRUE;
|
properties->trackingProperties.orientationTracking = XR_TRUE;
|
||||||
|
|
Loading…
Reference in a new issue