summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/p_context.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-06-20 08:47:09 -0600
committerBrian <[email protected]>2007-06-20 08:47:09 -0600
commit73f96c51052bf5233191d852ef463462306bf1d5 (patch)
tree29a1f9f4b5f052f7894dce351ebfb4a8ae69b85a /src/mesa/pipe/p_context.h
parent6cb2d0cb71d2019bd2c941a8c042e56275b22c1c (diff)
Initial work for glClear(), clear color state.
Diffstat (limited to 'src/mesa/pipe/p_context.h')
-rw-r--r--src/mesa/pipe/p_context.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/mesa/pipe/p_context.h b/src/mesa/pipe/p_context.h
index 3e0c61eda20..32444343be8 100644
--- a/src/mesa/pipe/p_context.h
+++ b/src/mesa/pipe/p_context.h
@@ -53,6 +53,10 @@ struct pipe_context {
void (*draw_vb)( struct pipe_context *pipe,
struct vertex_buffer *VB );
+ /** Clear framebuffer */
+ void (*clear)(struct pipe_context *pipe, GLboolean color, GLboolean depth,
+ GLboolean stencil, GLboolean accum);
+
/*
* State functions
*/
@@ -62,12 +66,12 @@ struct pipe_context {
void (*set_blend_state)( struct pipe_context *,
const struct pipe_blend_state * );
- void (*set_cbuf_state)( struct pipe_context *,
- const struct pipe_surface * );
-
void (*set_clip_state)( struct pipe_context *,
const struct pipe_clip_state * );
+ void (*set_clear_color_state)( struct pipe_context *,
+ const struct pipe_clear_color_state * );
+
void (*set_depth_state)( struct pipe_context *,
const struct pipe_depth_state * );