* 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().
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 );
/*@}*/