diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-07-25 15:48:09 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-07-25 15:48:09 -0600 |
commit | 0360b49afbcd839f99ba0745d01cf9dc5be4d122 (patch) | |
tree | f2746f209352f65cec01360ef88c2a018eb8b68b /src/mesa/pipe/softpipe/sp_context.h | |
parent | 1f6b4b0f75d7cd7306e6aa24c27fd478f6b6c52d (diff) |
Implement line stippling.
Also added draw_stage::reset_line_stipple(). There may be a better way
of doing that though.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_context.h')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_context.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/pipe/softpipe/sp_context.h b/src/mesa/pipe/softpipe/sp_context.h index ef1a06ccaf..8871b45d4f 100644 --- a/src/mesa/pipe/softpipe/sp_context.h +++ b/src/mesa/pipe/softpipe/sp_context.h @@ -111,12 +111,16 @@ struct softpipe_context { GLboolean need_z; /**< produce quad/fragment Z values? */ GLboolean need_w; /**< produce quad/fragment W values? */ +#if 0 /* Stipple derived state: */ GLubyte stipple_masks[16][16]; +#endif GLuint occlusion_counter; + GLuint line_stipple_counter; + /** Software quad rendering pipeline */ struct { struct quad_stage *polygon_stipple; |