summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_pt_vcache_tmp.h
Commit message (Collapse)AuthorAgeFilesLines
* draw: Remove varray and vcache.Chia-I Wu2010-08-161-21/+0
| | | | They have been deprecated by vsplit.
* draw: Simplify frontend interface a little.Chia-I Wu2010-08-161-3/+4
| | | | | The run method is simplified to take the start vertex and the vertex count.
* draw: Add flags to draw_prim_info.Chia-I Wu2010-08-161-1/+2
| | | | | | | | | A primitive may be splitted in frontends. The splitted primitives should convey certain flag bits so that the decomposer can correctly decide the stipple or edge flags. This commit adds flags to draw_prim_info and updates the decomposer to honor the flags. Frontends and middle ends will be updated later.
* draw: Avoid mixed declarations and code.Chia-I Wu2010-08-061-1/+1
| | | | | | | Do not expand LOCAL_VARS to void expression. Otherwise, declarations and code will be mixed when more variables are declared in FUNC_ENTER. This fixes fdo bug #29416.
* draw: Include draw_decompose_tmp.h in draw_pt_vcache_tmp.h.Chia-I Wu2010-08-061-194/+15
| | | | | | Use draw_decompose_tmp.h to replace vcache primitive decomposer. As the new decomposer supports primitives with adjacency, vcache_triangle_adj and vcache_line_adj (and their variants that have flags) are added.
* draw: Fix the edge flags of flatshade_first polygons.Chia-I Wu2010-08-041-4/+4
| | | | | | | This bug can be triggered by rendering polygons with glProvokingVertexEXT(GL_FIRST_VERTEX_CONVENTION_EXT); glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
* gallium: still more provoking vertex fixesBrian Paul2010-05-051-9/+10
| | | | | This fixes edge flags for polygons and provoking vertex for filled quads.
* draw: Fix typo resulting from bad regular expression in index bias addition.José Fonseca2010-04-201-4/+4
|
* draw: Implement index bias.José Fonseca2010-04-191-38/+39
|
* draw: quads never provoke the first vertexMarek Olšák2010-03-091-28/+10
|
* draw: fix first provoking vertex mode for quads, quad strips and polygonsBrian Paul2009-06-181-18/+55
|
* Revert "draw: no need to rearrange most primitives in vcache for ↵Keith Whitwell2008-06-101-68/+55
| | | | | | flatshade-first" This reverts commit ad44e68706877ab06929747e7a82c718c1c27e02.
* draw: no need to rearrange most primitives in vcache for flatshade-firstKeith Whitwell2008-06-101-55/+68
| | | | | | | The driver/pipeline will still be applying flatshade-first state to the triangles emitted from vcache, so there's no need to rotate the vertices of most primitives. The only exception is POLYGON, as explained in the code.
* draw: fix intermediate buffer confusion in draw_vs_varient.cKeith Whitwell2008-06-061-0/+2
| | | | | | The final output buffer can't be used to hold intermediate results as the intermediate vertex size may be greater than the final vertex size, and in any case the output buffer may be uncached in hw drivers.
* gallium: MSVC warning fixes.José Fonseca2008-05-291-4/+5
| | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_pt_varray.c src/gallium/auxiliary/draw/draw_pt_varray_tmp.h src/gallium/auxiliary/draw/draw_pt_vcache.c
* draw: handle edgeflags and reset-line-stipple againKeith Whitwell2008-04-241-0/+174