zink: guarantee egl syncobj lifetime
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 28 Sep 2023 17:35:12 +0000 (13:35 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 4 Oct 2023 02:27:53 +0000 (02:27 +0000)
commit72323f66d9991029c6533aeb2d76c0bf8ae9d651
tree9d12c5a47bab9d7c7e8ea85f70afff8e6ce10111
parent4ef22262104ede9956fbd2eff44f9ab6fe5235a2
zink: guarantee egl syncobj lifetime

according to spec, egl syncobjs can be deleted before they complete,
which means they need to be preserved while they're still in progress

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25460>
src/gallium/drivers/zink/zink_batch.c
src/gallium/drivers/zink/zink_context.c
src/gallium/drivers/zink/zink_fence.c
src/gallium/drivers/zink/zink_types.h