summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_pipe.c
AgeCommit message (Collapse)Author
2010-01-22gallium/draw: apply DRAW_PIPE_FLAG_MASK to all vertex elementsBrian Paul
Depending on first/last provoking vertex either the first or last element/index may have the extra DRAW_PIPE_x flags. Mask off those bits for all vertex elements to be safe (esp. for the quad case). This may be overly cautious, but it's a cheap operation. Fixes a segfault caused by large/bogus vertex indexes otherwise.
2010-01-22gallium/draw: added comments, whitespace fixesBrian Paul
2009-08-13draw: Remove unused variable.José Fonseca
2009-08-13Merge branch 'mesa_7_5_branch'Keith Whitwell
2009-08-13draw: cope with more primitives in draw_pipeline_runKeith Whitwell
This previously was used only for decomposed (POINT/LINE/TRI) primitives, but for some time a full range of primitives could end up in here. Fixes trivial/lineloop-clip on softpipe, among others. (cherry picked from commit 87cd8a3b8a2407b30916be418ff2f95dfea5d2ad)
2009-06-18draw: clean up indentationBrian Paul
2008-08-24gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul
Also, rename p_tile.[ch] to u_tile.[ch]
2008-08-20gallium: fix typo in LINE() macro (replace i+1 with i1 var)Brian Paul
We were sometimes referencing an invalid vertex. Fixes progs/trivial/line-clip.c test among others.
2008-06-02draw: Fix MSVC warnings.José Fonseca
2008-05-13decomposition from keith, adds decomposition of more prim to the pipelineZack Rusin
2008-05-08redo the linear pathsZack Rusin
2008-04-24gallium: commentsBrian Paul
2008-04-24draw: handle edgeflags and reset-line-stipple againKeith Whitwell
2008-04-21draw: consolidate all the passthrough line/tri/point funcsKeith Whitwell
2008-04-19draw: make draw_reset_vertex_ids private to the draw_pipe_* codeKeith Whitwell
2008-04-19draw: put pipeline flushing behind a new interfaceKeith Whitwell
2008-04-19draw: move pt_pipeline code to draw_pipe.cKeith Whitwell
This is now the drawing interface to the pipeline. No more calling into pipeline.first->tri(), etc.
2008-04-19draw: move some pipeline-specific code & state to draw_pipe.[ch]Keith Whitwell