mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-29 18:08:29 +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,
|
||||
"Monado: %.*s", 247, sys->head->str);
|
||||
|
||||
/*!
|
||||
* @todo conforming implementations must support at
|
||||
* leastXR_MIN_COMPOSITION_LAYERS_SUPPORTED layers.
|
||||
*/
|
||||
properties->graphicsProperties.maxLayerCount = 1;
|
||||
//! Get from compositor.
|
||||
uint32_t max = XR_MIN_COMPOSITION_LAYERS_SUPPORTED;
|
||||
|
||||
properties->graphicsProperties.maxLayerCount = max;
|
||||
properties->graphicsProperties.maxSwapchainImageWidth = 1024 * 16;
|
||||
properties->graphicsProperties.maxSwapchainImageHeight = 1024 * 16;
|
||||
properties->trackingProperties.orientationTracking = XR_TRUE;
|
||||
|
|
Loading…
Reference in a new issue