mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-16 18:28:05 +02:00
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> |
||
|---|---|---|
| .. | ||
| anti-lag-layer | ||
| device-select-layer | ||
| overlay-layer | ||
| registry | ||
| runtime | ||
| screenshot-layer | ||
| util | ||
| vram-report-limit-layer | ||
| wsi | ||
| meson.build | ||
| vulkan-android.sym | ||
| vulkan-icd-android-symbols.txt | ||
| vulkan-icd-symbols.txt | ||
| vulkan.sym | ||
| vulkan_api.def.in | ||