diff options
author | Brian Paul <[email protected]> | 2000-05-23 20:10:49 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-05-23 20:10:49 +0000 |
commit | 1207bf057aeea3376e5e0f03f789a5d67ed4d29d (patch) | |
tree | 525453df0a3b76bef0ff6d3ddfd61345d51a376f /src/mesa/main/teximage.h | |
parent | 35d5301a54153930ee6fd60dff1010ce9f901397 (diff) |
initial work for GL_ARB_texture_compression
Diffstat (limited to 'src/mesa/main/teximage.h')
-rw-r--r-- | src/mesa/main/teximage.h | 44 |
1 files changed, 43 insertions, 1 deletions
diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h index 433bdc34e6c..bbf1836eabb 100644 --- a/src/mesa/main/teximage.h +++ b/src/mesa/main/teximage.h @@ -1,4 +1,4 @@ -/* $Id: teximage.h,v 1.8 2000/05/23 17:14:49 brianp Exp $ */ +/* $Id: teximage.h,v 1.9 2000/05/23 20:10:50 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -145,5 +145,47 @@ _mesa_CopyTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height ); + + +extern void +_mesa_CompressedTexImage1DARB(GLenum target, GLint level, + GLenum internalformat, GLsizei width, + GLint border, GLsizei imageSize, + const GLvoid *data); + +extern void +_mesa_CompressedTexImage2DARB(GLenum target, GLint level, + GLenum internalformat, GLsizei width, + GLsizei height, GLint border, GLsizei imageSize, + const GLvoid *data); + +extern void +_mesa_CompressedTexImage3DARB(GLenum target, GLint level, + GLenum internalformat, GLsizei width, + GLsizei height, GLsizei depth, GLint border, + GLsizei imageSize, const GLvoid *data); + + +extern void +_mesa_CompressedTexSubImage1DARB(GLenum target, GLint level, GLint xoffset, + GLsizei width, GLenum format, + GLsizei imageSize, const GLvoid *data); + +extern void +_mesa_CompressedTexSubImage2DARB(GLenum target, GLint level, GLint xoffset, + GLint yoffset, GLsizei width, GLsizei height, + GLenum format, GLsizei imageSize, + const GLvoid *data); + +extern void +_mesa_CompressedTexSubImage3DARB(GLenum target, GLint level, GLint xoffset, + GLint yoffset, GLint zoffset, GLsizei width, + GLsizei height, GLsizei depth, GLenum format, + GLsizei imageSize, const GLvoid *data); + +extern void +_mesa_GetCompressedTexImageARB(GLenum target, GLint lod, GLvoid *img); + + #endif |