diff options
author | Brian <[email protected]> | 2007-06-19 19:19:31 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-06-19 19:19:31 -0600 |
commit | af9b5ca0359b5712509d7815a7fbc81a3255f4af (patch) | |
tree | a9669c33d78e42d7925f60afd6e54037c39de2ac /src/mesa/drivers/x11/xmesaP.h | |
parent | 03933ad656e5bd776a2e6f93312ee90eff66d3d3 (diff) |
Re-org of surface/framebuffer state.
We should be able to render to any depth/format of X window now.
Diffstat (limited to 'src/mesa/drivers/x11/xmesaP.h')
-rw-r--r-- | src/mesa/drivers/x11/xmesaP.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/drivers/x11/xmesaP.h b/src/mesa/drivers/x11/xmesaP.h index 8f0bd34f474..c36b0966d95 100644 --- a/src/mesa/drivers/x11/xmesaP.h +++ b/src/mesa/drivers/x11/xmesaP.h @@ -196,6 +196,8 @@ struct xmesa_renderbuffer GLint bottom; /* used for FLIP macro, equals height - 1 */ ClearFunc clearFunc; + + void *pSurface; /** pipe surface */ }; @@ -585,4 +587,9 @@ GLboolean xmesa_get_cbuf_details( GLcontext *ctx, GLint *stride, GLuint *format ); + +struct pipe_surface; +struct pipe_surface * +xmesa_get_color_surface(GLcontext *ctx, GLuint buf); + #endif |