This helps to import dmabuf buffers from DRM_FORMAT_R8 and DRM_FORMAT_GR88 used for example by GStreamer for YUV to RGB conversion using shaders.
9d852a1 st/dri: add handling of R8 and GR88 DRI fourcc formats
src/gallium/state_trackers/dri/dri2.c | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
Upstream: cgit.freedesktop.org