Allocate a sw_span struct in the swrast context instead of allocating it
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 19 Apr 2002 14:05:50 +0000 (14:05 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 19 Apr 2002 14:05:50 +0000 (14:05 +0000)
commitbf80e1ed620836e2ca0dd3f7d2d4cb187d17563d
tree8666b72f2ff74ac9499d2f9668212fcf4f2e3f5b
parent05be7ae1253ad68d80816395c3d09665e5619ebc
Allocate a sw_span struct in the swrast context instead of allocating it
on the stack frame in the point/line/triangle functions. (Klaus Niederkrueger)
This should solve the performance problem Karl found on Windows.
17 files changed:
src/mesa/drivers/osmesa/osmesa.c
src/mesa/drivers/x11/xm_tri.c
src/mesa/swrast/s_aaline.c
src/mesa/swrast/s_aalinetemp.h
src/mesa/swrast/s_aatritemp.h
src/mesa/swrast/s_alpha.c
src/mesa/swrast/s_bitmap.c
src/mesa/swrast/s_context.c
src/mesa/swrast/s_context.h
src/mesa/swrast/s_copypix.c
src/mesa/swrast/s_drawpix.c
src/mesa/swrast/s_lines.c
src/mesa/swrast/s_pointtemp.h
src/mesa/swrast/s_triangle.c
src/mesa/swrast/s_tritemp.h
src/mesa/swrast/s_zoom.c
src/mesa/swrast/swrast.h