summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texgetimage.h
diff options
context:
space:
mode:
authorLaura Ekstrand <[email protected]>2015-01-06 11:39:04 -0800
committerLaura Ekstrand <[email protected]>2015-01-08 11:37:29 -0800
commit8b5482ec035d0d8ad36b08f33fcd20f15ea39000 (patch)
tree7f3cd8785d43daa14bbdfce0808896afa4c551ed /src/mesa/main/texgetimage.h
parenta739bdeb1d294041984e05046043097a0d9fa833 (diff)
main: Added entry point for glGetCompressedTextureImage.
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/main/texgetimage.h')
-rw-r--r--src/mesa/main/texgetimage.h12
1 files changed, 12 insertions, 0 deletions
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 */