mesa/src/virtio
Christian Gmeiner b393518bdf
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
treewide: Use wsi_common_is_swapchain_image() helper
Replace the duplicated swapchain image detection pattern across all
Vulkan drivers with the new wsi_common_is_swapchain_image() helper.

Since the swapchain handle can be extracted from VkImageCreateInfo's
pNext chain inside wsi_common_create_swapchain_image(), remove the
now-redundant VkSwapchainKHR parameter from that function.

This removes the #ifdef guards for Android/WSI platforms from each
driver, as the helper now handles this uniformly.

Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38541>
2025-12-11 20:20:39 +00:00
..
ci ci: Uprev VKCTS 2025-12-10 11:31:31 +00:00
protocols mesa: import mesa3d_protocols 2025-06-17 22:28:54 +00:00
vdrm treewide: use UTIL_DYNARRAY_INIT 2025-11-04 13:39:48 +00:00
venus-protocol venus: sync protocol for VK_EXT_mesh_shader support 2025-12-03 07:21:53 +00:00
virtgpu_kumquat virtio: kumquat: slice length fix 2025-10-20 15:45:06 +00:00
virtgpu_kumquat_ffi clang-format: Update the .clang-format files to conformance clang-format json-schema 2025-09-09 07:04:55 +00:00
virtio-gpu virgl: Support new resource-layout command 2025-11-26 14:43:12 +00:00
vtest virtio/vdrm: Add vtest backend 2025-04-08 15:38:39 +00:00
vulkan treewide: Use wsi_common_is_swapchain_image() helper 2025-12-11 20:20:39 +00:00