dri: add image cleanup callback to loader extensions
authorDavid Stevens <stevensd@chromium.org>
Thu, 26 Nov 2020 05:03:16 +0000 (14:03 +0900)
committerMarge Bot <eric+marge@anholt.net>
Tue, 15 Dec 2020 06:05:27 +0000 (06:05 +0000)
commit479840459f9562afaecb150537da3173c8735b18
tree0e32b8878c1de5c90474285ab21884baeed2a87c
parent80a028d830e2198a839e346b3b845999680c92e6
dri: add image cleanup callback to loader extensions

The callback may be used by dri drivers to perform cleanup when images
are destroyed. It is added to the dri2 and image loader extensions.

Signed-off-by: David Stevens <stevensd@chromium.org>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7805>
include/GL/internal/dri_interface.h