306feaf3a4
The main intention is to allow to pass dmabuf handles, however as its type differs depending on platform, just pass the whole whandle. Also make use of it in llvmpipe_resource_from_handle(), in preparation for the next commit. Signed-off-by: Robert Mader <robert.mader@collabora.com> Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37305>