summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2011-03-04 09:17:38 +1000
committerDave Airlie <airlied@redhat.com>2011-03-04 09:17:38 +1000
commit110f12e797d935a81045d338f775d6bdf479acba (patch)
tree1e6070abd9bb724910e5bb2becd26baf199a2ef7
parenta50bd646df530b4ce84a8aef3d40c74766dfb60c (diff)
add lost context eventglx-lost-context
-rw-r--r--glxproto.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/glxproto.h b/glxproto.h
index d0ba2ad..ca5b800 100644
--- a/glxproto.h
+++ b/glxproto.h
@@ -62,6 +62,7 @@
*/
#define GLX_PbufferClobber 0
#define GLX_BufferSwapComplete 1
+#define GLX_LostContext 2
#define __GLX_NUMBER_EVENTS 17
@@ -1324,6 +1325,14 @@ typedef struct {
CARD32 sbc_lo B32;
} xGLXBufferSwapComplete;
+typedef struct {
+ BYTE type;
+ BYTE pad;
+ CARD16 sequenceNumber B16;
+ CARD16 event_type B16;
+ CARD32 drawable;
+} xGLXLostContextEvent;
+
/************************************************************************/
/*