summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/textureview.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2014-06-27 15:34:53 -0700
committerJason Ekstrand <[email protected]>2014-08-11 11:20:23 -0700
commit41b6460e08bf878ec3372937f63bef2a7b63c484 (patch)
treecd371b795ea620fee2feaba4851c3aa01bee4176 /src/mesa/main/textureview.h
parent23d782067ae834ad53522b46638ea21c62e94ca3 (diff)
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 <[email protected]> Reviewed-by: Juha-Pekka Heikkila <[email protected]> Reviewed-by: Neil Roberts <[email protected]> v6: Update dispatch_sanity for the addition of CopyImageSubData
Diffstat (limited to 'src/mesa/main/textureview.h')
-rw-r--r--src/mesa/main/textureview.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/textureview.h b/src/mesa/main/textureview.h
index 3088ac19393..549a13cd809 100644
--- a/src/mesa/main/textureview.h
+++ b/src/mesa/main/textureview.h
@@ -29,6 +29,10 @@
#ifndef TEXTUREVIEW_H
#define TEXTUREVIEW_H
+GLboolean
+_mesa_texture_view_compatible_format(struct gl_context *ctx,
+ GLenum origInternalFormat,
+ GLenum newInternalFormat);
extern void GLAPIENTRY
_mesa_TextureView(GLuint texture, GLenum target, GLuint origtexture,