mesa/src/vulkan/wsi
Yuxuan Shui 8deba07452
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
vulkan/wsi/x11: Make sure error is returned if create_swapchain fails
After successful initialization of images, `result` is `VK_SUCCESS`. But
there are still a few failure paths, in which cases
x11_surface_create_swapchain will return `VK_SUCCESS` but not actually
allocate a swapchain.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37800>
2026-02-05 19:15:19 +00:00
..
meson.build x11: Add an x11_xlib_display_is_thread_safe() helper 2025-07-16 01:32:56 +00:00
wsi_common.c wsi/common: Allow timestampValidBits < 64 for present timing. 2026-01-27 11:09:53 +00:00
wsi_common.h wsi/common: Allow timestampValidBits < 64 for present timing. 2026-01-27 11:09:53 +00:00
wsi_common_display.c vulkan/wsi: Fix realloc error handling in wsi_get_modifiers_for_format 2026-01-29 23:15:37 +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 wsi: Fix the flagging of dma_buf_sync_file for the amdgpu workaround. 2025-10-20 03:58:47 +00:00
wsi_common_drm.h vk/wsi: C++-proof wsi_common_drm.h 2023-03-24 15:49:25 +00:00
wsi_common_headless.c vulkan/wsi: Add no-op present timing support to most backends. 2026-01-27 11:09:50 +00:00
wsi_common_metal.c vulkan/wsi: Add no-op present timing support to most backends. 2026-01-27 11:09:50 +00:00
wsi_common_metal_layer.h wsi/metal: Disable reference counting 2025-10-13 20:17:16 +00:00
wsi_common_metal_layer.m docs: update/fix vk spec urls 2025-10-22 09:23:34 +02:00
wsi_common_private.h wsi/common: Allow timestampValidBits < 64 for present timing. 2026-01-27 11:09:53 +00:00
wsi_common_queue.h vulkan/wsi/x11: Make sure error is returned if create_swapchain fails 2026-02-05 19:15:19 +00:00
wsi_common_wayland.c vulkan/wsi: Call wl_display_roundtrip on our queue 2026-01-29 10:10:58 +00:00
wsi_common_win32.cpp vulkan/wsi: Add no-op present timing support to most backends. 2026-01-27 11:09:50 +00:00
wsi_common_x11.c vulkan/wsi/x11: Make sure error is returned if create_swapchain fails 2026-02-05 19:15:19 +00:00