[Mesa-dev] [PATCH 0/2] Add initial support for GL_ARB_copy_image

Jason Ekstrand jason at jlekstrand.net
Fri Jun 27 18:54:04 PDT 2014


This series adds initial support for GL_ARB_copy_image inside the intel
driver.  Currently, mipmap and extremely large textures are not supported
due to constraints on the blitter hardware.  We can work around that and I
hope to get it solved soon.  However, I'd like to get these on the list so
they don't bitrot in my personal repo.

Jason Ekstrand (2):
  Add GL API support for ARB_copy_image
  i965: Add initial support for ARB_copy_image

 src/mapi/glapi/gen/ARB_copy_image.xml        |  28 +++
 src/mapi/glapi/gen/gl_API.xml                |   2 +-
 src/mapi/glapi/gen/gl_genexec.py             |   1 +
 src/mesa/Makefile.sources                    |   1 +
 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 | 161 +++++++++++++
 src/mesa/drivers/dri/i965/intel_tex.h        |   2 +
 src/mesa/main/copyimage.c                    | 341 +++++++++++++++++++++++++++
 src/mesa/main/copyimage.h                    |  49 ++++
 src/mesa/main/dd.h                           |  16 ++
 src/mesa/main/extensions.c                   |   1 +
 src/mesa/main/mtypes.h                       |   1 +
 src/mesa/main/textureview.c                  |  34 ++-
 src/mesa/main/textureview.h                  |   4 +
 15 files changed, 623 insertions(+), 20 deletions(-)
 create mode 100644 src/mapi/glapi/gen/ARB_copy_image.xml
 create mode 100644 src/mesa/drivers/dri/i965/intel_copy_image.c
 create mode 100644 src/mesa/main/copyimage.c
 create mode 100644 src/mesa/main/copyimage.h

-- 
2.0.0



More information about the mesa-dev mailing list