summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_context.c
AgeCommit message (Collapse)Author
2008-03-13gallium: fix bug in draw_num_vs_outputs()Brian
2008-03-13gallium: added draw_enable_line_stipple() functionBrian
Allows drivers that implement line stipple to turn off this drawing stage.
2008-03-11draw: don't free our copy of the render stage -- just borrowing it from vbuf ↵Keith Whitwell
stage
2008-03-10draw: placeholder/prototype code for a passthrough draw pathKeith Whitwell
2008-02-28gallium: split draw_wide_prim stage into separate point/line stages.Brian Paul
This fixes a validation/code-path problem. Enabling the stage for the sake of wide points also inadvertantly caused wide lines to be converted to tris when we actually want them passed through, such as for the AA line stage. This is just cleaner now. Also, replace draw_convert_wide_lines() with draw_wide_line_threshold() as was done for points. Allows for 1-pixel lines to be converted too if needed.
2008-02-27gallium: added draw_num_vs_outputs() to query number of post-transform ↵Brian
vertex attribs
2008-02-27gallium: remove dependencies on pipe_shader_state's semantic infoBrian
Use tgsi_scan_shader() to populate a tgsi_shader_info struct and use that instead.
2008-02-26gallium: replace draw_convert_wide_points() with draw_wide_point_threshold()Brian
Specifying a threshold size is a bit more flexible, and allows the option of converting even 1-pixel points to triangles (set threshold=0). Also, remove 0.25 pixel bias in wide_point().
2008-02-25gallium: fix bad ptr assignmentBrian
2008-02-25gallium: modify draw_find_vs_output() to search vertex shader outputsBrian
This simplifies drivers using the draw module and removes the last dependency on vertex-shader "internals". Since the draw module is producing the post-transformed vertices, it makes sense to ask it where specific vertex attributes are located. This could also simplify some things in the state tracker code for selection, feedback, rasterpos...
2008-02-21gallium: new AA point drawing stageBrian
AA points are drawn by converting the point to a quad, then modifying the user's fragment shader to compute a coverage value. The final fragment color's alpha is modulated by the coverage value. Fragments outside the point's radius are killed.
2008-02-21draw: vertex cache reworkKeith Whitwell
Take a baby step to straightening out vertex paths.
2008-02-18gallium: antialiased line drawingBrian
New draw/prim stage: draw_aaline. When installed, lines are replaced by textured quads to do antialiasing. The current user-defined fragment shader is modified to do a texture fetch and modulate fragment alpha.
2008-02-15Code reorganization: s/aux/auxiliary/.José Fonseca
"aux" is a reserved name on Windows (X_X)