summaryrefslogtreecommitdiff
path: root/dri3proto.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-07-12 10:26:44 -0700
committerKeith Packard <keithp@keithp.com>2013-07-12 10:26:44 -0700
commita5392ea74a9b9e39de7b5c8107e68d0bb3724d77 (patch)
treecc24a1168dc8ba114069b31075e46aef50f51b48 /dri3proto.h
parent66d339c11281b88212d55b4017e1fc7ca549e314 (diff)
Remove events and other unused elements
This renumbers the FenceFromFD request from 5 to 4 as well Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'dri3proto.h')
-rw-r--r--dri3proto.h45
1 files changed, 2 insertions, 43 deletions
diff --git a/dri3proto.h b/dri3proto.h
index 8abf0be..02ea929 100644
--- a/dri3proto.h
+++ b/dri3proto.h
@@ -34,10 +34,9 @@
#define X_DRI3Open 1
#define X_DRI3PixmapFromBuffer 2
#define X_DRI3BufferFromPixmap 3
-#define X_DRI3SelectInput 4
-#define X_DRI3FenceFromFD 5
+#define X_DRI3FenceFromFD 4
-#define DRI3NumberRequests 6
+#define DRI3NumberRequests 5
typedef struct {
CARD8 reqType;
@@ -130,18 +129,6 @@ typedef struct {
CARD8 reqType;
CARD8 dri3ReqType;
CARD16 length B16;
- CARD32 eid B32;
- CARD32 window B32;
- CARD32 eventMask B32;
-} xDRI3SelectInputReq;
-#define sz_xDRI3SelectInputReq 12
-
-#define DRI3AllEvents (1 << DRI3ConfigureNotify)
-
-typedef struct {
- CARD8 reqType;
- CARD8 dri3ReqType;
- CARD16 length B16;
CARD32 drawable B32;
CARD32 fence B32;
BOOL initially_triggered;
@@ -151,32 +138,4 @@ typedef struct {
#define sz_xDRI3FenceFromFDReq 16
-/*
- * Events
- */
-#define DRI3_ConfigureNotify 0
-
-/* All DRI3 events are X Generic Events */
-
-typedef struct {
- CARD8 type;
- CARD8 extension;
- CARD16 sequenceNumber B16;
- CARD32 length;
- CARD16 evtype B16;
- CARD16 pad2;
- CARD32 eid B32;
- CARD32 window B32;
- INT16 x B16;
- INT16 y B16;
- CARD16 width B16;
- CARD16 height B16;
- INT16 off_x B16;
- INT16 off_y B16;
- CARD16 pixmap_width B16;
- CARD16 pixmap_height B16;
- CARD32 pixmap_flags B32;
-} xDRI3ConfigureNotify;
-#define sz_xDRI3ConfigureNotify 40
-
#endif