mesa: use atomics instead of mutexes for refcounting renderbuffers
authorMarek Olšák <marek.olsak@amd.com>
Mon, 7 Jun 2021 13:26:55 +0000 (09:26 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Sun, 27 Jun 2021 14:27:09 +0000 (10:27 -0400)
commitcfb43c7e1ba70bd405314b2a04d2bd7d74f25b4e
tree9206d354fa5228a2f2e42a16800506dc3489e7ab
parente77adbffb45bfad805a880135bfadea0cfb0c49e
mesa: use atomics instead of mutexes for refcounting renderbuffers

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11339>
src/mesa/main/fbobject.c
src/mesa/main/mtypes.h
src/mesa/main/renderbuffer.c