diff options
author | Brian <[email protected]> | 2007-08-02 16:08:18 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-08-02 16:08:18 -0600 |
commit | 47fdaf0ed9ef2f89cdaa97d0d48b1f1194d710c6 (patch) | |
tree | 3e4be03579b8bc860dc29e4c7b2ae93fded4e759 /src/mesa/drivers/x11/xmesaP.h | |
parent | 184b6a1f04e060e73858438561a0261d32eeb506 (diff) |
pipe->clear() now takes a surface, rather than color/depth/stencil flags.
pipe->clear() only used to clear whole buffers (no scissor) w/out masking.
Draw a colored quadrilateral in all other cases.
Diffstat (limited to 'src/mesa/drivers/x11/xmesaP.h')
-rw-r--r-- | src/mesa/drivers/x11/xmesaP.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/drivers/x11/xmesaP.h b/src/mesa/drivers/x11/xmesaP.h index fb1c1f8c3b4..dd95aed4d06 100644 --- a/src/mesa/drivers/x11/xmesaP.h +++ b/src/mesa/drivers/x11/xmesaP.h @@ -593,7 +593,10 @@ extern struct pipe_surface * xmesa_new_surface(GLcontext *ctx, struct xmesa_renderbuffer *xrb); extern void -xmesa_clear(struct pipe_context *pipe, GLboolean color, GLboolean depth, - GLboolean stencil, GLboolean accum); +xmesa_clear(struct pipe_context *pipe, struct pipe_surface *ps, GLuint value); + +extern void +xmesa_clear_buffers(GLcontext *ctx, GLbitfield buffers); + #endif |