diff options
author | Daniel Borca <[email protected]> | 2003-10-29 14:35:31 +0000 |
---|---|---|
committer | Daniel Borca <[email protected]> | 2003-10-29 14:35:31 +0000 |
commit | 40bd9d0b190e11d39350d1b08d2c2b28e3040bca (patch) | |
tree | e41b12cb816b27f7d0380f8b305c582a039ea7a4 /src/mesa/main/dd.h | |
parent | e96a12101003ffdd61ce37f131631f4e6edaaa91 (diff) |
texture compression
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r-- | src/mesa/main/dd.h | 11 |
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 ); /*@}*/ /** |