Cleanup of derived state calculation prior to seperating software T&L
authorKeith Whitwell <keith@tungstengraphics.com>
Mon, 13 Nov 2000 20:02:56 +0000 (20:02 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Mon, 13 Nov 2000 20:02:56 +0000 (20:02 +0000)
commit1e1aac034c986a08248861363c0baa27dc2ae2d5
treed6aa2dd575eae913007d089928d765be8c867126
parent6b8ae62d6b6a3b06c51628123fc30634cacf9c7c
Cleanup of derived state calculation prior to seperating software T&L
into a new directory.  Specifically the handling of changes to lighting
lighting space (light in model vs. light in eye) have been revamped.

Moved several derived values used only by swrast into that directory.

Removed direct calls to swrast_flush() from vbrender.c -- pushed into
ctx->Driver.RenderFinish.

Optimized flat-shading case in swrast_setup.
35 files changed:
src/mesa/drivers/glide/fxdd.c
src/mesa/drivers/x11/xm_dd.c
src/mesa/main/buffers.c
src/mesa/main/clip.c
src/mesa/main/context.c
src/mesa/main/dd.h
src/mesa/main/light.c
src/mesa/main/matrix.c
src/mesa/main/points.c
src/mesa/main/rastpos.c
src/mesa/main/state.c
src/mesa/swrast/s_aaline.c
src/mesa/swrast/s_aatriangle.c
src/mesa/swrast/s_aatritemp.h
src/mesa/swrast/s_accum.c
src/mesa/swrast/s_alpha.c
src/mesa/swrast/s_alphabuf.c
src/mesa/swrast/s_buffers.c
src/mesa/swrast/s_context.c
src/mesa/swrast/s_context.h
src/mesa/swrast/s_depth.c
src/mesa/swrast/s_drawpix.c
src/mesa/swrast/s_feedback.c
src/mesa/swrast/s_lines.c
src/mesa/swrast/s_points.c
src/mesa/swrast/s_readpix.c
src/mesa/swrast/s_span.c
src/mesa/swrast/s_stencil.c
src/mesa/swrast/s_triangle.c
src/mesa/swrast/s_tritemp.h
src/mesa/swrast/swrast.h
src/mesa/swrast_setup/ss_context.c
src/mesa/swrast_setup/ss_triangle.c
src/mesa/swrast_setup/ss_tritmp.h
src/mesa/swrast_setup/ss_vb.c