summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dd.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-05-24 14:04:06 +0000
committerBrian Paul <[email protected]>2000-05-24 14:04:06 +0000
commitaea66b135eaa5a5f2bc8c652fa7a1a42cca2fe83 (patch)
treefa954627d893033955ef365a576c08ad72386cb5 /src/mesa/main/dd.h
parent98b88b3e70c079ce2b98221f7ef155af6417daf8 (diff)
more work on GL_ARB_texture_compression
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r--src/mesa/main/dd.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index ac6ce764736..106d99d780f 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -640,6 +640,34 @@ struct dd_function_table {
* Core Mesa will perform any image format/type conversions that are needed.
*/
+ GLboolean (*CompressedTexImage1D)( GLcontext *ctx, GLenum target,
+ GLint level, const GLvoid *data,
+ struct gl_texture_object *texObj,
+ struct gl_texture_image *texImage,
+ GLboolean *retainInternalCopy);
+ GLboolean (*CompressedTexImage2D)( GLcontext *ctx, GLenum target,
+ GLint level, const GLvoid *data,
+ struct gl_texture_object *texObj,
+ struct gl_texture_image *texImage,
+ GLboolean *retainInternalCopy);
+ GLboolean (*CompressedTexImage3D)( GLcontext *ctx, GLenum target,
+ GLint level, const GLvoid *data,
+ struct gl_texture_object *texObj,
+ struct gl_texture_image *texImage,
+ GLboolean *retainInternalCopy);
+ /* Called by glCompressedTexImage1/2/3D.
+ * Arguments:
+ * <target>, <level>, <internalFormat>, <data> are user specified.
+ * <texObj> is the target texture object.
+ * <texImage> is the target texture image. It will have the texture
+ * width, height, depth, border and internalFormat information.
+ * <retainInternalCopy> is returned by this function and indicates whether
+ * core Mesa should keep an internal copy of the texture image.
+ * Return GL_TRUE if operation completed, return GL_FALSE if core Mesa
+ * should do the job.
+ */
+
+
void (*TexEnv)( GLcontext *ctx, GLenum target, GLenum pname,
const GLfloat *param );
/* Called by glTexEnv*().