iris: support dmabuf imports with offsets

Graphics / Mesa 3D Graphics Library / Mesa - Mike Blumenkrantz [gmail.com] - 7 May 2019 20:36 EDT

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

ddd716e7467 iris: support dmabuf imports with offsets
src/gallium/drivers/iris/iris_blit.c | 2 +-
src/gallium/drivers/iris/iris_resource.c | 8 ++------
src/gallium/drivers/iris/iris_resource.h | 3 +++
src/gallium/drivers/iris/iris_state.c | 11 ++++++-----
4 files changed, 12 insertions(+), 12 deletions(-)

Upstream: cgit.freedesktop.org


  • Share