xcb_glx_get_histogram(3)
β¨ xcb_glx_get_histogram β¨
okay bestie, welcome to the manual page for xcb_glx_get_histogram, a little request from the XCB Requests family (that's the manual section, iykyk). it lives in the glx world, it's giving "ask the X server for a histogram and get a cookie back" energy, and we're gonna walk through it together. no gatekeeping. π
πΈ NAME πΈ
xcb_glx_get_histogram β no description was ever written here, bestie, the manpage just leaves it blank and honestly? iconic of it
π¦ SYNOPSIS π¦
First, include the header. you know the drill:
#include <xcb/glx.h>
π Request function
xcb_glx_get_histogram_cookie_t
xcb_glx_get_histogram(xcb_connection_t *conn,
xcb_glx_context_tag_t context_tag, uint32_t target,
uint32_t format, uint32_t type, uint8_t swap_bytes,
uint8_t reset);
π Reply datastructure
typedef struct xcb_glx_get_histogram_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint8_t pad1[8];
int32_t width;
uint8_t pad2[12];
} xcb_glx_get_histogram_reply_t;
β¨ Reply function
xcb_glx_get_histogram_reply_t
*xcb_glx_get_histogram_reply(xcb_connection_t *conn,
xcb_glx_get_histogram_cookie_t cookie, xcb_generic_error_t **e);
π§ Reply accessors
uint8_t *xcb_glx_get_histogram_data(const
xcb_glx_get_histogram_request_t *reply);
int xcb_glx_get_histogram_data_length(const
xcb_glx_get_histogram_reply_t *reply);
xcb_generic_iterator_t xcb_glx_get_histogram_data_end(const
xcb_glx_get_histogram_reply_t *reply);
π REQUEST ARGUMENTS π
connβ your XCB connection to X11. your whole link to the server, your ride or die. π«Άcontext_tagβTODO: NOT YET DOCUMENTED.literally the manpage says nothing, bestie, we're all just vibingtargetβTODO: NOT YET DOCUMENTED.formatβTODO: NOT YET DOCUMENTED.typeβTODO: NOT YET DOCUMENTED.swap_bytesβTODO: NOT YET DOCUMENTED.resetβTODO: NOT YET DOCUMENTED.
π REPLY FIELDS π
response_typeβ the type of this reply, and in this case it'sXCB_GLX_GET_HISTOGRAM. this field is also chillin' in thexcb_generic_reply_t, so you can use it to tell your replies apart from each other. very "how do you do, fellow replies" of it. πsequenceβ the sequence number of the last request the X11 server processed. the receipts, basically.lengthβ how long the reply is, in words. and just so we're clear: a word is 4 bytes. periodt.widthβTODO: NOT YET DOCUMENTED.
π DESCRIPTION π
there is literally nothing here. the section exists, it's empty, it's serving minimalism. we move.
π RETURN VALUE π
Returns an xcb_glx_get_histogram_cookie_t. πͺ
Errors have to be handled when you call the reply function, xcb_glx_get_histogram_reply.
If you'd rather handle errors in the event loop instead, use xcb_glx_get_histogram_unchecked. See xcb-requests(3) for the deets.
π₯ ERRORS π₯
this request does never generate any errors. not one. zero. clean sheet. slay. π
π SEE ALSO π
(nothing listed here, bestie β the section is there but it's empty, we respect the silence)
π AUTHOR π
Generated from glx.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. π«Ά
and that's the whole page, babe. this was X Version 11, libxcb 1.17.0, and it's the xcb_glx_get_histogram(3) manual. go forth and get those histograms. bye bestie! πβ¨ππ¦πΈ
π¦ where this page comes from
- alpine 3.22: libxcb-doc 1.17.0-r0 Β· MIT
- alpine 3.23: libxcb-doc 1.17.0-r1 Β· MIT
- alpine 3.24: libxcb-doc 1.17.0-r2 Β· MIT
- arch rolling: libxcb 1.17.0-1 Β· X11
- centos-stream 10: libxcb-devel 1.17.0-3.el10 Β· X11
- debian trixie: libxcb-doc 1.17.0-2
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- nixpkgs unstable: libxcb 1.17.0
- opensuse-leap 16.0: libxcb-devel-doc 1.17.0-160000.2.2 Β· MIT
- ubuntu questing: libxcb-doc 1.17.0-2build1
- ubuntu resolute: libxcb-doc 1.17.0-2ubuntu1
- ubuntu stonking: libxcb-doc 1.17.0-2ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms