From 8f04c12e0ad876baa7eb9ed379e2b00150b376e0 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 27 Apr 2004 13:39:20 +0000 Subject: Removed the old teximage code. Moved all code related to specific texture compression modes into new texcompress_s3tc.c and texcompress_fxt1.c files (but not implemented). --- src/mesa/main/texformat_tmp.h | 109 ------------------------------------------ 1 file changed, 109 deletions(-) (limited to 'src/mesa/main/texformat_tmp.h') diff --git a/src/mesa/main/texformat_tmp.h b/src/mesa/main/texformat_tmp.h index ba52a8812a..5c5bf6dc72 100644 --- a/src/mesa/main/texformat_tmp.h +++ b/src/mesa/main/texformat_tmp.h @@ -1001,115 +1001,6 @@ static void FETCH(f_ycbcr_rev)( const struct gl_texture_image *texImage, } -#if DIM == 2 /* Only 2D compressed textures possible */ - -static void FETCH(rgb_fxt1)( const struct gl_texture_image *texImage, - GLint i, GLint j, GLint k, GLchan *texel ) -{ - /* Extract the (i,j) pixel from texImage->Data and return it - * in texel[RCOMP], texel[GCOMP], texel[BCOMP], texel[ACOMP]. - */ -} - -static void FETCH(f_rgb_fxt1)( const struct gl_texture_image *texImage, - GLint i, GLint j, GLint k, GLfloat *texel ) -{ - /* Extract the (i,j) pixel from texImage->Data and return it - * in texel[RCOMP], texel[GCOMP], texel[BCOMP], texel[ACOMP]. - */ -} - -static void FETCH(rgba_fxt1)( const struct gl_texture_image *texImage, - GLint i, GLint j, GLint k, GLchan *texel ) -{ - /* Extract the (i,j) pixel from texImage->Data and return it - * in texel[RCOMP], texel[GCOMP], texel[BCOMP], texel[ACOMP]. - */ -} - -static void FETCH(f_rgba_fxt1)( const struct gl_texture_image *texImage, - GLint i, GLint j, GLint k, GLfloat *texel ) -{ - /* Extract the (i,j) pixel from texImage->Data and return it - * in texel[RCOMP], texel[GCOMP], texel[BCOMP], texel[ACOMP]. - */ -} - -#endif /* if DIM == 2 */ - - -#if DIM == 2 /* only 2D is valid */ - -static void FETCH(rgb_dxt1)( const struct gl_texture_image *texImage, - GLint i, GLint j, GLint k, GLchan *texel ) -{ - /* Extract the (i,j) pixel from texImage->Data and return it - * in texel[RCOMP], texel[GCOMP], texel[BCOMP], texel[ACOMP]. - */ -} - -static void FETCH(f_rgb_dxt1)( const struct gl_texture_image *texImage, - GLint i, GLint j, GLint k, GLfloat *texel ) -{ - /* Extract the (i,j) pixel from texImage->Data and return it - * in texel[RCOMP], texel[GCOMP], texel[BCOMP], texel[ACOMP]. - */ -} - - -static void FETCH(rgba_dxt1)( const struct gl_texture_image *texImage, - GLint i, GLint j, GLint k, GLchan *texel ) -{ - /* Extract the (i,j) pixel from texImage->Data and return it - * in texel[RCOMP], texel[GCOMP], texel[BCOMP], texel[ACOMP]. - */ -} - -static void FETCH(f_rgba_dxt1)( const struct gl_texture_image *texImage, - GLint i, GLint j, GLint k, GLfloat *texel ) -{ - /* Extract the (i,j) pixel from texImage->Data and return it - * in texel[RCOMP], texel[GCOMP], texel[BCOMP], texel[ACOMP]. - */ -} - - -static void FETCH(rgba_dxt3)( const struct gl_texture_image *texImage, - GLint i, GLint j, GLint k, GLchan *texel ) -{ - /* Extract the (i,j) pixel from texImage->Data and return it - * in texel[RCOMP], texel[GCOMP], texel[BCOMP], texel[ACOMP]. - */ -} - -static void FETCH(f_rgba_dxt3)( const struct gl_texture_image *texImage, - GLint i, GLint j, GLint k, GLfloat *texel ) -{ - /* Extract the (i,j) pixel from texImage->Data and return it - * in texel[RCOMP], texel[GCOMP], texel[BCOMP], texel[ACOMP]. - */ -} - - -static void FETCH(rgba_dxt5)( const struct gl_texture_image *texImage, - GLint i, GLint j, GLint k, GLchan *texel ) -{ - /* Extract the (i,j) pixel from texImage->Data and return it - * in texel[RCOMP], texel[GCOMP], texel[BCOMP], texel[ACOMP]. - */ -} - -static void FETCH(f_rgba_dxt5)( const struct gl_texture_image *texImage, - GLint i, GLint j, GLint k, GLfloat *texel ) -{ - /* Extract the (i,j) pixel from texImage->Data and return it - * in texel[RCOMP], texel[GCOMP], texel[BCOMP], texel[ACOMP]. - */ -} - -#endif - - /* big-endian */ -- cgit v1.2.3