1xcb_glx_is_direct(3) XCB Requests xcb_glx_is_direct(3)
2
3
4
6 xcb_glx_is_direct -
7
9 #include <xcb/glx.h>
10
11 Request function
12 xcb_glx_is_direct_cookie_t xcb_glx_is_direct(xcb_connection_t *conn,
13 xcb_glx_context_t context);
14
15 Reply datastructure
16 typedef struct xcb_glx_is_direct_reply_t {
17 uint8_t response_type;
18 uint8_t pad0;
19 uint16_t sequence;
20 uint32_t length;
21 uint8_t is_direct;
22 uint8_t pad1[23];
23 } xcb_glx_is_direct_reply_t;
24
25 Reply function
26 xcb_glx_is_direct_reply_t
27 *xcb_glx_is_direct_reply(xcb_connection_t *conn,
28 xcb_glx_is_direct_cookie_t cookie, xcb_generic_error_t **e);
29
31 conn The XCB connection to X11.
32
33 context TODO: NOT YET DOCUMENTED.
34
36 response_type
37 The type of this reply, in this case XCB_GLX_IS_DIRECT. 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 is_direct TODO: NOT YET DOCUMENTED.
47
50 Returns an xcb_glx_is_direct_cookie_t. Errors have to be handled when
51 calling the reply function xcb_glx_is_direct_reply.
52
53 If you want to handle errors in the event loop instead, use
54 xcb_glx_is_direct_unchecked. See xcb-requests(3) for details.
55
57 This request does never generate any errors.
58
61 Generated from glx.xml. Contact xcb@lists.freedesktop.org for correcā
62 tions and improvements.
63
64
65
66X Version 11 libxcb 1.13 xcb_glx_is_direct(3)