GLuint
_mesa_compressed_texture_size( GLcontext *ctx,
GLsizei width, GLsizei height, GLsizei depth,
- GLuint mesaFormat )
+ gl_format mesaFormat )
{
return _mesa_format_image_size(mesaFormat, width, height, depth);
}
* \return stride, in bytes, between rows for compressed image
*/
GLint
-_mesa_compressed_row_stride(GLuint mesaFormat, GLsizei width)
+_mesa_compressed_row_stride(gl_format mesaFormat, GLsizei width)
{
GLint stride;
*/
GLubyte *
_mesa_compressed_image_address(GLint col, GLint row, GLint img,
- GLuint mesaFormat,
+ gl_format mesaFormat,
GLsizei width, const GLubyte *image)
{
GLubyte *addr;
#define TEXCOMPRESS_H
#include "mtypes.h"
+#include "formats.h"
#if _HAVE_FULL_GL
extern GLuint
_mesa_compressed_texture_size( GLcontext *ctx,
GLsizei width, GLsizei height, GLsizei depth,
- GLuint mesaFormat );
+ gl_format mesaFormat );
extern GLuint
_mesa_compressed_texture_size_glenum(GLcontext *ctx,
GLsizei depth, GLenum glformat);
extern GLint
-_mesa_compressed_row_stride(GLuint mesaFormat, GLsizei width);
+_mesa_compressed_row_stride(gl_format mesaFormat, GLsizei width);
extern GLubyte *
_mesa_compressed_image_address(GLint col, GLint row, GLint img,
- GLuint mesaFormat,
+ gl_format mesaFormat,
GLsizei width, const GLubyte *image);