XCB_GLX_GET_HISTOGRAM_PARAMETERIV_UNCHECKED(3)
π NAME π
xcb_glx_get_histogram_parameteriv β okay so this is a request function from the XCB GLX family, and the original page literally just leaves the description hanging after the dash, so that's the vibe we're keeping, bestie. It's the GLX "get histogram parameteriv" request, and it lives in the xcb/glx.h cinematic universe.
β¨ SYNOPSIS β¨
First thing, the include. You need this or nothing works, fr fr:
#include <xcb/glx.h>
π Request function
xcb_glx_get_histogram_parameteriv_cookie_t
xcb_glx_get_histogram_parameteriv(xcb_connection_t *conn,
xcb_glx_context_tag_t context_tag, uint32_t target,
uint32_t pname);
π¦ Reply datastructure
typedef struct xcb_glx_get_histogram_parameteriv_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint8_t pad1[4];
uint32_t n;
int32_t datum;
uint8_t pad2[12];
} xcb_glx_get_histogram_parameteriv_reply_t;
πΈ Reply function
xcb_glx_get_histogram_parameteriv_reply_t
*xcb_glx_get_histogram_parameteriv_reply(xcb_connection_t *conn,
xcb_glx_get_histogram_parameteriv_cookie_t cookie,
xcb_generic_error_t **e);
π Reply accessors
int32_t *xcb_glx_get_histogram_parameteriv_data(const
xcb_glx_get_histogram_parameteriv_request_t *reply);
int xcb_glx_get_histogram_parameteriv_data_length(const
xcb_glx_get_histogram_parameteriv_reply_t *reply);
xcb_generic_iterator_t xcb_glx_get_histogram_parameteriv_data_end(const
xcb_glx_get_histogram_parameteriv_reply_t *reply);
π₯ REQUEST ARGUMENTS π₯
connβ bestie this is just your XCB connection to X11. The whole plugging-into-the-server moment. πcontext_tagβ the docs say TODO: NOT YET DOCUMENTED. So like... nobody wrote it down. It's giving mystery. πtargetβ also TODO: NOT YET DOCUMENTED. Same energy, same silence. πpnameβ you guessed it: TODO: NOT YET DOCUMENTED. Three for three, iconic of the docs honestly.
π REPLY FIELDS π
response_typeβ this tells you what kind of reply you got back, and in this case it'sXCB_GLX_GET_HISTOGRAM_PARAMETERIV. Lowkey the same field lives inxcb_generic_reply_ttoo, so you can use it to tell your replies apart from each other when they're all piling up in the queue. πsequenceβ the sequence number of the last request the X11 server actually processed. It's the little receipt number of your request. π§Ύlengthβ how long the reply is, measured in words. And reminder bestie: a word here is 4 bytes, not vibes. β¨nβ TODO: NOT YET DOCUMENTED. We know nothing. It's fine. π«Άdatumβ TODO: NOT YET DOCUMENTED. Also a mystery. Slay I guess. π
π DESCRIPTION π
Okay so the DESCRIPTION section on the original page is... literally empty. Nothing. A void. The silence is deafening, no cap. So we're all just out here knowing the function name and the fields and nothing else. π³οΈ
π RETURN VALUE π
You get back an xcb_glx_get_histogram_parameteriv_cookie_t. A whole cookie. πͺ
And here's the important part: any errors have to be handled when you call the reply function, xcb_glx_get_histogram_parameteriv_reply.
If you'd rather handle errors in the event loop instead, then use xcb_glx_get_histogram_parameteriv_unchecked. Head over to xcb-requests(3) for the deets on how that works, iykyk. π«
π¨ ERRORS π¨
This request does never generate any errors. Periodt. Zero drama, zero error codes, it simply does not do that. π
π SEE ALSO π
Okay so this section on the original page is just an empty heading β no cross-references listed at all. So there's nothing to point you toward here. Ngl it's a little lonely in this section. π¦
β AUTHOR β
Generated from glx.xml. If you wanna send corrections or improvements, hit up xcb@lists.freedesktop.org. They're the ones who actually know things. π¬
And that's a wrap on the xcb_glx_get_histogram_parameteriv(3) page, bestie! π«Ά It comes to you courtesy of X Version 11, from libxcb 1.17.0. Go forth and get those histogram parameters, mwah. πβ¨π
π¦ 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