Resend with proper subscription for mese-dev ML. Here we extend dri2 to handle dmabuf plain offsets != 0 applicable when GStreamer/Wayland converting YUV->RGB dmabuf buffers using shaders.
Tested on Freedreno and compile tested with configure --with-gallium-drivers=i915,nouveau,r300,r600,swrast,vc4, ilo,radeonsi,svga,swr,virgl regards, Stan Stanimir Varbanov (3): st/dri: add handling of R8 and GR88 DRI fourcc formats st/dri: cleanup image_from_fd/dma_buf paths gallium: push offset down to driver src/gallium/drivers/i915/i915_resource.c | 4 + src/gallium/drivers/ilo/ilo_resource.c | 4 + src/gallium/drivers/llvmpipe/lp_texture.c | 5 +- src/gallium/drivers/nouveau/nv30/nv30_resource.c | 4 + src/gallium/drivers/nouveau/nv50/nv50_resource.c | 4 + src/gallium/drivers/nouveau/nvc0/nvc0_resource.c | 4 + src/gallium/drivers/r300/r300_texture.c | 4 + src/gallium/drivers/radeon/r600_texture.c | 4 + src/gallium/drivers/softpipe/sp_texture.c | 4 + src/gallium/drivers/svga/svga_resource.c | 4 + src/gallium/drivers/vc4/vc4_resource.c | 4 + src/gallium/state_trackers/dri/dri2.c | 99 ++++++++++++++---------- 12 files changed, 103 insertions(+), 41 deletions(-) -- 2.7.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev