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

NAME

6       xcb_glx_get_visual_configs -
7

SYNOPSIS

9       #include <xcb/glx.h>
10
11   Request function
12       xcb_glx_get_visual_configs_cookie_t
13              xcb_glx_get_visual_configs(xcb_connection_t *conn,
14              uint32_t screen);
15
16   Reply datastructure
17       typedef struct xcb_glx_get_visual_configs_reply_t {
18           uint8_t  response_type;
19           uint8_t  pad0;
20           uint16_t sequence;
21           uint32_t length;
22           uint32_t num_visuals;
23           uint32_t num_properties;
24           uint8_t  pad1[16];
25       } xcb_glx_get_visual_configs_reply_t;
26
27   Reply function
28       xcb_glx_get_visual_configs_reply_t
29              *xcb_glx_get_visual_configs_reply(xcb_connection_t *conn,
30              xcb_glx_get_visual_configs_cookie_t cookie,
31              xcb_generic_error_t **e);
32
33   Reply accessors
34       uint32_t *xcb_glx_get_visual_configs_property_list(const
35              xcb_glx_get_visual_configs_request_t *reply);
36
37       int xcb_glx_get_visual_configs_property_list_length(const
38              xcb_glx_get_visual_configs_reply_t *reply);
39
40       xcb_generic_iterator_t
41              xcb_glx_get_visual_configs_property_list_end(const
42              xcb_glx_get_visual_configs_reply_t *reply);
43

REQUEST ARGUMENTS

45       conn      The XCB connection to X11.
46
47       screen    TODO: NOT YET DOCUMENTED.
48

REPLY FIELDS

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

DESCRIPTION

RETURN VALUE

68       Returns an xcb_glx_get_visual_configs_cookie_t. Errors have to be han‐
69       dled when calling the reply function xcb_glx_get_visual_configs_reply.
70
71       If you want to handle errors in the event loop instead, use
72       xcb_glx_get_visual_configs_unchecked. See xcb-requests(3) for details.
73

ERRORS

75       This request does never generate any errors.
76

SEE ALSO

AUTHOR

79       Generated from glx.xml. Contact xcb@lists.freedesktop.org for correc‐
80       tions and improvements.
81
82
83
84X Version 11                     libxcb 1.13.1   xcb_glx_get_visual_configs(3)
Impressum