xcb_glx_create_pixmap(3)
π xcb_glx_create_pixmap(3) β from the XCB Requests crew
okay bestie, gather round, we're doing a lil XCB request today. this one lives in the XCB Requests manual, and it's called xcb_glx_create_pixmap. that's the whole NAME situation, no cap β the original is literally just vibes and a dash, so we're matching that energy. π«Ά
β¨ SYNOPSIS β¨
first things first, you gotta pull in the header:
#include <xcb/glx.h>
π Request function
here's the main character herself, in all her glory:
xcb_void_cookie_t xcb_glx_create_pixmap(xcb_connection_t *conn,
uint32_t screen, xcb_glx_fbconfig_t fbconfig,
xcb_pixmap_t pixmap, xcb_glx_pixmap_t glx_pixmap,
uint32_t num_attribs, const uint32_t *attribs);
she returns an xcb_void_cookie_t, she takes a whole lil entourage of args, and honestly? iconic. β¨
πΈ REQUEST ARGUMENTS πΈ
connβ your XCB connection to X11. the whole pipeline to the server, the bestie you text at 3am. πscreenβTODO: NOT YET DOCUMENTED.yeah girl, the docs just said "figure it out" and dipped. πfbconfigβTODO: NOT YET DOCUMENTED.same energy. no notes, no info. πpixmapβTODO: NOT YET DOCUMENTED.(we know it's axcb_pixmap_t, that's the tea we have.)glx_pixmapβTODO: NOT YET DOCUMENTED.still ghosting us fr fr.num_attribsβTODO: NOT YET DOCUMENTED.the count of something. mysterious. slay. πattribsβTODO: NOT YET DOCUMENTED.aconst uint32_t *pointer to the mystery. lowkey obsessed with how little we know.
no for real bestie, six of these are literally marked TODO: NOT YET DOCUMENTED. in the source. that's not me being lazy, that's the manpage being a cryptic queen. π
π DESCRIPTION π
...and that's it. that's the description. it's empty. it's giving silence. the original page has nothing here, so we're not gonna invent lore that isn't canon. π¦
β RETURN VALUE β
she hands you back an xcb_void_cookie_t. the catch? any errors have to be caught in the event loop, so don't just wander off, okay?
but if you'd rather handle errors directly with xcb_request_check, that's totally valid β just call xcb_glx_create_pixmap_checked instead. the deets live in xcb-requests(3). go read it, it's a whole vibe. π
π ERRORS π
okay so plot twist: this request never generates any errors. none. zero. not a single one. she's unproblematic like that. β¨
π§ SEE ALSO π§
...nothing here either bestie. the SEE ALSO section is an empty room. we love a minimalist. π
π AUTHOR π
Generated from glx.xml. if something's wrong or you wanna make it better, hit up xcb@lists.freedesktop.org with your corrections and improvements. they're nice, I promise. π«Ά
and that's the whole page, babe! X Version 11, libxcb 1.17.0 β that's the source and the version, straight from the footer, so you know exactly which era of XCB you're living in. go forth and create some pixmaps, you absolute legend. πβ¨πΈπ¦
π¦ 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