xcb_glx_get_mapfv(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_mapfv β€” the XCB Requests glow-up πŸ’–

okay so bestie, welcome to xcb_glx_get_mapfv(3), a lil slice of the XCB Requests manual family. It's a GLX map getter, it's giving "ask the X server for a float map and vibe," and yes we're gonna go through literally every single field together. grab a boba. πŸ§‹βœ¨


✨ NAME ✨

xcb_glx_get_mapfv β€”

(yeah bestie the description is literally empty in the source. not me leaving it blank too. the silence is iconic. πŸ’…)


🌸 SYNOPSIS 🌸

#include <xcb/glx.h>

πŸŽ€ Request function

xcb_glx_get_mapfv_cookie_t xcb_glx_get_mapfv(xcb_connection_t *conn,
       xcb_glx_context_tag_t context_tag, uint32_t target,
       uint32_t query);

πŸ¦‹ Reply datastructure

typedef struct xcb_glx_get_mapfv_reply_t {
    uint8_t           response_type;
    uint8_t           pad0;
    uint16_t          sequence;
    uint32_t          length;
    uint8_t           pad1[4];
    uint32_t          n;
    xcb_glx_float32_t datum;
    uint8_t           pad2[12];
} xcb_glx_get_mapfv_reply_t;

⭐ Reply function

xcb_glx_get_mapfv_reply_t
       *xcb_glx_get_mapfv_reply(xcb_connection_t *conn,
       xcb_glx_get_mapfv_cookie_t cookie, xcb_generic_error_t **e);

πŸ’œ Reply accessors

xcb_glx_float32_t *xcb_glx_get_mapfv_data(const
       xcb_glx_get_mapfv_request_t *reply);

int xcb_glx_get_mapfv_data_length(const xcb_glx_get_mapfv_reply_t
       *reply);

xcb_generic_iterator_t xcb_glx_get_mapfv_data_end(const
       xcb_glx_get_mapfv_reply_t *reply);

πŸ”₯ REQUEST ARGUMENTS πŸ”₯

  • conn β€” the XCB connection to X11. your lil phone line to the server, bestie. πŸ“ž
  • context_tag β€” TODO: NOT YET DOCUMENTED. (the docs really said "mystery ✨")
  • target β€” TODO: NOT YET DOCUMENTED. (another mystery box, no cap)
  • query β€” TODO: NOT YET DOCUMENTED. (the third mystery box. it's giving unopened presents 🎁)

πŸ’« REPLY FIELDS πŸ’«

  • response_type β€” the type of this reply. in this case it's XCB_GLX_GET_MAPFV. this field also lives in xcb_generic_reply_t, so you can use it to tell your replies apart from each other. very "who dis" energy. πŸ‘€
  • sequence β€” the sequence number of the last request processed by the X11 server. it's the server's little receipt number. 🧾
  • length β€” the length of the reply, in words. heads up: a word is 4 bytes, that's the lore fr fr.
  • n β€” TODO: NOT YET DOCUMENTED. πŸ™ˆ
  • datum β€” TODO: NOT YET DOCUMENTED. 😭

🌈 DESCRIPTION 🌈

...nothing. absolutely nothing. the DESCRIPTION section is empty. we love a mysterious queen who says nothing and still serves. πŸ‘‘


🫢 RETURN VALUE 🫢

Returns an xcb_glx_get_mapfv_cookie_t. and listen β€” errors have to be handled when you call the reply function xcb_glx_get_mapfv_reply. that's the whole deal, bestie.

If you'd rather handle errors in the event loop instead, use xcb_glx_get_mapfv_unchecked. See xcb-requests(3) for details. pick your fighter. πŸ’ͺ


πŸ’€ ERRORS πŸ’€

This request does never generate any errors.

bestie. it does NEVER generate errors. zero. none. not a single one. the drama-free icon we all aspire to be. ✨

πŸ‘‘ SEE ALSO πŸ‘‘

(empty. the SEE ALSO section has no friends. it's giving lonely but unbothered. πŸ’…)


🌸 AUTHOR 🌸

Generated from glx.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. if you find a typo, tell the xcb girlies, they'll fix it. 🫢


and that's the whole page, bestie!! mwah. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…

This lil page came from X Version 11, libxcb 1.17.0, and it's filed under xcb_glx_get_mapfv(3) β€” go forth and slay your GLX maps, no cap. πŸŒˆβ­πŸ‘‘