mesa/src
Faith Ekstrand 27b2041013 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>
(cherry picked from commit 088a979e79)
2025-07-30 11:31:13 +02:00
..
amd [25.1-only] radeonsi/ci: update expectations for backport MR !36344 2025-07-30 11:31:13 +02:00
android_stub
asahi agx: make sure denorm flushing really happens 2025-07-30 11:31:12 +02:00
broadcom v3dv: Do not increase TFU READAHEAD for imported buffers size 2025-07-16 16:23:12 +02:00
c11 c11: use SPDX-License-Identifier header 2025-01-08 20:37:51 +00:00
compiler nir/opt_remove_phis: skip unreachable phis 2025-07-30 11:31:13 +02:00
drm-shim
egl egl/x11: don't leak device_name when choosing zink 2025-07-30 11:31:12 +02:00
etnaviv meson: Streamline silencing of warnings in bindgen generated code 2025-07-16 16:23:09 +02:00
freedreno tu: Use safe-const binning VS when safe-const full VS is used 2025-07-30 11:31:10 +02:00
gallium lavapipe: fix maint4 vkGetDeviceImageMemoryRequirements 2025-07-30 11:31:13 +02:00
gbm meson: support building with system libgbm 2025-04-09 12:15:33 +00:00
getopt
gfxstream gfxstream: get rid of logspam in virtualized case 2025-06-04 15:52:44 +02:00
glx glx: Fix memory leak with software dri 2025-07-02 16:19:30 +02:00
gtest
imagination treewide: Switch to nir_progress 2025-02-26 15:19:53 +00:00
imgui
intel anv: fix format compatibility check typo 2025-07-30 11:31:13 +02:00
loader loader: Report DRI_PRIME errors earlier 2025-07-16 16:23:12 +02:00
mapi Get rid of 5 remaining references to glapitable.h 2025-04-27 11:44:57 +02:00
mesa bufferobj: init the return value for GetParam functions 2025-07-30 11:31:11 +02:00
microsoft dzn: Roll up initialization failure in dzn_meta_init 2025-07-02 16:19:32 +02:00
nouveau nouveau/headers: Stop running rustfmt 2025-07-16 16:23:12 +02:00
panfrost pan/genxml: Add missing parenthesis on pan_cast_and_pack macros 2025-07-30 11:31:11 +02:00
tool perfetto/android: align datasource names with tooling expectations 2025-04-08 18:29:10 +00:00
util util: add workaround for Interstellar Rift 2025-07-30 11:31:12 +02:00
virtio venus: allow to build vtest-only on non-DRM/KMS systems 2025-07-16 16:23:10 +02:00
vulkan vulkan: Hold a reference to pending vk_sync_timeline_points 2025-07-30 11:31:13 +02:00
x11 glx/egl/x11: fix x11_dri3_check_multibuffer 2025-02-17 02:50:15 +00:00
.clang-format radv: Add radv_foreach_stage to ForEachMacros again. 2025-04-11 18:01:47 +00:00
meson.build meson: split subdir for virtio/vdrm and virtio/vulkan 2025-07-16 16:23:06 +02:00