XCB_GLX_GET_QUERY_OBJECTIV_ARB_REPLY(3)
π 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'sXCB_GLX_GET_QUERY_OBJECTIV_ARB. This field also shows up inxcb_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 π«ΆπΈ
π¦ 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