mesa/src/vulkan/wsi
Lionel Landwerlin e27d217fb1 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>
2023-01-26 00:22:10 +00:00
..
meson.build wsi/meson: add missing dep 2023-01-11 18:24:16 +00:00
wsi_common.c vulkan/wsi: check if image info was already freed 2023-01-16 13:01:52 +00:00
wsi_common.h vulkan/wsi: Hook-up DXGI swapchains and DComp 2023-01-11 09:31:02 +00:00
wsi_common_display.c wsi/display: Implement VK_KHR_present_wait on KHR_display swapchain. 2022-11-23 19:06:12 +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: Use the newly imported dma-buf.h 2023-01-11 22:33:40 +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: Hook-up DXGI swapchains and DComp 2023-01-11 09:31:02 +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 00:22:10 +00:00
wsi_common_win32.cpp vulkan/wsi: Hook-up DXGI swapchains and DComp 2023-01-11 09:31:02 +00:00
wsi_common_x11.c wsi/x11: Support depth 16 visuals 2023-01-16 18:01:08 +00:00