i965: Add support for ARB_copy_image

Graphics / Mesa 3D Graphics Library / Mesa - Jason Ekstrand [intel.com] - 11 August 2014 13:26 UTC

This, together with the meta path, provides a complete implemetation of ARB_copy_image.

v2: Add a fallback memcpy path for when the texture is too big for the blitter
v3: Properly support copying between two places on the same texture in the memcpy fallback
v4: Properly handle blit between the same two images in the fallback path
v5: Properly handle blit between the same two compressed images in the fallback path
v6: Fix a typo in a comment

410fea8 i965: Add support for ARB_copy_image
src/mesa/drivers/dri/i965/Makefile.sources | 1 +
src/mesa/drivers/dri/i965/brw_context.c | 1 +
src/mesa/drivers/dri/i965/intel_copy_image.c | 267 ++++++++++++++++++++++++++
src/mesa/drivers/dri/i965/intel_extensions.c | 1 +
src/mesa/drivers/dri/i965/intel_tex.h | 2 +
5 files changed, 272 insertions(+)

Upstream: cgit.freedesktop.org


  • Share