1xcb_dri3_open(3) XCB Requests xcb_dri3_open(3)
2
3
4
6 xcb_dri3_open -
7
9 #include <xcb/dri3.h>
10
11 Request function
12 xcb_dri3_open_cookie_t xcb_dri3_open(xcb_connection_t *conn,
13 xcb_drawable_t drawable, uint32_t provider);
14
15 Reply datastructure
16 typedef struct xcb_dri3_open_reply_t {
17 uint8_t response_type;
18 uint8_t nfd;
19 uint16_t sequence;
20 uint32_t length;
21 uint8_t pad0[24];
22 } xcb_dri3_open_reply_t;
23
24 Reply function
25 xcb_dri3_open_reply_t *xcb_dri3_open_reply(xcb_connection_t *conn,
26 xcb_dri3_open_cookie_t cookie, xcb_generic_error_t **e);
27
29 conn The XCB connection to X11.
30
31 drawable TODO: NOT YET DOCUMENTED.
32
33 provider TODO: NOT YET DOCUMENTED.
34
36 response_type
37 The type of this reply, in this case XCB_DRI3_OPEN. This
38 field is also present in the xcb_generic_reply_t and can be
39 used to tell replies apart from each other.
40
41 sequence The sequence number of the last request processed by the X11
42 server.
43
44 length The length of the reply, in words (a word is 4 bytes).
45
46 nfd TODO: NOT YET DOCUMENTED.
47
48 device_fd TODO: NOT YET DOCUMENTED.
49
52 Returns an xcb_dri3_open_cookie_t. Errors have to be handled when call‐
53 ing the reply function xcb_dri3_open_reply.
54
55 If you want to handle errors in the event loop instead, use
56 xcb_dri3_open_unchecked. See xcb-requests(3) for details.
57
59 This request does never generate any errors.
60
63 Generated from dri3.xml. Contact xcb@lists.freedesktop.org for correc‐
64 tions and improvements.
65
66
67
68X Version 11 libxcb 1.12 xcb_dri3_open(3)