summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dd.h
diff options
context:
space:
mode:
authorDaniel Borca <[email protected]>2003-10-29 14:35:31 +0000
committerDaniel Borca <[email protected]>2003-10-29 14:35:31 +0000
commit40bd9d0b190e11d39350d1b08d2c2b28e3040bca (patch)
treee41b12cb816b27f7d0380f8b305c582a039ea7a4 /src/mesa/main/dd.h
parente96a12101003ffdd61ce37f131631f4e6edaaa91 (diff)
texture compression
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r--src/mesa/main/dd.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index a4aa534510d..99422273543 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -480,6 +480,17 @@ 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.
+ */
+ GLuint (*CompressedTextureSize)( GLcontext *ctx,
+ GLsizei width, GLsizei height, GLsizei depth,
+ GLenum format );
/*@}*/
/**