Overhaul of texture image handling.
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 6 Feb 2001 21:42:48 +0000 (21:42 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 6 Feb 2001 21:42:48 +0000 (21:42 +0000)
commit8e39ad2cd67d49be40ff0822f3269affdf83d601
tree5797d44b4e687d7c891fd1899fe4cc875919b544
parent16461f7c53f3bd88ec20458edfc247df14cde721
Overhaul of texture image handling.
1. gl_texture_image struct's Data pointer points to images in driver's format.
2. Added FetchTexel() function pointer to struct gl_texture_image.
3. Changed Driver Tex[Sub]Image functions, return void now.
4. Texture storage/fetch code in new texstore.c file.
5. Removed texture.[ch] - functions moved to state.c

Note: FX driver updates not finished yet.
23 files changed:
src/mesa/Makefile.X11
src/mesa/drivers/glide/fxdd.c
src/mesa/drivers/glide/fxddtex.c
src/mesa/drivers/glide/fxdrv.h
src/mesa/drivers/osmesa/osmesa.c
src/mesa/drivers/x11/xm_dd.c
src/mesa/main/Makefile.X11
src/mesa/main/context.c
src/mesa/main/dd.h
src/mesa/main/dlist.c
src/mesa/main/mtypes.h
src/mesa/main/state.c
src/mesa/main/teximage.c
src/mesa/main/teximage.h
src/mesa/main/texstate.c
src/mesa/main/texstate.h
src/mesa/main/texstore.c [new file with mode: 0644]
src/mesa/main/texstore.h [new file with mode: 0644]
src/mesa/swrast/s_texture.c
src/mesa/swrast/s_triangle.c
src/mesa/swrast/s_tritemp.h
src/mesa/tnl/t_imm_exec.c
src/mesa/tnl/t_imm_fixup.c