Added colormask, dither, multisample state. Implement colormasking stage.

This commit is contained in:
Brian
2007-07-12 12:20:14 -06:00
parent bd5533bb7c
commit 86352ff70d
11 changed files with 129 additions and 4 deletions

View File

@@ -89,6 +89,8 @@ struct pipe_setup_state
GLuint point_smooth:1;
GLuint multisample:1; /* XXX maybe more ms state in future */
GLubyte line_stipple_factor; /**< [1..256] actually */
GLushort line_stipple_pattern;
GLfloat line_width;
@@ -156,6 +158,9 @@ struct pipe_blend_state {
GLuint logicop_enable:1;
GLuint logicop_func:4; /**< PIPE_LOGICOP_x */
GLuint colormask:4; /**< bitmask of PIPE_MASK_R/G/B/A */
GLuint dither:1;
};
struct pipe_blend_color {