mesa/src/vulkan/wsi
Lionel Landwerlin 5a2ca86429 vulkan/wsi/wayland: improve same gpu detection
Some compositor like KWin do not return the render node.

v2: Make sure we test if only drm_info.hasPrimary is true (Jason)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: db42ed1e04 ("vulkan/wsi/wl: correctly find whether the compositor uses the same GPU")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8139
Reviewed-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20914>
(cherry picked from commit e27d217fb1)
2023-01-26 15:40:35 +00:00
..
meson.build vulkan/wsi: Add dep_libudev to idep dependencies 2022-10-14 21:10:29 +00:00
wsi_common.c vulkan/wsi: check if image info was already freed 2023-01-26 15:40:30 +00:00
wsi_common.h vulkan/wsi/wl: correctly find whether the compositor uses the same GPU 2022-10-26 20:34:15 +00:00
wsi_common_display.c vulkan/wsi/display: Reset connector state in vkReleaseDisplay(). 2022-11-09 21:22:06 +00:00
wsi_common_display.h vulkan/wsi/display: Wrap wsi_display_fence in a vk_sync 2021-11-16 10:54:27 -06:00
wsi_common_drm.c vulkan/wsi: Add a supports_scanout flag 2022-09-28 21:35:12 +00:00
wsi_common_drm.h vulkan/wsi: create a common function to compare drm devices 2022-01-14 12:19:57 +00:00
wsi_common_private.h vulkan/wsi/wayland: introduce struct wsi_wl_surface 2022-10-21 12:15:37 +00:00
wsi_common_queue.h util/vector: make util_vector_init harder to misuse 2021-10-08 00:15:11 +00:00
wsi_common_wayland.c vulkan/wsi/wayland: improve same gpu detection 2023-01-26 15:40:35 +00:00
wsi_common_win32.c vulkan/wsi: Always configure images in wsi_swapchain_init() 2022-09-28 21:35:12 +00:00
wsi_common_x11.c vulkan/wsi/x11: Fix double free of modifiers. 2022-09-30 23:39:25 +00:00