xcb_glx_get_mapdv(3)
π xcb_glx_get_mapdv β bestie edition
okay so like, this is xcb_glx_get_mapdv, a lil request from the XCB Requests fam, living over in libxcb. It's giving "glx, but make it a network round-trip." Let's get into it π«Ά
β¨ NAME β¨
xcb_glx_get_mapdv β no cap, that's the whole name, the original page literally just left it hanging there with a lil dash and zero explanation π so we move.
πΈ SYNOPSIS πΈ
First things first, you gotta pull in the header or nothing works:
#include <xcb/glx.h>
π Request function
xcb_glx_get_mapdv_cookie_t xcb_glx_get_mapdv(xcb_connection_t *conn,
xcb_glx_context_tag_t context_tag, uint32_t target,
uint32_t query);
π¦ Reply datastructure
typedef struct xcb_glx_get_mapdv_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint8_t pad1[4];
uint32_t n;
xcb_glx_float64_t datum;
uint8_t pad2[8];
} xcb_glx_get_mapdv_reply_t;
π§ Reply function
xcb_glx_get_mapdv_reply_t
*xcb_glx_get_mapdv_reply(xcb_connection_t *conn,
xcb_glx_get_mapdv_cookie_t cookie, xcb_generic_error_t **e);
β Reply accessors
xcb_glx_float64_t *xcb_glx_get_mapdv_data(const
xcb_glx_get_mapdv_request_t *reply);
int xcb_glx_get_mapdv_data_length(const xcb_glx_get_mapdv_reply_t
*reply);
xcb_generic_iterator_t xcb_glx_get_mapdv_data_end(const
xcb_glx_get_mapdv_reply_t *reply);
π REQUEST ARGUMENTS π
connβ the XCB connection to X11, your lil hotline to the server πcontext_tagβ TODO: NOT YET DOCUMENTED. yeah bestie, the docs said "not today" πtargetβ TODO: NOT YET DOCUMENTED. also a mystery, also iconic πqueryβ TODO: NOT YET DOCUMENTED. the third mystery sibling, slay β¨
π REPLY FIELDS π
response_typeβ the type of this reply, which in this case isXCB_GLX_GET_MAPDV. This field is also chilling in thexcb_generic_reply_tand you can use it to tell replies apart from each other, so it's basically the name tag at the party πsequenceβ the sequence number of the last request processed by the X11 server π¬lengthβ the length of the reply, in words (and a word is 4 bytes, periodt) π₯nβ TODO: NOT YET DOCUMENTED. mysterious. lowkey obsessed πdatumβ TODO: NOT YET DOCUMENTED. the mystery continues, fr fr π¦
π DESCRIPTION π
the original page's DESCRIPTION section is, and I cannot stress this enough, empty. absolutely nothing. a void. a blank canvas. not me reading it three times to make sure π
so like, there's nothing to describe here, bestie. the vibes are simply unspecified. we respect it.
π RETURN VALUE π
It hands you back an xcb_glx_get_mapdv_cookie_t π β yes, a cookie, because XCB loves a snack-themed type name. Errors have to be handled when calling the reply function xcb_glx_get_mapdv_reply.
If you'd rather handle errors in the event loop instead, use xcb_glx_get_mapdv_unchecked. See xcb-requests(3) for the deets π
π ERRORS π
This request does never generate any errors.
like, at all. zero. none. the drama-free queen of requests πβ¨
π«Ά SEE ALSO π«Ά
(nothing listed here in the original β it's a vibe-only section, and we're keeping it that way π )
πΈ AUTHOR πΈ
Generated from glx.xml. Contact xcb@lists.freedesktop.org for corrections and improvements π§
and that's the whole thing, bestie!! this page came to you from X Version 11, libxcb 1.17.0, on the date stamped right there in the footer of xcb_glx_get_mapdv(3) π mwah, go forth and call your requests, ily π¦πβ¨
π¦ 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