llvmpipe: add support for EXT_memory_object(_fd)
authorThomas Wagner <twagner@snap.com>
Wed, 11 Aug 2021 08:31:41 +0000 (10:31 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 6 Oct 2021 13:49:08 +0000 (13:49 +0000)
commit1608a815e3305d229091c346373c379900a8351f
treed156685b864618f96848003a476c0d85d175b4c2
parent1166ee9caf3ef8412c1897d926040035981cb4cf
llvmpipe: add support for EXT_memory_object(_fd)

Enable the import of memory via opaque fd handles, which
are based upon memory-fds. The extension is necessary for sharing
images and buffers from Vulkan.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Tested-by: Heinrich Fink <hfink@snap.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12345>
src/gallium/drivers/llvmpipe/lp_texture.c
src/gallium/drivers/llvmpipe/lp_texture.h
src/gallium/include/pipe/p_defines.h