mesa/src/vulkan
Yiwei Zhang 4feda37353 vulkan/wsi/win32: respect acquire timeout for sw wsi
When DXGI is not supported, win32 falls back to sw wsi without acquire
timeout ignored.

This change:
1. adds the needed acquire mutex and cond
   - the fail path is intentionally left untouched so that mutex and
     cond are both valid when wsi_win32_swapchain_destroy is called
2. adds wsi_win32_acquire_idle_cpu_image helper to respect timeout
3. adds wsi_win32_set_image_idle helper to properly signal acquire_cond
   for sw wsi case

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/15122
Cc: mesa-stable
(cherry picked from commit af42f0c80f)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40752>
2026-04-01 11:45:35 +02:00
..
anti-lag-layer anti-lag: Do not enable layer by default. 2025-09-26 13:29:38 +00:00
device-select-layer wsi/wayland: Use wl_fixes to destroy wl_registry 2026-03-17 12:38:44 +01:00
overlay-layer mesa: replace most occurrences of getenv() with os_get_option() 2025-11-06 04:36:13 +00:00
registry vulkan: update spec to 1.4.335 2025-12-03 14:47:00 +00:00
runtime vulkan: Bump MAX_ENCODE_PASSES 2026-04-01 11:45:34 +02:00
screenshot-layer mesa: replace most occurrences of getenv() with os_get_option() 2025-11-06 04:36:13 +00:00
util vulkan: update ALLOWED_ANDROID_VERSION for api level 36 2025-12-17 19:22:47 +00:00
vram-report-limit-layer clang-format: Update the .clang-format files to conformance clang-format json-schema 2025-09-09 07:04:55 +00:00
wsi vulkan/wsi/win32: respect acquire timeout for sw wsi 2026-04-01 11:45:35 +02:00
meson.build wsi/display: Expose HDR10 colorspace based on EDID 2025-08-05 08:50:05 +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