Allow swrast to cope (fairly) cleanly with GL_SEPERATE_SPECULAR when
authorKeith Whitwell <keith@tungstengraphics.com>
Fri, 16 Feb 2001 18:14:41 +0000 (18:14 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Fri, 16 Feb 2001 18:14:41 +0000 (18:14 +0000)
commit46b0988c673b28e072fd0cbf477632a9ab6f9f18
tree3463116da957c6f13dcb0b415ca8476640503fc7
parent2448fc7deeaa870d879de17158f243f239c05b15
Allow swrast to cope (fairly) cleanly with GL_SEPERATE_SPECULAR when
texturing is not enabled, and without requiring the two colors be
added externally.

As a part of this, collapsed the decomposition of quads into triangles
inside swrast to be hardwired into _swrast_Quad; removed s_quads.[ch].

Removed checks on texture state from t_vb_light.c, which was previously
required by swrast.

Moved the t_dd_ templates to a new directory.
26 files changed:
src/mesa/Makefile.X11
src/mesa/drivers/common/t_dd.c [new file with mode: 0644]
src/mesa/drivers/common/t_dd_dmatmp.h [new file with mode: 0644]
src/mesa/drivers/common/t_dd_rendertmp.h [new file with mode: 0644]
src/mesa/drivers/common/t_dd_tritmp.h [new file with mode: 0644]
src/mesa/drivers/common/t_dd_unfilled.h [new file with mode: 0644]
src/mesa/drivers/common/t_dd_vb.c [new file with mode: 0644]
src/mesa/drivers/common/t_dd_vbtmp.h [new file with mode: 0644]
src/mesa/drivers/glide/fxdd.c
src/mesa/main/Makefile.X11
src/mesa/main/enable.c
src/mesa/main/light.c
src/mesa/swrast/s_aatriangle.c
src/mesa/swrast/s_context.c
src/mesa/swrast/s_context.h
src/mesa/swrast/s_lines.c
src/mesa/swrast/s_lines.h
src/mesa/swrast/s_points.c
src/mesa/swrast/s_points.h
src/mesa/swrast/s_triangle.c
src/mesa/swrast/s_triangle.h
src/mesa/swrast_setup/ss_context.c
src/mesa/swrast_setup/ss_vbtmp.h
src/mesa/tnl/t_vb_light.c
src/mesa/tnl/t_vb_lighttmp.h
src/mesa/tnl/t_vb_render.c