1xcb_render_query_pict_formats(3) XCB Requests xcb_render_query_pict_formats(3)
2
3
4
6 xcb_render_query_pict_formats -
7
9 #include <xcb/render.h>
10
11 Request function
12 xcb_render_query_pict_formats_cookie_t
13 xcb_render_query_pict_formats(xcb_connection_t *conn,
14
15 Reply datastructure
16 typedef struct xcb_render_query_pict_formats_reply_t {
17 uint8_t response_type;
18 uint8_t pad0;
19 uint16_t sequence;
20 uint32_t length;
21 uint32_t num_formats;
22 uint32_t num_screens;
23 uint32_t num_depths;
24 uint32_t num_visuals;
25 uint32_t num_subpixel;
26 uint8_t pad1[4];
27 } xcb_render_query_pict_formats_reply_t;
28
29 Reply function
30 xcb_render_query_pict_formats_reply_t
31 *xcb_render_query_pict_formats_reply(xcb_connection_t *conn,
32 xcb_render_query_pict_formats_cookie_t cookie,
33 xcb_generic_error_t **e);
34
35 Reply accessors
36 xcb_render_pictforminfo_t *xcb_render_query_pict_formats_formats(const
37 xcb_render_query_pict_formats_request_t *reply);
38
39 int xcb_render_query_pict_formats_formats_length(const
40 xcb_render_query_pict_formats_reply_t *reply);
41
42 xcb_render_pictforminfo_iterator_t
43 xcb_render_query_pict_formats_formats_iterator(const
44 xcb_render_query_pict_formats_reply_t *reply);
45
46 int xcb_render_query_pict_formats_screens_length(const
47 xcb_render_query_pict_formats_reply_t *reply);
48
49 xcb_render_pictscreen_iterator_t
50 xcb_render_query_pict_formats_screens_iterator(const
51 xcb_render_query_pict_formats_reply_t *reply);
52
53 uint32_t *xcb_render_query_pict_formats_subpixels(const
54 xcb_render_query_pict_formats_request_t *reply);
55
56 int xcb_render_query_pict_formats_subpixels_length(const
57 xcb_render_query_pict_formats_reply_t *reply);
58
59 xcb_generic_iterator_t
60 xcb_render_query_pict_formats_subpixels_end(const
61 xcb_render_query_pict_formats_reply_t *reply);
62
64 conn The XCB connection to X11.
65
67 response_type
68 The type of this reply, in this case XCB_REN‐
69 DER_QUERY_PICT_FORMATS. This field is also present in the
70 xcb_generic_reply_t and can be used to tell replies apart
71 from each other.
72
73 sequence The sequence number of the last request processed by the X11
74 server.
75
76 length The length of the reply, in words (a word is 4 bytes).
77
78 num_formats
79 TODO: NOT YET DOCUMENTED.
80
81 num_screens
82 TODO: NOT YET DOCUMENTED.
83
84 num_depths
85 TODO: NOT YET DOCUMENTED.
86
87 num_visuals
88 TODO: NOT YET DOCUMENTED.
89
90 num_subpixel
91 TODO: NOT YET DOCUMENTED.
92
95 Returns an xcb_render_query_pict_formats_cookie_t. Errors have to be
96 handled when calling the reply function xcb_render_query_pict_for‐
97 mats_reply.
98
99 If you want to handle errors in the event loop instead, use xcb_ren‐
100 der_query_pict_formats_unchecked. See xcb-requests(3) for details.
101
103 This request does never generate any errors.
104
107 Generated from render.xml. Contact xcb@lists.freedesktop.org for cor‐
108 rections and improvements.
109
110
111
112X Version 11 libxcb 1.12 xcb_render_query_pict_formats(3)