From 41b6460e08bf878ec3372937f63bef2a7b63c484 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 27 Jun 2014 15:34:53 -0700 Subject: 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 Reviewed-by: Juha-Pekka Heikkila Reviewed-by: Neil Roberts v6: Update dispatch_sanity for the addition of CopyImageSubData --- src/mesa/main/textureview.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mesa/main/textureview.h') 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, -- cgit v1.2.3