mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-26 16:41:49 +00:00
e48c748a57
As before, on the service side the GPU index the compositor runs on can be selected with * XRT_COMPOSITOR_FORCE_GPU_INDEX=INDEX1 By default xrGetVulkanGraphicsDevice() will suggest the same GPU the compositor runs on. It is also possible to override the GPU index suggested to applications with * XRT_COMPOSITOR_FORCE_CLIENT_GPU_INDEX=INDEX2 The reason this is both done on the service side is that if compositor and client run on different GPUs, the swapchains use linear tiling instead of optimal tiling. To make chosen GPUs comparable across the compositor's and the client's vulkan instance, VkPhysicalDeviceIDProperties.deviceUUID is used. |
||
---|---|---|
.. | ||
dev | ||
gui | ||
oxr | ||
prober | ||
CMakeLists.txt | ||
meson.build |