xcb_glx_get_c...tex_image_arb(3)

πŸ“¦
version 1.17.0 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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's XCB_GLX_GET_COMPRESSED_TEX_IMAGE_ARB. This field is also sitting in the xcb_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. πŸŽ€βœ¨