New glTexImage code.
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 22 Apr 2004 00:27:31 +0000 (00:27 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 22 Apr 2004 00:27:31 +0000 (00:27 +0000)
commitf959f6e1dc27c71fc0ccc56e09b29101b3bf3b97
tree15b4171c2b3396e3a05f2776cc24d90cb37c8f84
parent05a6f2fd484bab59c6e6a381f58808adc26619f1
New glTexImage code.
The gl_texture_format struct now has a StoreTexImageFunc that's called
by glTex[Sub]Image[123]D to convert the user's texture data into the
specific texture format layout.  Now it's much easier to add new texture
formats (like the 16/32-bit floating point formats).
The texutil.[ch] and texutil_tmp.h files are obsolete.
22 files changed:
src/mesa/drivers/dri/r200/r200_tex.c
src/mesa/drivers/dri/tdfx/tdfx_tex.c
src/mesa/main/colortab.c
src/mesa/main/convolve.c
src/mesa/main/extensions.c
src/mesa/main/glheader.h
src/mesa/main/histogram.c
src/mesa/main/image.c
src/mesa/main/image.h
src/mesa/main/imports.c
src/mesa/main/imports.h
src/mesa/main/mtypes.h
src/mesa/main/texformat.c
src/mesa/main/texformat.h
src/mesa/main/texformat_tmp.h
src/mesa/main/teximage.c
src/mesa/main/texstate.c
src/mesa/main/texstore.c
src/mesa/main/texstore.h
src/mesa/main/texutil.c
src/mesa/swrast/s_drawpix.c
src/mesa/swrast/s_readpix.c