diff options
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r-- | src/mesa/main/dd.h | 18 |
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 ); /*@}*/ |