xcb_glx_get_pixel_mapfv(3)
π xcb_glx_get_pixel_mapfv π
okay so bestie, welcome to the xcb_glx_get_pixel_mapfv(3) page β it's part of the XCB Requests fam, and it's giving "niche but essential" energy ngl. buckle up π
β¨ NAME β¨
xcb_glx_get_pixel_mapfv β and that's literally it, that's the whole name section, the original page leaves it at that, no cap π
πΈ SYNOPSIS πΈ
first up, the include, iconic as always:
#include <xcb/glx.h>
π¦ Request function
xcb_glx_get_pixel_mapfv_cookie_t
xcb_glx_get_pixel_mapfv(xcb_connection_t *conn,
xcb_glx_context_tag_t context_tag,
uint32_t map);
π¦ Reply datastructure
typedef struct xcb_glx_get_pixel_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_pixel_mapfv_reply_t;
π¦ Reply function
xcb_glx_get_pixel_mapfv_reply_t
*xcb_glx_get_pixel_mapfv_reply(xcb_connection_t *conn,
xcb_glx_get_pixel_mapfv_cookie_t cookie,
xcb_generic_error_t **e);
π¦ Reply accessors
xcb_glx_float32_t *xcb_glx_get_pixel_mapfv_data(const
xcb_glx_get_pixel_mapfv_request_t *reply);
int xcb_glx_get_pixel_mapfv_data_length(const
xcb_glx_get_pixel_mapfv_reply_t *reply);
xcb_generic_iterator_t xcb_glx_get_pixel_mapfv_data_end(const
xcb_glx_get_pixel_mapfv_reply_t *reply);
bestie look at that accessor block β one of them saysxcb_glx_get_pixel_mapfv_request_tand the others sayxcb_glx_get_pixel_mapfv_reply_t. that's exactly how it's written in the original, so i'm not touching it, i'm just β¨observingβ¨ π
π REQUEST ARGUMENTS π
connβ the XCB connection to X11. your lil hotline to the server, periodt.context_tagβ TODO: NOT YET DOCUMENTED. yeah. the docs said "idk her" πmapβ TODO: NOT YET DOCUMENTED. also mysterious. also "idk her" π«Ά
π REPLY FIELDS π
response_typeβ the type of this reply, which in this case isXCB_GLX_GET_PIXEL_MAPFV. this field also lives in thexcb_generic_reply_t, so you can use it to tell your replies apart from each other. it's like a name tag at a party but for structs πsequenceβ the sequence number of the last request processed by the X11 server. lowkey the receipt number of the X11 world π§Ύlengthβ the length of the reply, in words. and a word is 4 bytes, so do the math bestie πnβ TODO: NOT YET DOCUMENTED. yeah again πdatumβ TODO: NOT YET DOCUMENTED. the mystery continues π
π DESCRIPTION π
so, um. there is a DESCRIPTION section on this page. and it is completely empty. the original has the heading and then absolutely nothing under it. she said "no thoughts, head empty" π i'm keeping it exactly that way because the facts stay the facts.
β RETURN VALUE β
it hands you back an xcb_glx_get_pixel_mapfv_cookie_t πͺ β like a lil voucher you redeem later.
errors? you don't deal with those here. you handle them when you call the reply function xcb_glx_get_pixel_mapfv_reply.
but if you'd rather handle errors in the event loop instead, use xcb_glx_get_pixel_mapfv_unchecked. and for the full deets on that whole vibe, go read xcb-requests(3). iykyk π¦
π₯ ERRORS π₯
this request does never generate any errors. not a single one. she's unproblematic, she's drama-free, she's the main character who never starts anything π
πΈ SEE ALSO πΈ
nothing here bestie β the original SEE ALSO section is empty, so i'm leaving it empty too. the vibes are immaculate, the links are nonexistent π
π AUTHOR π
generated from glx.xml. got corrections or improvements? contact xcb@lists.freedesktop.org β they're the ones who actually wrote this, i'm just the messenger with better emoji usage π
and that's the whole page, bestie!! π«Ά this came to you from X Version 11, libxcb 1.17.0, on the xcb_glx_get_pixel_mapfv(3) page β mwah, go forth and map those pixels β¨π
π¦ 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