mesa/src/vulkan/wsi
Philipp Zabel f29f656530 vulkan/wsi/wayland: fix acquire_next_image to report timeouts properly
The Vulkan Specification states about possible return values from
vkAcquireNextImageKHR:

 * VK_NOT_READY is returned if timeout is zero and no image was
   available.
 * VK_TIMEOUT is returned if timeout is greater than zero and less than
   UINT64_MAX, and no image beae available within the time allowed.

That is, if info->timeout is larger than zero, the function must return
VK_TIMEOUT instead of VK_NOT_READY if no image became available before
the timeout elapsed.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21190>
2023-02-10 11:32:54 +00:00
..
meson.build wsi/meson: add missing dep 2023-01-11 18:24:16 +00:00
wsi_common.c vulkan/wsi: Add a wsi_device param to get_present_modes 2023-02-02 01:30:28 +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 vulkan/wsi: Add a wsi_device param to get_present_modes 2023-02-02 01:30:28 +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: Add a wsi_device param to get_present_modes 2023-02-02 01:30:28 +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: fix acquire_next_image to report timeouts properly 2023-02-10 11:32:54 +00:00
wsi_common_win32.cpp wsi/win32: We don't need a window DC for DXGI 2023-02-02 19:48:00 +00:00
wsi_common_x11.c vulkan/wsi: Add a wsi_device param to get_present_modes 2023-02-02 01:30:28 +00:00