gallium: dmabuf support for yuv formats that are not natively supported
authorJames Xiong <james.xiong@intel.com>
Thu, 16 Jan 2020 18:19:34 +0000 (10:19 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 22 Jan 2020 21:18:49 +0000 (21:18 +0000)
commitac0219cc5b6afa6d0392a164b58e21ce95079930
treefdbf60f9e0eedaaaf90f4f2afb6e71b43e974384
parent5f78524d9b5c579d492470ebd635178339a551a6
gallium: dmabuf support for yuv formats that are not natively supported

V2 (Kenneth Graunke):
   added a helper function to check if every format is supported

Signed-off-by: James Xiong <james.xiong@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2846>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2846>
src/gallium/state_trackers/dri/dri2.c
src/gallium/state_trackers/dri/dri_helpers.c
src/gallium/state_trackers/dri/dri_helpers.h