mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 23:20:08 +01:00
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> |
||
|---|---|---|
| .. | ||
| ci | ||
| protocols | ||
| vdrm | ||
| venus-protocol | ||
| virtgpu_kumquat | ||
| virtgpu_kumquat_ffi | ||
| virtio-gpu | ||
| vtest | ||
| vulkan | ||