summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/p_context.h
diff options
context:
space:
mode:
authorBrian <brian@i915.localnet.net>2007-08-01 14:46:07 -0600
committerBrian <brian@i915.localnet.net>2007-08-01 14:46:07 -0600
commit0eb02a1963a25f6994b730147d0613b03424c11e (patch)
treec5c2dc736ee8d1de5ac2da60888786e7b8549ec6 /src/mesa/pipe/p_context.h
parentcddce60e7b14171f7afb204be5c131ce73ce01c5 (diff)
More work on glClear.
Add a 'mask' param to region_fill() to help with clearing combined Z/stencil buffers, glColorMask, etc.
Diffstat (limited to 'src/mesa/pipe/p_context.h')
-rw-r--r--src/mesa/pipe/p_context.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/pipe/p_context.h b/src/mesa/pipe/p_context.h
index 8517d7ab68..8e51daae06 100644
--- a/src/mesa/pipe/p_context.h
+++ b/src/mesa/pipe/p_context.h
@@ -172,7 +172,8 @@ struct pipe_context {
struct pipe_region *dst,
GLuint dst_offset,
GLuint dstx, GLuint dsty,
- GLuint width, GLuint height, GLuint color);
+ GLuint width, GLuint height,
+ GLuint value, GLuint mask);
void (*region_cow)(struct pipe_context *pipe, struct pipe_region *region);