xcb_glx_swap_buffers(3)
π xcb_glx_swap_buffers π
okay bestie so this is a page from the XCB Requests corner of the manual, and it's about xcb_glx_swap_buffers β yes it's a whole mouthful, we love her anyway π«Ά
β¨ NAME β¨
xcb_glx_swap_buffers β the swap-buffers request, that's literally it, the manpage author gave us nothing else π
πΈ SYNOPSIS πΈ
#include <xcb/glx.h>
π Request function π
xcb_void_cookie_t xcb_glx_swap_buffers(xcb_connection_t *conn,
xcb_glx_context_tag_t context_tag, xcb_glx_drawable_t drawable);
π REQUEST ARGUMENTS π
connβ the XCB connection to X11. it's the whole vibe link to your X server, no conn no nothing fr fr π₯context_tagβTODO: NOT YET DOCUMENTED.bestie the docs simply did not show up to class that day πdrawableβTODO: NOT YET DOCUMENTED.same energy, we got left on read π
π¦ DESCRIPTION π¦
this section is literally empty in the original, so there's nothing for me to spill. no lore. no tea. it's giving mystery, and not the fun kind π
β RETURN VALUE β
Returns an xcb_void_cookie_t. β¨
And listen β errors (if any) have to be handled in the event loop, okay? that's the move, that's the whole assignment π«Ά
But if you'd rather handle errors directly with xcb_request_check instead? then you want xcb_glx_swap_buffers_checked. cute little twin sister, iconic behaviour π
see xcb-requests(3) for the details, iykyk π
π ERRORS π
This request does never generate any errors. π
no cap. zero drama. a peaceful queen. periodt π
π SEE ALSO π
empty in the original β nothing linked here, not even one lil reference. the author said "we're done here" π
π§ AUTHOR π§
Generated from glx.xml. π
If something's wrong or you wanna improve it, contact xcb@lists.freedesktop.org β they're the ones taking corrections and improvements, so slide into their inbox politely bestie π
and that's the whole page, you made it, so proud of you πβ¨ππ¦πΈπ π«Ά
little sign-off from the source material itself: this came out of X Version 11, from libxcb 1.17.0. that's the version tag, that's the source line, consider yourself informed, mwah π
π¦ 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