summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/x11/xmesaP.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2007-05-24 10:44:53 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2007-05-24 10:44:53 +0100
commitb939adfa155f2b3ca5c5226e86da85629654d79b (patch)
tree43c11a5302d4981bb82d68b503af9ea40fc2b837 /src/mesa/drivers/x11/xmesaP.h
parent8e4a95a93d15a6707a29454cd47e10b08314cda2 (diff)
Use the x11 driver as a test harness for the softpipe/state_tracker code.
This has some limitations as we currently require a mapped framebuffer, so it only really works with double-buffered ximage rgba8888 windows.
Diffstat (limited to 'src/mesa/drivers/x11/xmesaP.h')
-rw-r--r--src/mesa/drivers/x11/xmesaP.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/drivers/x11/xmesaP.h b/src/mesa/drivers/x11/xmesaP.h
index 0198886747..8f0bd34f47 100644
--- a/src/mesa/drivers/x11/xmesaP.h
+++ b/src/mesa/drivers/x11/xmesaP.h
@@ -578,4 +578,11 @@ extern void xmesa_register_swrast_functions( GLcontext *ctx );
#define ENABLE_EXT_timer_query 0 /* may not have 64-bit GLuint64EXT */
#endif
+
+GLboolean xmesa_get_cbuf_details( GLcontext *ctx,
+ void **ptr,
+ GLuint *cpp,
+ GLint *stride,
+ GLuint *format );
+
#endif