xcb_glx_get_c...tex_image_arb(3)
π NAME π
xcb_glx_get_compressed_tex_image_arb β and bestie, the description slot is literally just... empty. Blank. Nothing there. The manual name for this whole page is xcb_glx_get_c...tex_image_arb and it lives in the XCB Requests section, okay? That's the vibe. π
β¨ SYNOPSIS β¨
Okay so first you gotta pull in the header, always:
#include <xcb/glx.h>
π Request function π
This is the one you actually call to fire off the request:
xcb_glx_get_compressed_tex_image_arb_cookie_t
xcb_glx_get_compressed_tex_image_arb(xcb_connection_t *conn,
xcb_glx_context_tag_t context_tag, uint32_t target,
int32_t level);
π¦ Reply datastructure π¦
And here's the struct the reply comes back in, every field exactly as the universe intended:
typedef struct xcb_glx_get_compressed_tex_image_arb_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint8_t pad1[8];
int32_t size;
uint8_t pad2[12];
} xcb_glx_get_compressed_tex_image_arb_reply_t;
πΈ Reply function πΈ
Then you go grab the actual reply with this:
xcb_glx_get_compressed_tex_image_arb_reply_t
*xcb_glx_get_compressed_tex_image_arb_reply(xcb_connection_t *conn,
xcb_glx_get_compressed_tex_image_arb_cookie_t cookie,
xcb_generic_error_t **e);
π§ Reply accessors π§
Three little helpers to get at the good stuff inside, no cap:
uint8_t *xcb_glx_get_compressed_tex_image_arb_data(const
xcb_glx_get_compressed_tex_image_arb_request_t *reply);
int xcb_glx_get_compressed_tex_image_arb_data_length(const
xcb_glx_get_compressed_tex_image_arb_reply_t *reply);
xcb_generic_iterator_t
xcb_glx_get_compressed_tex_image_arb_data_end(const
xcb_glx_get_compressed_tex_image_arb_reply_t *reply);
π REQUEST ARGUMENTS π
Here's what you're handing over when you make the call:
connβ your XCB connection to X11. Your link to the server, your whole line to the other side. π«Άcontext_tagβ TODO: NOT YET DOCUMENTED. Yeah. Nobody wrote it down. It's giving mystery. πtargetβ TODO: NOT YET DOCUMENTED. Same energy, bestie.levelβ TODO: NOT YET DOCUMENTED. Also undocumented. The trilogy of TODO.
π REPLY FIELDS π
What comes back in that struct:
response_typeβ the type of this reply, and in this case it'sXCB_GLX_GET_COMPRESSED_TEX_IMAGE_ARB. This field is also sitting in thexcb_generic_reply_t, so you can use it to tell your replies apart from each other. Iconic multitasking. πsequenceβ the sequence number of the last request the X11 server processed. Receipts, basically.lengthβ how long the reply is, measured in words. And heads up, a word here is 4 bytes. Periodt.sizeβ TODO: NOT YET DOCUMENTED. Yeah girl, we don't know either. π
π DESCRIPTION π
Okay so... there is no description. Zero. Nothing. The section exists and inside it is the void. Lowkey iconic of it honestly. β¨
β RETURN VALUE β
You get back an xcb_glx_get_compressed_tex_image_arb_cookie_t. And listen, errors? You don't handle those here β you handle them when you call the reply function xcb_glx_get_compressed_tex_image_arb_reply. That's where the drama goes down.
But if you'd rather handle errors in the event loop instead, use xcb_glx_get_compressed_tex_image_arb_unchecked. Peep xcb-requests(3) for the full tea on that.
π ERRORS π
This request does never generate any errors.
Not one. Not ever. It's that chill. π§
π¦ SEE ALSO π¦
Nothing here, bestie. The list is empty. A whole section with no references. We respect it. π
π AUTHOR π
Generated from glx.xml. If you've got corrections or improvements, hit up xcb@lists.freedesktop.org β they're literally asking for it.
And that's the whole page, mwah π
β brought to you by X Version 11 and libxcb 1.17.0, page xcb_glx_get_c...tex_image_arb(3). Go get those compressed tex images, queen. πβ¨
π¦ 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