1xcb_glx_get_histogram(3) XCB Requests xcb_glx_get_histogram(3)
2
3
4
6 xcb_glx_get_histogram -
7
9 #include <xcb/glx.h>
10
11 Request function
12 xcb_glx_get_histogram_cookie_t
13 xcb_glx_get_histogram(xcb_connection_t *conn,
14 xcb_glx_context_tag_t context_tag, uint32_t target,
15 uint32_t format, uint32_t type, uint8_t swap_bytes,
16 uint8_t reset);
17
18 Reply datastructure
19 typedef struct xcb_glx_get_histogram_reply_t {
20 uint8_t response_type;
21 uint8_t pad0;
22 uint16_t sequence;
23 uint32_t length;
24 uint8_t pad1[8];
25 int32_t width;
26 uint8_t pad2[12];
27 } xcb_glx_get_histogram_reply_t;
28
29 Reply function
30 xcb_glx_get_histogram_reply_t
31 *xcb_glx_get_histogram_reply(xcb_connection_t *conn,
32 xcb_glx_get_histogram_cookie_t cookie, xcb_generic_error_t **e);
33
34 Reply accessors
35 uint8_t *xcb_glx_get_histogram_data(const
36 xcb_glx_get_histogram_request_t *reply);
37
38 int xcb_glx_get_histogram_data_length(const
39 xcb_glx_get_histogram_reply_t *reply);
40
41 xcb_generic_iterator_t xcb_glx_get_histogram_data_end(const
42 xcb_glx_get_histogram_reply_t *reply);
43
45 conn The XCB connection to X11.
46
47 context_tag
48 TODO: NOT YET DOCUMENTED.
49
50 target TODO: NOT YET DOCUMENTED.
51
52 format TODO: NOT YET DOCUMENTED.
53
54 type TODO: NOT YET DOCUMENTED.
55
56 swap_bytes
57 TODO: NOT YET DOCUMENTED.
58
59 reset TODO: NOT YET DOCUMENTED.
60
62 response_type
63 The type of this reply, in this case XCB_GLX_GET_HISTOGRAM.
64 This field is also present in the xcb_generic_reply_t and can
65 be used to tell replies apart from each other.
66
67 sequence The sequence number of the last request processed by the X11
68 server.
69
70 length The length of the reply, in words (a word is 4 bytes).
71
72 width TODO: NOT YET DOCUMENTED.
73
76 Returns an xcb_glx_get_histogram_cookie_t. Errors have to be handled
77 when calling the reply function xcb_glx_get_histogram_reply.
78
79 If you want to handle errors in the event loop instead, use
80 xcb_glx_get_histogram_unchecked. See xcb-requests(3) for details.
81
83 This request does never generate any errors.
84
87 Generated from glx.xml. Contact xcb@lists.freedesktop.org for correcā
88 tions and improvements.
89
90
91
92X Version 11 libxcb 1.12 xcb_glx_get_histogram(3)