mesa/src/vulkan/wsi
Roman Gilg ec5e918ef4 vulkan/wsi/x11: wait for acquirable images in FIFO mode
In FIFO presentation mode we block either on our present-queue or on Present
events after an image was transmitted.

In case we receive completion events without idle events at some point we
exhaust our acquire-queue and can not block anymore on present-queue.

Ensure that the consumer has at least one image to acquire before blocking
again on present-queue. Otherwise wait for one from the X server.

CC: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3344
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Simon Ser <contact@emersion.fr>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6513>
2020-09-01 13:59:53 +02:00
..
meson.build meson: fix android vulkan build 2020-07-14 09:34:54 +00:00
wsi_common.c vulkan/wsi: add sw support. (v2) 2020-08-17 14:30:50 +10:00
wsi_common.h vulkan/wsi: add sw support. (v2) 2020-08-17 14:30:50 +10:00
wsi_common_display.c vulkan/wsi: Really terminate DRM lease in wsi_release_display(). 2020-06-21 11:20:54 +00:00
wsi_common_display.h wsi/display: s/#if/#ifdef/ to fix -Wundef 2019-03-11 10:49:36 +00:00
wsi_common_private.h vulkan/wsi: Make wsi_swapchain inherit from vk_object_base 2020-05-04 14:06:27 +00:00
wsi_common_queue.h vulkan/wsi: Fix resource leak in success path of wsi_queue_init() 2016-11-28 21:11:25 +00:00
wsi_common_wayland.c vulkan/wsi: Convert usage of -1 to UINT32_MAX. 2020-07-27 11:30:22 +00:00
wsi_common_wayland.h
wsi_common_x11.c vulkan/wsi/x11: wait for acquirable images in FIFO mode 2020-09-01 13:59:53 +02:00
wsi_common_x11.h vulkan: drop always-true param 2018-10-26 18:33:11 +01:00