summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw/draw_offset.c
AgeCommit message (Collapse)Author
2008-01-25gallium: replace prim pipeline begin/end() functions with flush()Brian
This is basically half of Keith's draw/flush patch. The stage->point/line/tri() functions are now self-validating, the validator functions are installed by the flush() function. There were excessive calls to validate_pipeline(), however. This was caused by draw_prim_queue_flush() keeping a local 'first' variable that always pointed to the validate functions. Replaced 'first' with 'draw->pipeline.first'. Performance in gears is up just slightly with this patch.
2007-12-09gallium: add draw_stage::destroy().Michal
2007-09-18converting the setup state to immutable object and renaming it to rasterizer ↵Zack Rusin
state
2007-08-23Need to copy header->edgeflags to tmp when creating new prim_header.Brian
Edge flags were random/undefined otherwise.
2007-08-16Silence compiler warnings.michal
2007-08-16Remove many dependencies on mesa headers.Brian
To build with mesa, need -DMESA in makefile/config file.
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-12Rename prim_stage -> draw_stageBrian
2007-07-11remove unused hw_data_offsetBrian
2007-07-11Fix broken depth offset.Brian
The edge vectors were totally wrong. Need to multiply bias units by the min resolvable depth delta.
2007-07-10clamp after offsetting, new commentsBrian
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