xcb_glx_are_textures_resident(3)
π xcb_glx_are_textures_resident(3) π
okay bestie, gather round, because we're doing an XCB Requests page today β it's xcb_glx_are_textures_resident(3), and yes it's a whole mouthful, say it three times fast, I dare you π«Ά
This is the GLX "are these textures even resident tho" request. The NAME line? It's literally just the function name, a dash, and absolutely nothing after it π iconic behaviour honestly. So likeβ¦ the name is the name, no cap.
β¨ SYNOPSIS β¨
First things first, you gotta pull in the header:
#include <xcb/glx.h>
πΈ Request function
xcb_glx_are_textures_resident_cookie_t
xcb_glx_are_textures_resident(xcb_connection_t *conn,
xcb_glx_context_tag_t context_tag, int32_t n, const
uint32_t *textures);
πΈ Reply datastructure
typedef struct xcb_glx_are_textures_resident_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
xcb_glx_bool32_t ret_val;
uint8_t pad1[20];
} xcb_glx_are_textures_resident_reply_t;
πΈ Reply function
xcb_glx_are_textures_resident_reply_t
*xcb_glx_are_textures_resident_reply(xcb_connection_t *conn,
xcb_glx_are_textures_resident_cookie_t cookie,
xcb_generic_error_t **e);
πΈ Reply accessors
uint8_t *xcb_glx_are_textures_resident_data(const
xcb_glx_are_textures_resident_request_t *reply);
int xcb_glx_are_textures_resident_data_length(const
xcb_glx_are_textures_resident_reply_t *reply);
xcb_generic_iterator_t xcb_glx_are_textures_resident_data_end(const
xcb_glx_are_textures_resident_reply_t *reply);
π REQUEST ARGUMENTS π
connβ bestie this is just your XCB connection to X11. the whole phone line to the server, the main character of the connection world πcontext_tagβ TODO: NOT YET DOCUMENTED. yeah girl, they left us on read on this one πnβ TODO: NOT YET DOCUMENTED. also left on read πtexturesβ TODO: NOT YET DOCUMENTED. and this one too, the docs said "no thoughts, head empty" β¨
π¦ REPLY FIELDS π¦
response_typeβ the type of this reply, and in this case it'sXCB_GLX_ARE_TEXTURES_RESIDENT. this field also lives in thexcb_generic_reply_t, so you can use it to tell your replies apart from each other, like name tags at a party πsequenceβ the sequence number of the last request the X11 server processed. the receipts, basically π§Ύlengthβ how long the reply is, in words β and a word here is 4 bytes, don't forget that part βret_valβ TODO: NOT YET DOCUMENTED. the mystery box of fields, we simply do not know π«Ά
π DESCRIPTION π
literally nothing here. the DESCRIPTION section is just vibes and silence. it's giving "we ran out of things to say" π
π RETURN VALUE π
So it returns an xcb_glx_are_textures_resident_cookie_t β cute lil cookie, hold onto it πͺ
Errors? You don't get them here, bestie. You have to handle those when you call the reply function xcb_glx_are_textures_resident_reply.
But if you'd rather handle your errors in the event loop instead, use xcb_glx_are_textures_resident_unchecked β see xcb-requests(3) for the deets, iykyk β¨
π ERRORS π
This request does never generate any errors. Not one. Zero. Clean sheet. slay. π₯
β SEE ALSO β
β¦yeah there's nothing listed here. empty section, empty heart, we move on π
πΈ AUTHOR πΈ
Generated from glx.xml. If you've got corrections or improvements, hit up xcb@lists.freedesktop.org β they're the ones to tell π«Ά
and that's the whole page, bestie!! this was X Version 11, libxcb 1.17.0, and you can find it filed under xcb_glx_are_textures_resident(3). periodt π
β¨π¦
π¦ 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