Remove 'pv' parameter from Line/Tri/Point funcs. The provoking vertex
authorKeith Whitwell <keith@tungstengraphics.com>
Fri, 5 Jan 2001 02:26:48 +0000 (02:26 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Fri, 5 Jan 2001 02:26:48 +0000 (02:26 +0000)
commit58e991705392a2e17a1c8b034f4083a0adaf1943
tree828804ca2671809e92a10642030ecd2d21a27b6d
parentf22c04cdaec47dfef1068af0e90822062478631b
Remove 'pv' parameter from Line/Tri/Point funcs.  The provoking vertex
is always the last vertex parameter.
Modify clipping to preserve pv colors.
Modify swrast and X11 driver to expect the pv in the last vertex
(was looking in the first vertex previously).
Remove all handling of flatshading from swrast_setup.

Allow drivers to override the unclipped render tabs in tnl_render_stage
directly.  (Like in 3.4).  Removed fxsimplerender stage.

Modified t_vb_rendertmp.h to remove the need for 'parity' arguments
in RENDER_TRI macros.
33 files changed:
src/mesa/drivers/glide/fxdd.c
src/mesa/drivers/glide/fxdrv.h
src/mesa/drivers/glide/fxtris.c
src/mesa/drivers/glide/fxvb.c
src/mesa/drivers/glide/fxvbtmp.h
src/mesa/drivers/osmesa/osmesa.c
src/mesa/drivers/x11/xm_line.c
src/mesa/drivers/x11/xm_tri.c
src/mesa/main/api_validate.c
src/mesa/main/buffers.c
src/mesa/main/convolve.c
src/mesa/main/dd.h
src/mesa/main/fog.c
src/mesa/main/mtypes.h
src/mesa/swrast/s_aalinetemp.h
src/mesa/swrast/s_aatritemp.h
src/mesa/swrast/s_feedback.c
src/mesa/swrast/s_triangle.c
src/mesa/swrast/swrast.h
src/mesa/swrast_setup/ss_context.c
src/mesa/swrast_setup/ss_context.h
src/mesa/swrast_setup/ss_triangle.c
src/mesa/swrast_setup/ss_tritmp.h
src/mesa/swrast_setup/swrast_setup.h
src/mesa/tnl/t_array_import.c
src/mesa/tnl/t_context.c
src/mesa/tnl/t_context.h
src/mesa/tnl/t_imm_api.c
src/mesa/tnl/t_imm_exec.c
src/mesa/tnl/t_pipeline.h
src/mesa/tnl/t_vb_cliptmp.h
src/mesa/tnl/t_vb_render.c
src/mesa/tnl/t_vb_rendertmp.h