| 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. | 
|  |  | 
|  | Remove all dependencies on vertex_info, except for draw_vbuf.
Drawing stages now strictly operate on post-transformed vertices and don't
know anything about hw vertices.
Use vertex program output info for two-side/flat/etc stages.
Temporarily disable vbuf module in softpipe driver. | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  | state | 
|  | Added a new draw_set_twoside_attributes() function for specifying which
vertex attributes are to be copied/replaced when a polygon is back-facing. | 
|  | 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. | 
|  | Edge flags were random/undefined otherwise. | 
|  | 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... | 
|  | Basic i915 2D texturing seems to work now.
The vertex format is determined from the current fragment shader. | 
|  |  | 
|  | To build with mesa, need -DMESA in makefile/config file. | 
|  |  | 
|  | Also added draw_stage::reset_line_stipple().  There may be a better way
of doing that though. | 
|  | If the determinant of the triangle is positive, its winding is CCW (right-handed coord system). | 
|  |  | 
|  |  | 
|  |  | 
|  |  |