mesa/src/vulkan/wsi
Adam Jackson 8006179cfd wsi/x11: xcb_wait_for_special_event failure is an error
The only ways that function can return NULL are:

- the xcb connection was closed
- the window for the swapchain was destroyed
- the special event listener was unregistered from another thread
- malloc failure

All of these are permanent errors, the swapchain is no longer in a
usable state, so we should treat this as VK_ERROR_SURFACE_LOST_KHR.

Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15558>
2022-03-25 19:31:13 +00:00
..
meson.build vulkan/wsi: Don't open-code vk_format_get_blocksize() 2022-02-22 10:04:34 +00:00
wsi_common.c vulkan/wsi: handle queue families properly for non-concurrent sharing mode. 2022-03-02 20:47:16 +00:00
wsi_common.h vulkan/wsi: add transition to/from transfer-src state 2022-02-22 10:04:34 +00:00
wsi_common_display.c vulkan/wsi: Stop using VK_OUTARRAY_MAKE() 2022-03-25 11:00:03 +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: untangle buffer-images from prime 2022-02-22 10:04:34 +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: untangle buffer-images from prime 2022-02-22 10:04:34 +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: Stop using VK_OUTARRAY_MAKE() 2022-03-25 11:00:03 +00:00
wsi_common_win32.c vulkan/wsi: drop unused wsi_create_win32_image 2022-03-03 06:13:07 +00:00
wsi_common_x11.c wsi/x11: xcb_wait_for_special_event failure is an error 2022-03-25 19:31:13 +00:00