diff options
author | Brian <[email protected]> | 2008-02-21 16:18:05 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2008-02-21 16:18:05 -0700 |
commit | eb4dc2dd5ed62e6ccb55ccc2bc13f6a2f3fc1f76 (patch) | |
tree | 36918ed5ea3c04aefe57eb4e3629cdf31ced2987 /src/gallium/auxiliary/draw/draw_context.h | |
parent | a93d8bfaf2aba1b2fe3ecfbb5bc4b7ff113c305e (diff) |
gallium: new AA point drawing stage
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.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_context.h')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_context.h b/src/gallium/auxiliary/draw/draw_context.h index 82035aa8ada..43b58bc0563 100644 --- a/src/gallium/auxiliary/draw/draw_context.h +++ b/src/gallium/auxiliary/draw/draw_context.h @@ -99,6 +99,9 @@ boolean draw_use_sse(struct draw_context *draw); void draw_install_aaline_stage(struct draw_context *draw, struct pipe_context *pipe); +void +draw_install_aapoint_stage(struct draw_context *draw, struct pipe_context *pipe); + int draw_find_vs_output(struct draw_context *draw, |