summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw/draw_twoside.c
AgeCommit message (Collapse)Author
2007-12-09gallium: add draw_stage::destroy().Michal
2007-09-25test for presence of both front and back color vertex slotsBrian
2007-09-25remove unused lookup arrayBrian
2007-09-25test against -1 for front/back attribkeithw
2007-09-20remove unused lookup[]Brian
2007-09-18converting the setup state to immutable object and renaming it to rasterizer ↵Zack Rusin
state
2007-08-30Remove dependency on TGSI_ATTRIB_x tokens in draw_twoside.cBrian
Added a new draw_set_twoside_attributes() function for specifying which vertex attributes are to be copied/replaced when a polygon is back-facing.
2007-08-30Sketch out per-vertex point size.Brian
The code is all in place, but mostly disabled for now: In t_vp_build.c, write the VERT_RESULT_PSIZE register In sp_state_derived.c, need to emit vertex point size if drawing points. In setup_point() use the point size from the vertex.
2007-08-23Need to copy header->edgeflags to tmp when creating new prim_header.Brian
Edge flags were random/undefined otherwise.
2007-08-23Checkpoint: new vertex/fragment attribute namingBrian
Replace VF_ATTRIB_x with TGSI_ATTRIB_x When converting mesa programs to TGSI programs, also convert the InputsRead and OutputsWritten to a mask of TGSI_ATTRIB_ bits. Still need to do conversion for vertex programs...
2007-08-23Checkpoint commit: i915 texture works, use new vertex_info structBrian
Basic i915 2D texturing seems to work now. The vertex format is determined from the current fragment shader.
2007-08-21Silence compiler warnings.michal
2007-08-16Remove many dependencies on mesa headers.Brian
To build with mesa, need -DMESA in makefile/config file.
2007-08-13with Y=0=top, front/back determination is negatedBrian
2007-07-25Implement line stippling.Brian
Also added draw_stage::reset_line_stipple(). There may be a better way of doing that though.
2007-07-13Fix more polygon winding, culling confusion.Brian
If the determinant of the triangle is positive, its winding is CCW (right-handed coord system).
2007-07-12Rename prim_stage -> draw_stageBrian
2007-07-12front/back-face determination was wrongBrian
2007-07-09New 'draw' module for primitive drawing (clipping, culling, etc).Brian
2007-07-09Rename/move some files to modularize the primitive/draw code.Brian