mesa/src/vulkan
Faith Ekstrand 088a979e79 vulkan: Hold a reference to pending vk_sync_timeline_points
Previously, we had a sort of double reference count with refcount being
used to track how many waits were holding a reference and pending being
used to track whether or not it was in the pending list. This meant
that the unref operation actually had to look at both refcount and
pending in order to determine if it could free the time point. This is
way too confusing. Instead, we should just always take a reference
while we're pending.

This also simplifies the over-all interface because there's no longer a
difference between free and release. `struct vk_sync_timeline_point` is
now just a reference-counted API.

Reviewed-by: Maíra Canal <mcanal@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35921>
2025-07-24 18:49:02 -03:00
..
anti-lag-layer anti-lag: Submit timestamps early in a frame. 2025-07-24 09:50:08 +00:00
device-select-layer egl/wayland: Move bind_wayland_display to legacy build option 2025-07-10 14:51:20 +00:00
overlay-layer meson: include VkLayer_MESA_overlay in the devenv 2025-06-20 21:51:17 +00:00
registry vulkan: update headers/xml for 1.4.318 2025-06-14 08:21:31 +00:00
runtime vulkan: Hold a reference to pending vk_sync_timeline_points 2025-07-24 18:49:02 -03:00
screenshot-layer vulkan/screenshot-layer: Correct queueFamilyIndex source 2025-02-20 22:36:44 +00:00
util vulkan/cmd_queue: don't null deref when freeing pNext 2025-07-09 05:48:22 +00:00
vram-report-limit-layer vulkan: Add inital vram-report-limit layer 2025-01-24 19:56:43 +00:00
wsi wsi/display: Add error messages to some shouldn't-be-hit paths. 2025-07-21 22:53:54 +00:00
meson.build vulkan: implement VK_AMD_anti_lag as implicit vulkan layer 2025-07-24 09:50:07 +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