Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
|
|
state
|
|
In emit_poly() we need to compute header.edgeflags from the vertex
edge flags. Also need to set header.det so later stages can determine
front/back orientation.
|
|
To build with mesa, need -DMESA in makefile/config file.
|
|
Probably breaks a bit of stuff, eg unfilled clipping, edgeflags, etc.
|
|
|
|
Also added draw_stage::reset_line_stipple(). There may be a better way
of doing that though.
|
|
|
|
|
|
|
|
|