1xcb_glx_query_context(3)         XCB Requests         xcb_glx_query_context(3)
2
3
4

NAME

6       xcb_glx_query_context -
7

SYNOPSIS

9       #include <xcb/glx.h>
10
11   Request function
12       xcb_glx_query_context_cookie_t
13              xcb_glx_query_context(xcb_connection_t *conn,
14              xcb_glx_context_t context);
15
16   Reply datastructure
17       typedef struct xcb_glx_query_context_reply_t {
18           uint8_t  response_type;
19           uint8_t  pad0;
20           uint16_t sequence;
21           uint32_t length;
22           uint32_t num_attribs;
23           uint8_t  pad1[20];
24       } xcb_glx_query_context_reply_t;
25
26   Reply function
27       xcb_glx_query_context_reply_t
28              *xcb_glx_query_context_reply(xcb_connection_t *conn,
29              xcb_glx_query_context_cookie_t cookie, xcb_generic_error_t **e);
30
31   Reply accessors
32       uint32_t *xcb_glx_query_context_attribs(const
33              xcb_glx_query_context_request_t *reply);
34
35       int xcb_glx_query_context_attribs_length(const
36              xcb_glx_query_context_reply_t *reply);
37
38       xcb_generic_iterator_t xcb_glx_query_context_attribs_end(const
39              xcb_glx_query_context_reply_t *reply);
40

REQUEST ARGUMENTS

42       conn      The XCB connection to X11.
43
44       context   TODO: NOT YET DOCUMENTED.
45

REPLY FIELDS

47       response_type
48                 The type of this reply, in this case XCB_GLX_QUERY_CONTEXT.
49                 This field is also present in the xcb_generic_reply_t and can
50                 be used to tell replies apart from each other.
51
52       sequence  The sequence number of the last request processed by the X11
53                 server.
54
55       length    The length of the reply, in words (a word is 4 bytes).
56
57       num_attribs
58                 TODO: NOT YET DOCUMENTED.
59

DESCRIPTION

RETURN VALUE

62       Returns an xcb_glx_query_context_cookie_t. Errors have to be handled
63       when calling the reply function xcb_glx_query_context_reply.
64
65       If you want to handle errors in the event loop instead, use
66       xcb_glx_query_context_unchecked. See xcb-requests(3) for details.
67

ERRORS

69       This request does never generate any errors.
70

SEE ALSO

AUTHOR

73       Generated from glx.xml. Contact xcb@lists.freedesktop.org for correcā€
74       tions and improvements.
75
76
77
78X Version 11                      libxcb 1.12         xcb_glx_query_context(3)
Impressum