mesa/src/vulkan
Michel Dänzer c3be21f177 wsi/wayland: Dispatch event queue in wsi_wl_swapchain_queue_present
With explicit sync, only if it wasn't done earlier for FIFO.

Prevents potentially unbounded memory usage for (wl_buffer.release
events in) the queue, since we don't dispatch the queue anywhere else
with explicit sync.

v2:
* Use wl_display_dispatch_queue_pending instead of
  wl_display_dispatch_queue_timeout. (Sebastian Wick)
* Call it from wsi_wl_swapchain_queue_present instead of
  wsi_wl_swapchain_acquire_next_image_explicit. (Joshua Ashton)

Fixes: 5f7a5a27ef ("wsi: Implement linux-drm-syncobj-v1")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28874>
2024-04-26 15:11:00 +00:00
..
device-select-layer device_select: add shortcut for MESA_VK_DEVICE_SELECT_FORCE_DEFAULT_DEVICE 2023-09-18 07:45:28 +00:00
overlay-layer vk/overlay-layer: simplify print and make it more readable 2024-04-18 12:56:39 +00:00
registry vk/update-aliases: drop VK_ERROR_ prefix substitution 2024-03-11 14:48:14 +00:00
runtime vulkan: pass cmdbuf level to vk_command_buffer_ops::create() 2024-04-23 06:33:31 +00:00
util vulkan: don't zero-initialize STACK_ARRAY()'s stack array 2024-04-08 17:23:25 +00:00
wsi wsi/wayland: Dispatch event queue in wsi_wl_swapchain_queue_present 2024-04-26 15:11:00 +00:00
meson.build vulkan/wsi: fix build when platform headers are installed in non-standard locations 2023-12-15 18:35:54 +00:00
vulkan-android.sym android/vk: drop unnecessary symbols 2023-03-04 07:41:10 +00:00
vulkan-icd-android-symbols.txt vk: be stricter about symbols check between android and other platforms 2023-03-04 07:41:10 +00:00
vulkan-icd-symbols.txt vk: be stricter about symbols check between android and other platforms 2023-03-04 07:41:10 +00:00
vulkan.sym vk: move radv's linker symbols scripts for use in all drivers 2023-03-04 07:41:10 +00:00
vulkan_api.def.in win32: Fixes 32 bits visual studio module definition files by add script gen_vs_module_defs.py 2022-04-19 19:38:47 +00:00