xcb_glx_swap_buffers(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_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 😘