}
-/*
- * Compute the bytes per row in a compressed texture image.
- * We use this for computing the destination address for sub-texture updates.
- * \param mesaFormat one of the MESA_FORMAT_* compressed formats
- * \param width image width in pixels
- * \return stride, in bytes, between rows for compressed image
- */
-GLint
-_mesa_compressed_row_stride(gl_format mesaFormat, GLsizei width)
-{
- GLint stride = _mesa_format_row_stride(mesaFormat, width);
- return stride;
-}
-
-
/*
* Return the address of the pixel at (col, row, img) in a
* compressed texture image.
extern gl_format
_mesa_glenum_to_compressed_format(GLenum format);
-extern GLint
-_mesa_compressed_row_stride(gl_format mesaFormat, GLsizei width);
-
-
extern GLubyte *
_mesa_compressed_image_address(GLint col, GLint row, GLint img,
gl_format mesaFormat,
/* no-op macros */
#define _mesa_get_compressed_formats( c, f ) 0
#define _mesa_compressed_texture_size_glenum( c, w, h, d, f ) 0
-#define _mesa_compressed_row_stride( f, w) 0
#define _mesa_compressed_image_address(c, r, i, f, w, i2 ) 0
#define _mesa_compress_teximage( c, w, h, sF, s, sRS, dF, d, drs ) ((void)0)