From 8b5482ec035d0d8ad36b08f33fcd20f15ea39000 Mon Sep 17 00:00:00 2001 From: Laura Ekstrand Date: Tue, 6 Jan 2015 11:39:04 -0800 Subject: main: Added entry point for glGetCompressedTextureImage. Reviewed-by: Anuj Phogat --- src/mesa/main/texgetimage.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/mesa/main/texgetimage.h') diff --git a/src/mesa/main/texgetimage.h b/src/mesa/main/texgetimage.h index 20e7d2db889..1fa2f59dcdc 100644 --- a/src/mesa/main/texgetimage.h +++ b/src/mesa/main/texgetimage.h @@ -54,6 +54,14 @@ _mesa_get_texture_image(struct gl_context *ctx, GLint level, GLenum format, GLenum type, GLsizei bufSize, GLvoid *pixels, bool dsa); +extern void +_mesa_get_compressed_texture_image( struct gl_context *ctx, + struct gl_texture_object *texObj, + struct gl_texture_image *texImage, + GLenum target, GLint level, + GLsizei bufSize, GLvoid *pixels, + bool dsa ); + extern void GLAPIENTRY _mesa_GetTexImage( GLenum target, GLint level, @@ -72,4 +80,8 @@ extern void GLAPIENTRY _mesa_GetnCompressedTexImageARB(GLenum target, GLint level, GLsizei bufSize, GLvoid *img); +extern void GLAPIENTRY +_mesa_GetCompressedTextureImage(GLuint texture, GLint level, GLsizei bufSize, + GLvoid *pixels); + #endif /* TEXGETIMAGE_H */ -- cgit v1.2.3