gallium: push offset down to driver
authorStanimir Varbanov <stanimir.varbanov@linaro.org>
Thu, 26 May 2016 22:10:37 +0000 (01:10 +0300)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 30 May 2016 09:26:35 +0000 (10:26 +0100)
commite382bc649b95aa2ab6e86d60b0520236b2bf2947
tree795d03d6c872604a60bcf60b6c0c28ff85630799
parent30d28d7c3148a7f7f2244b117ac0158930e95966
gallium: push offset down to driver

Push offset down to drivers when importing dmabuf. This is needed
to more fully support EGL_EXT_image_dma_buf_import when a non-zero
offset is specified.

Tesing has been done for freedreno, and compile tested following
gallium drivers:
nouveau,svga,virgl,r600,r300,radeonsi,swrast,i915,ilo

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/drivers/nouveau/nouveau_screen.c
src/gallium/drivers/vc4/vc4_screen.c
src/gallium/state_trackers/dri/dri2.c
src/gallium/winsys/i915/drm/i915_drm_buffer.c
src/gallium/winsys/intel/drm/intel_drm_winsys.c
src/gallium/winsys/radeon/drm/radeon_drm_bo.c
src/gallium/winsys/svga/drm/vmw_screen_dri.c
src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c
src/gallium/winsys/virgl/drm/virgl_drm_winsys.c