xcb_glx_get_tex_gendv(3)
π
xcb_glx_get_tex_gendv β from the XCB Requests manual, bestie π
okay so. this is a page from the XCB Requests manual, and it's giving "the documentation writer was on their lunch break" energy because half of it literally just says TODO. but we move. here's everything, no cap, nothing skipped. β¨
πΈ NAME πΈ
xcb_glx_get_tex_gendv β and that's it. that's the whole name section. the original is out here with zero description, main character with no backstory. iconic of it honestly. π
β¨ SYNOPSIS β¨
first up, the include, don't forget it:
#include <xcb/glx.h>
π Request function
xcb_glx_get_tex_gendv_cookie_t
xcb_glx_get_tex_gendv(xcb_connection_t *conn,
xcb_glx_context_tag_t context_tag, uint32_t coord,
uint32_t pname);
π¦ Reply datastructure
this is the struct you get back, look at her:
typedef struct xcb_glx_get_tex_gendv_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint8_t pad1[4];
uint32_t n;
xcb_glx_float64_t datum;
uint8_t pad2[8];
} xcb_glx_get_tex_gendv_reply_t;
π Reply function
xcb_glx_get_tex_gendv_reply_t
*xcb_glx_get_tex_gendv_reply(xcb_connection_t *conn,
xcb_glx_get_tex_gendv_cookie_t cookie, xcb_generic_error_t **e);
π Reply accessors
three little helpers for digging through the reply, obsessed with them:
xcb_glx_float64_t *xcb_glx_get_tex_gendv_data(const
xcb_glx_get_tex_gendv_request_t *reply);
int xcb_glx_get_tex_gendv_data_length(const
xcb_glx_get_tex_gendv_reply_t *reply);
xcb_generic_iterator_t xcb_glx_get_tex_gendv_data_end(const
xcb_glx_get_tex_gendv_reply_t *reply);
π REQUEST ARGUMENTS π
connβ your XCB connection to X11, the whole reason we're here bestie, she's the bridge π«Άcontext_tagβ TODO: NOT YET DOCUMENTED. (yeah. the manpage just said that. we're all just living in the mystery β¨)coordβ TODO: NOT YET DOCUMENTED. (same energy, truly nothing π)pnameβ TODO: NOT YET DOCUMENTED. (third time's the charm and still no info π)
π REPLY FIELDS π
response_typeβ the type of this reply, and in this case it'sXCB_GLX_GET_TEX_GENDV. this field is also chilling in thexcb_generic_reply_t, so you can use it to tell your replies apart from each other. very "which one of y'all is this" πsequenceβ the sequence number of the last request that got processed by the X11 server. it's the receipt, basically π§Ύlengthβ the length of the reply, in words. and before you ask: a word is 4 bytes. periodt. πnβ TODO: NOT YET DOCUMENTED. (the manpage's favourite sentence fr fr π)datumβ TODO: NOT YET DOCUMENTED. (and there it is again πΈ)
π DESCRIPTION π
okay bestie, brace yourself: the DESCRIPTION section is empty. there is literally nothing here. the original page has the heading and then just... vibes. silence. a moment of reflection. π―οΈ
no cap, i can't invent lore that isn't there, so i'm just gonna be honest with you: this section contains no text in the original. moving on. π
π₯ RETURN VALUE π₯
it returns an xcb_glx_get_tex_gendv_cookie_t. cute little cookie, but here's the thing β errors have to be handled when you call the reply function xcb_glx_get_tex_gendv_reply. so you don't get to ignore them, bestie, you go get that cookie redeemed. πͺ
but wait β if you'd rather handle errors in the event loop instead, use xcb_glx_get_tex_gendv_unchecked. see xcb-requests(3) for the details. different strategy, same drama. β¨
πΈ ERRORS πΈ
this request does never generate any errors. π β¨
not a single one. she's unproblematic. she's the low-drama friend. we love her for that honestly.
π¦ SEE ALSO π¦
...nothing. the SEE ALSO section is empty too. no cross-references, no friends, no nothing. she's on her solo era. π
π AUTHOR π
generated from glx.xml. if you've got corrections or improvements, hit up xcb@lists.freedesktop.org. they're accepting feedback, so slide into their inbox politely. π
and that's the whole page, bestie! stay hydrated, read your manpages, and remember: X Version 11, libxcb 1.17.0 β go forth and slay those GLX requests. 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