mesa: Add GL API support for ARB_copy_image
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 27 Jun 2014 22:34:53 +0000 (15:34 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 11 Aug 2014 18:20:23 +0000 (11:20 -0700)
commit41b6460e08bf878ec3372937f63bef2a7b63c484
treecd371b795ea620fee2feaba4851c3aa01bee4176
parent23d782067ae834ad53522b46638ea21c62e94ca3
mesa: Add GL API support for ARB_copy_image

This adds the API entrypoint, error checking logic, and a driver hook for
the ARB_copy_image extension.

v2: Fix a typo in ARB_copy_image.xml and add it to the makefile
v3: Put ARB_copy_image.xml in the right place alphebetically in the
    makefile and properly prefix the commit message
v4: Fixed some line wrapping and added a check for null
v5: Check for incomplete renderbuffers

Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Neil Roberts <neil@linux.intel.com>
v6: Update dispatch_sanity for the addition of CopyImageSubData
13 files changed:
src/mapi/glapi/gen/ARB_copy_image.xml [new file with mode: 0644]
src/mapi/glapi/gen/Makefile.am
src/mapi/glapi/gen/gl_API.xml
src/mapi/glapi/gen/gl_genexec.py
src/mesa/Makefile.sources
src/mesa/main/copyimage.c [new file with mode: 0644]
src/mesa/main/copyimage.h [new file with mode: 0644]
src/mesa/main/dd.h
src/mesa/main/extensions.c
src/mesa/main/mtypes.h
src/mesa/main/tests/dispatch_sanity.cpp
src/mesa/main/textureview.c
src/mesa/main/textureview.h