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

NAME

6       xcb_glx_render_mode -
7

SYNOPSIS

9       #include <xcb/glx.h>
10
11   Request function
12       xcb_glx_render_mode_cookie_t
13              xcb_glx_render_mode(xcb_connection_t *conn,
14              xcb_glx_context_tag_t context_tag, uint32_t mode);
15
16   Reply datastructure
17       typedef struct xcb_glx_render_mode_reply_t {
18           uint8_t  response_type;
19           uint8_t  pad0;
20           uint16_t sequence;
21           uint32_t length;
22           uint32_t ret_val;
23           uint32_t n;
24           uint32_t new_mode;
25           uint8_t  pad1[12];
26       } xcb_glx_render_mode_reply_t;
27
28   Reply function
29       xcb_glx_render_mode_reply_t
30              *xcb_glx_render_mode_reply(xcb_connection_t *conn,
31              xcb_glx_render_mode_cookie_t cookie, xcb_generic_error_t **e);
32
33   Reply accessors
34       uint32_t *xcb_glx_render_mode_data(const xcb_glx_render_mode_request_t
35              *reply);
36
37       int xcb_glx_render_mode_data_length(const xcb_glx_render_mode_reply_t
38              *reply);
39
40       xcb_generic_iterator_t xcb_glx_render_mode_data_end(const
41              xcb_glx_render_mode_reply_t *reply);
42

REQUEST ARGUMENTS

44       conn      The XCB connection to X11.
45
46       context_tag
47                 TODO: NOT YET DOCUMENTED.
48
49       mode      TODO: NOT YET DOCUMENTED.
50

REPLY FIELDS

52       response_type
53                 The type of this reply, in this case XCB_GLX_RENDER_MODE.
54                 This field is also present in the xcb_generic_reply_t and can
55                 be used to tell replies apart from each other.
56
57       sequence  The sequence number of the last request processed by the X11
58                 server.
59
60       length    The length of the reply, in words (a word is 4 bytes).
61
62       ret_val   TODO: NOT YET DOCUMENTED.
63
64       n         TODO: NOT YET DOCUMENTED.
65
66       new_mode  TODO: NOT YET DOCUMENTED.
67

DESCRIPTION

RETURN VALUE

70       Returns an xcb_glx_render_mode_cookie_t. Errors have to be handled when
71       calling the reply function xcb_glx_render_mode_reply.
72
73       If you want to handle errors in the event loop instead, use
74       xcb_glx_render_mode_unchecked. See xcb-requests(3) for details.
75

ERRORS

77       This request does never generate any errors.
78

SEE ALSO

AUTHOR

81       Generated from glx.xml. Contact xcb@lists.freedesktop.org for correcā€
82       tions and improvements.
83
84
85
86X Version 11                      libxcb 1.12           xcb_glx_render_mode(3)
Impressum