summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_pipe_clip.c
AgeCommit message (Collapse)Author
2010-05-05gallium: rework provoking vertex codeBrian Paul
Builds on commit ddb0e18f6c5582d4d2cc59ffd16ad9c4639ed059 and fixes regressions in glean clipFlat test. We assume that Gallium drivers observe flatshade_first for all triangles and that all the assorted per-triangle calls in the 'draw' module also follow flatshade_first. Everything else builds on those rules. Gallium does not use follow flatshade_first for GL quads, quad strips and polygons; the "last" vertex is always the provoking vertex for those prims. So now there are separate QUAD_FIRST_PV and QUAD_LAST_PV macros in the draw primitive decomposition code instead of one QUAD macro.
2010-05-05draw: Preserve the provoking vertex both when decomposing and clipping.José Fonseca
Based on John Lawless' feedback.
2010-01-13gallium/draw: s/clipper/clip_stage/ to be consistant with other stagesBrian Paul
2010-01-13gallium/draw: whitespace and commentsBrian Paul
2010-01-13gallium/draw: remove always-true conditionalBrian Paul
2009-12-25gallium: add geometry shader support to galliumZack Rusin
2009-04-28gallium/draw: add ability to print out active pipeline stagesKeith Whitwell
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-06-11draw: don't assume vertex position is in data[0]Keith Whitwell
2008-06-10draw: fix edgeflags on clipped poly emitKeith Whitwell
2008-05-23draw: move some state into a new 'vs' areaKeith Whitwell
2008-04-24draw: handle edgeflags and reset-line-stipple againKeith Whitwell
2008-04-21draw: propogate lots of errorsKeith Whitwell
2008-04-19draw: move some pipeline-specific code & state to draw_pipe.[ch]Keith Whitwell
2008-04-19draw: rename pipeline files to draw_pipe_*Keith Whitwell