XCB_GLX_GET_QUERY_OBJECTIV_ARB_DATA_END(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

πŸ’– xcb_glx_get_query_objectiv_arb(3) πŸ’–

okay bestie, so this one lives in the libxcb family β€” X Version 11 era, libxcb 1.17.0 energy β€” and it's one of the GLX request pages. It's giving "generated from XML and nobody wrote the docs yet," but we're still gonna walk through every single bit of it together, no cap. πŸ¦‹


✨ NAME ✨

xcb_glx_get_query_objectiv_arb β€” and that's literally it. The description slot is empty, bestie. The manpage authors left it blank, so we're not inventing one. We respect the mystery. πŸ’…


🌸 SYNOPSIS 🌸

First things first, you gotta pull in the header:

#include <xcb/glx.h>

πŸŽ€ Request function

Here's the function that kicks the whole request off:

xcb_glx_get_query_objectiv_arb_cookie_t
       xcb_glx_get_query_objectiv_arb(xcb_connection_t *conn,
       xcb_glx_context_tag_t context_tag, uint32_t id, uint32_t pname);

πŸŽ€ Reply datastructure

This is the struct you get back when the reply lands. Every field, exactly as written, no edits:

typedef struct xcb_glx_get_query_objectiv_arb_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_query_objectiv_arb_reply_t;

πŸŽ€ Reply function

And here's the one that actually goes and fetches that reply for you:

xcb_glx_get_query_objectiv_arb_reply_t
       *xcb_glx_get_query_objectiv_arb_reply(xcb_connection_t *conn,
       xcb_glx_get_query_objectiv_arb_cookie_t cookie,
       xcb_generic_error_t **e);

πŸŽ€ Reply accessors

Three little helpers for poking at the reply data. Slay:

int32_t *xcb_glx_get_query_objectiv_arb_data(const
       xcb_glx_get_query_objectiv_arb_request_t *reply);

int xcb_glx_get_query_objectiv_arb_data_length(const
       xcb_glx_get_query_objectiv_arb_reply_t *reply);

xcb_generic_iterator_t xcb_glx_get_query_objectiv_arb_data_end(const
       xcb_glx_get_query_objectiv_arb_reply_t *reply);

πŸ‘‘ REQUEST ARGUMENTS πŸ‘‘

  • conn β€” your XCB connection to X11. The whole line to the server, basically. ✨
  • context_tag β€” TODO: NOT YET DOCUMENTED. Yeah. The docs said "later" and never came back. πŸ™ˆ
  • id β€” TODO: NOT YET DOCUMENTED. Same vibe, same emptiness.
  • pname β€” TODO: NOT YET DOCUMENTED. Three for three, bestie. 😭

🌈 REPLY FIELDS 🌈

  • response_type β€” the type of this reply, and in this case it's XCB_GLX_GET_QUERY_OBJECTIV_ARB. This field also shows up in xcb_generic_reply_t, so you can use it to tell replies apart from each other. Very main character of it. πŸ’«
  • sequence β€” the sequence number of the last request the X11 server processed. It's the receipts, fr fr.
  • length β€” how long the reply is, counted in words (and a word is 4 bytes, keep that in your notes πŸ“).
  • n β€” TODO: NOT YET DOCUMENTED.
  • datum β€” TODO: NOT YET DOCUMENTED.

🧚 DESCRIPTION 🧚

Nothing here. Genuinely nothing. The section exists, it's just empty. We're not filling it with fanfiction. 🫢


πŸ’œ RETURN VALUE πŸ’œ

You get back an xcb_glx_get_query_objectiv_arb_cookie_t. It's a cookie! πŸͺ Errors have to be handled when you call the reply function, xcb_glx_get_query_objectiv_arb_reply.

If you'd rather handle errors in the event loop instead, use xcb_glx_get_query_objectiv_arb_unchecked. Peep xcb-requests(3) for the deets.


⭐ ERRORS ⭐

This request does never generate any errors. None. Zero. Iconic behaviour honestly. πŸŽ€

πŸ¦‹ SEE ALSO πŸ¦‹

Nothing listed. Empty section, empty heart. πŸ’€


πŸ’– AUTHOR πŸ’–

Generated from glx.xml. Wanna send corrections and improvements? Contact xcb@lists.freedesktop.org. They're taking notes, bestie. ✨


okay that's the whole page!! every flag, every field, every TODO, all of it, preserved with love and zero fabrications πŸ’…

X Version 11 Β· libxcb 1.17.0 Β· xcb_glx_get_query_objectiv_arb(3) β€” mwah, thanks for reading, you ate that 🫢🌸