diff options
author | Brian Paul <[email protected]> | 2004-04-27 13:39:20 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-04-27 13:39:20 +0000 |
commit | 8f04c12e0ad876baa7eb9ed379e2b00150b376e0 (patch) | |
tree | 2d30ddd41662329fd0041dc530bce31945775813 /src/mesa/main/texformat_tmp.h | |
parent | 186d4d8cf4bd99c46b388e6ea0c60ec1d039be07 (diff) |
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).
Diffstat (limited to 'src/mesa/main/texformat_tmp.h')
-rw-r--r-- | src/mesa/main/texformat_tmp.h | 109 |
1 files changed, 0 insertions, 109 deletions
diff --git a/src/mesa/main/texformat_tmp.h b/src/mesa/main/texformat_tmp.h index ba52a8812a4..5c5bf6dc72b 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 */ |