Implemented GL_NV_texture_rectangle extension.
authorBrian Paul <brian.paul@tungstengraphics.com>
Sat, 15 Jun 2002 03:03:06 +0000 (03:03 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sat, 15 Jun 2002 03:03:06 +0000 (03:03 +0000)
commit8afe7de8deaf3c9613fd68b344de8c52b02b1879
treef600a192c9d0136faea8864a53eabc819eeb791f
parent8bdd0dc8d0e9c9cb2c71fbdd4c77e982cfc0b350
Implemented GL_NV_texture_rectangle extension.
Replace struct gl_texure_object's Dimension w/ Target field.
Added _EnabledUnits to struct gl_texture_attrib - the _ReallyEnabled
  field is obsolete, but still present for now.  This effectively
  removes the 8-texture units limit, 32 units now possible, but unlikely!
New TEXTURE_1D/2D/3D/CUBE/RECT_BIT tokens for unit->_ReallyEnabled field.
Updated device drivers to use ctx->Texture._EnabledUnits.
37 files changed:
src/mesa/drivers/d3d/D3Dvbrender.c
src/mesa/drivers/dos/dmesa.c
src/mesa/drivers/glide/fxdd.c
src/mesa/drivers/glide/fxsetup.c
src/mesa/drivers/glide/fxvb.c
src/mesa/drivers/osmesa/osmesa.c
src/mesa/drivers/windows/wmesa.c
src/mesa/drivers/windows/wmesa_stereo.c
src/mesa/drivers/x11/xm_line.c
src/mesa/drivers/x11/xm_tri.c
src/mesa/main/attrib.c
src/mesa/main/config.h
src/mesa/main/context.c
src/mesa/main/enable.c
src/mesa/main/extensions.c
src/mesa/main/get.c
src/mesa/main/mtypes.h
src/mesa/main/state.c
src/mesa/main/teximage.c
src/mesa/main/teximage.h
src/mesa/main/texobj.c
src/mesa/main/texobj.h
src/mesa/main/texstate.c
src/mesa/main/texstore.c
src/mesa/swrast/s_aaline.c
src/mesa/swrast/s_aatriangle.c
src/mesa/swrast/s_context.c
src/mesa/swrast/s_copypix.c
src/mesa/swrast/s_drawpix.c
src/mesa/swrast/s_lines.c
src/mesa/swrast/s_points.c
src/mesa/swrast/s_pointtemp.h
src/mesa/swrast/s_span.c
src/mesa/swrast/s_texture.c
src/mesa/swrast/s_triangle.c
src/mesa/swrast_setup/ss_vb.c
src/mesa/tnl/t_vb_render.c