xcb_glx_get_tex_parameteriv(3)
β¨ xcb_glx_get_tex_parameteriv π
okay so bestie, welcome to the libxcb corner of the X world πΈ this little page is from the XCB Requests manual, section 3 β so yeah, it's xcb_glx_get_tex_parameteriv(3), and it's giving very GLX, very texture-parameter, very "I need info back from the server" energy. β¨
π NAME π
xcb_glx_get_tex_parameteriv β and that's literally it, bestie. The original manpage left this one blank. No description. Empty. Iconic of it, honestly. π
π¦ SYNOPSIS π¦
First things first, you gotta pull in the header:
#include <xcb/glx.h>
β¨ Request function β¨
xcb_glx_get_tex_parameteriv_cookie_t
xcb_glx_get_tex_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_tex_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_tex_parameteriv_reply_t;
π Reply function π
xcb_glx_get_tex_parameteriv_reply_t
*xcb_glx_get_tex_parameteriv_reply(xcb_connection_t *conn,
xcb_glx_get_tex_parameteriv_cookie_t cookie,
xcb_generic_error_t **e);
π Reply accessors π
int32_t *xcb_glx_get_tex_parameteriv_data(const
xcb_glx_get_tex_parameteriv_request_t *reply);
int xcb_glx_get_tex_parameteriv_data_length(const
xcb_glx_get_tex_parameteriv_reply_t *reply);
xcb_generic_iterator_t xcb_glx_get_tex_parameteriv_data_end(const
xcb_glx_get_tex_parameteriv_reply_t *reply);
π REQUEST ARGUMENTS π
connβ your XCB connection to X11, aka your little hotline to the server. No conn, no vibes.context_tagβ TODO: NOT YET DOCUMENTED. yeah bestie, they left us on read for this one πtargetβ TODO: NOT YET DOCUMENTED. also a mystery π΅οΈpnameβ TODO: NOT YET DOCUMENTED. same energy. We simply do not know. π
πΈ REPLY FIELDS πΈ
response_typeβ the type of this reply, and in this case it'sXCB_GLX_GET_TEX_PARAMETERIV. She's also hanging out in thexcb_generic_reply_t, which is lowkey so useful because you can use it to tell replies apart from each other. vibe check: passed. β¨sequenceβ the sequence number of the last request that got processed by the X11 server. Receipts, basically. π§Ύlengthβ how long the reply is, counted in words. And a word is4bytes, no cap. πnβ TODO: NOT YET DOCUMENTED. the mystery continues π«datumβ TODO: NOT YET DOCUMENTED. also undocumented, also unexplained, also serving cunt π
π DESCRIPTION π
β¦nothing. This section is literally empty in the original. The description said "I'm not doing that" and left. Respect the boundaries, bestie. π
β RETURN VALUE β
So here's the tea: this gives you back an xcb_glx_get_tex_parameteriv_cookie_t. πͺ
Errors? You do not handle them here. You handle them when you call the reply function xcb_glx_get_tex_parameteriv_reply. That's where the drama goes down.
And if you'd rather catch errors in the event loop instead β very main character of you β use xcb_glx_get_tex_parameteriv_unchecked. Peep xcb-requests(3) for the details, iykyk. π
π₯ ERRORS π₯
This request does never generate any errors. π
fr fr, she's chill like that. No error drama, no red flags, just vibes. π¦
π SEE ALSO π
Nothing here either, bestie. The original page lists no references. Empty. A whole mood. π
π AUTHOR π
Generated from glx.xml. If you've got corrections or improvements, hit up xcb@lists.freedesktop.org β they're literally asking, so slide into those inboxes. π
okay and one final cute sign-off: this page came to you from X Version 11, riding with libxcb 1.17.0 β the whole xcb_glx_get_tex_parameteriv(3) situation, documented and delivered. πβ¨ take care of her, she's sensitive about her undocumented fields. π
π¦ 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