mesa/src/vulkan/wsi
Jason Ekstrand 2044f2910c vulkan/wsi: Add a supports_scanout flag
This flag indicates whether or not the legacy scanout flag is supported.
It defaults to true since that has been the default assumption for the
WSI code up until now.

On NVIDIA hardware, we can't render to linear so, if we don't have
modifiers, we want to automatically fall back to the blit path.  In
theory, we could do this inside the driver but it's a giant pain and
much harder to ensure that the blit only happens as part of
vkQueuePresent().

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18826>
2022-09-28 21:35:12 +00:00
..
meson.build radv: Remove redundant radv_QueuePresentKHR. 2022-08-31 03:25:52 +00:00
wsi_common.c vulkan/wsi: Add a supports_scanout flag 2022-09-28 21:35:12 +00:00
wsi_common.h vulkan/wsi: Add a supports_scanout flag 2022-09-28 21:35:12 +00:00
wsi_common_display.c vulkan/wsi: Always configure images in wsi_swapchain_init() 2022-09-28 21:35: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: 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: Add a typedef for memory type select callbacks 2022-09-28 21:35:12 +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: Always configure images in wsi_swapchain_init() 2022-09-28 21:35:12 +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: Always configure images in wsi_swapchain_init() 2022-09-28 21:35:12 +00:00