summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dd.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-04-27 13:39:20 +0000
committerBrian Paul <[email protected]>2004-04-27 13:39:20 +0000
commit8f04c12e0ad876baa7eb9ed379e2b00150b376e0 (patch)
tree2d30ddd41662329fd0041dc530bce31945775813 /src/mesa/main/dd.h
parent186d4d8cf4bd99c46b388e6ea0c60ec1d039be07 (diff)
Removed the old teximage code.
Moved all code related to specific texture compression modes into new texcompress_s3tc.c and texcompress_fxt1.c files (but not implemented).
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r--src/mesa/main/dd.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index b2b0bbd2377..c29c27efe6a 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -186,9 +186,8 @@ struct dd_function_table {
* functions. The driver should examine \p internalFormat and return a
* pointer to an appropriate gl_texture_format.
*/
- const struct gl_texture_format *
- (*ChooseTextureFormat)( GLcontext *ctx, GLint internalFormat,
- GLenum srcFormat, GLenum srcType );
+ const struct gl_texture_format *(*ChooseTextureFormat)( GLcontext *ctx,
+ GLint internalFormat, GLenum srcFormat, GLenum srcType );
/**
* Called by glTexImage1D().
@@ -454,16 +453,13 @@ struct dd_function_table {
GLsizei imageSize, const GLvoid *data,
struct gl_texture_object *texObj,
struct gl_texture_image *texImage);
+
/**
- * Called to validate a certain compressed format.
- */
- GLboolean (*IsCompressedFormat)( GLcontext *ctx, GLenum internalFormat );
- /**
- * Called to get bytes of storage needed for the given texture size and
- * compressed format.
+ * Called to query number of bytes of storage needed to store the
+ * specified compressed texture.
*/
- GLuint (*CompressedTextureSize)( GLcontext *ctx,
- GLsizei width, GLsizei height, GLsizei depth,
+ GLuint (*CompressedTextureSize)( GLcontext *ctx, GLsizei width,
+ GLsizei height, GLsizei depth,
GLenum format );
/*@}*/