iris: support dmabuf imports with offsets
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 30 Apr 2019 18:51:52 +0000 (14:51 -0400)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 7 May 2019 20:36:08 +0000 (13:36 -0700)
commitddd716e746767d2ec8599c0ad623c582ba46e5d1
treec933b95920931a95f5643db80ee65e9a8f86a1d5
parent748f603390bdfec129bc73d3d2608db20f1571ae
iris: support dmabuf imports with offsets

this adds support for imports where the image data begins at an offset
from the start of the buffer, as used in h/x264

fixes kwg/mesa#47

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/iris/iris_blit.c
src/gallium/drivers/iris/iris_resource.c
src/gallium/drivers/iris/iris_resource.h
src/gallium/drivers/iris/iris_state.c