1xcb_glx_make_current(3) XCB Requests xcb_glx_make_current(3)
2
3
4
6 xcb_glx_make_current -
7
9 #include <xcb/glx.h>
10
11 Request function
12 xcb_glx_make_current_cookie_t
13 xcb_glx_make_current(xcb_connection_t *conn,
14 xcb_glx_drawable_t drawable, xcb_glx_context_t context,
15 xcb_glx_context_tag_t old_context_tag);
16
17 Reply datastructure
18 typedef struct xcb_glx_make_current_reply_t {
19 uint8_t response_type;
20 uint8_t pad0;
21 uint16_t sequence;
22 uint32_t length;
23 xcb_glx_context_tag_t context_tag;
24 uint8_t pad1[20];
25 } xcb_glx_make_current_reply_t;
26
27 Reply function
28 xcb_glx_make_current_reply_t
29 *xcb_glx_make_current_reply(xcb_connection_t *conn,
30 xcb_glx_make_current_cookie_t cookie, xcb_generic_error_t **e);
31
33 conn The XCB connection to X11.
34
35 drawable TODO: NOT YET DOCUMENTED.
36
37 context TODO: NOT YET DOCUMENTED.
38
39 old_context_tag
40 TODO: NOT YET DOCUMENTED.
41
43 response_type
44 The type of this reply, in this case XCB_GLX_MAKE_CURRENT.
45 This field is also present in the xcb_generic_reply_t and can
46 be used to tell replies apart from each other.
47
48 sequence The sequence number of the last request processed by the X11
49 server.
50
51 length The length of the reply, in words (a word is 4 bytes).
52
53 context_tag
54 TODO: NOT YET DOCUMENTED.
55
58 Returns an xcb_glx_make_current_cookie_t. Errors have to be handled
59 when calling the reply function xcb_glx_make_current_reply.
60
61 If you want to handle errors in the event loop instead, use
62 xcb_glx_make_current_unchecked. See xcb-requests(3) for details.
63
65 This request does never generate any errors.
66
69 Generated from glx.xml. Contact xcb@lists.freedesktop.org for correcā
70 tions and improvements.
71
72
73
74X Version 11 libxcb 1.13.1 xcb_glx_make_current(3)