zink: delete zink_resource_object::acquire
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 21 Jun 2022 20:25:32 +0000 (16:25 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 28 Jun 2022 02:42:02 +0000 (02:42 +0000)
commit5c5ab9e173cb0fafca4f03c6f9a3a657f6f59a4f
tree8ffb528839c35a54399b87d93b3a4d84372605fe
parent8ab8b729d6576772c1ea49c9351bcf696f498ca2
zink: delete zink_resource_object::acquire

this was duplicated from the swapchain object for convenience, but really
it just leads to desync if a swapchain is shared, so use the swapchain
one instead

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17149>
src/gallium/drivers/zink/zink_context.c
src/gallium/drivers/zink/zink_kopper.c
src/gallium/drivers/zink/zink_resource.h