summaryrefslogtreecommitdiff
path: root/dri3proto.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-06-20 12:09:46 -0700
committerKeith Packard <keithp@keithp.com>2013-06-20 12:09:46 -0700
commit66d339c11281b88212d55b4017e1fc7ca549e314 (patch)
treedaea255d424f2f5f1d1b8b13f8389e33234f1a10 /dri3proto.h
parentd40b6e0297ee54919f654b905853d389ff766de1 (diff)
downloadxorg-proto-dri3proto-66d339c11281b88212d55b4017e1fc7ca549e314.tar.gz
Eliminate driverType and driverName from Open request
Make application figure out the right driver on its own. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'dri3proto.h')
-rw-r--r--dri3proto.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/dri3proto.h b/dri3proto.h
index 2b7821c..8abf0be 100644
--- a/dri3proto.h
+++ b/dri3proto.h
@@ -67,22 +67,21 @@ typedef struct {
CARD8 dri3ReqType;
CARD16 length B16;
CARD32 drawable B32;
- CARD32 driverType B32;
CARD32 provider B32;
} xDRI3OpenReq;
-#define sz_xDRI3OpenReq 16
+#define sz_xDRI3OpenReq 12
typedef struct {
BYTE type; /* X_Reply */
CARD8 nfd;
CARD16 sequenceNumber B16;
CARD32 length B32;
- CARD32 driverNameLength B32;
CARD32 pad2 B32;
CARD32 pad3 B32;
CARD32 pad4 B32;
CARD32 pad5 B32;
CARD32 pad6 B32;
+ CARD32 pad7 B32;
} xDRI3OpenReply;
#define sz_xDRI3OpenReply 32