radeon/winsys: add offset support for BO import/export
authorChristian König <christian.koenig@amd.com>
Tue, 12 Jan 2016 14:59:11 +0000 (15:59 +0100)
committerChristian König <christian.koenig@amd.com>
Thu, 17 Mar 2016 13:17:03 +0000 (14:17 +0100)
commit04bc082f6a8bfc3b3774bb102d3200317609432e
tree9ef4d2a8ffe48087f97d4e00674c4aa17e9df33f
parentf1e78a48f2ec2645eb87d134c6961815dc89a307
radeon/winsys: add offset support for BO import/export

Add offset support to handle NV12 offsets as well.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/r300/r300_texture.c
src/gallium/drivers/radeon/r600_texture.c
src/gallium/drivers/radeon/radeon_winsys.h
src/gallium/winsys/amdgpu/drm/amdgpu_bo.c
src/gallium/winsys/radeon/drm/radeon_drm_bo.c