aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_pt_decompose.h
Commit message (Collapse)AuthorAgeFilesLines
* gallium: rework provoking vertex codeBrian Paul2010-05-051-15/+56
| | | | | | | | | | | | | | 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.
* draw: Preserve the provoking vertex both when decomposing and clipping.José Fonseca2010-05-051-17/+8
| | | | Based on John Lawless' feedback.
* draw: quads never provoke the first vertexMarek Olšák2010-03-091-30/+10
|
* draw: use flatfirst variableBrian Paul2009-06-181-1/+1
|
* draw: remove debug codeBrian Paul2009-06-181-7/+0
|
* draw: implement flatshade_first for drawing pipelineBrian Paul2009-06-091-18/+54
|
* draw: Fix MSVC warnings.José Fonseca2008-06-021-3/+3
|
* decomposition from keith, adds decomposition of more prim to the pipelineZack Rusin2008-05-131-0/+153