xcb_glx_creat...t_attribs_arb(3)
β¨ xcb_glx_create_context_attribs_arb β¨
okay bestie, sit down, hydrate, and let me tell you about xcb_glx_create_context_attribs_arb π
this one lives in the XCB Requests corner of the manual, section 3, and it's giving very GLX, very ARB, very "i make a context with attribs, obviously" π
πΈ SYNOPSIS πΈ
first things first, you gotta let it in:
#include <xcb/glx.h>
π Request function
and here's the whole girl. look at her. so many arguments. so much main character energy:
xcb_void_cookie_t
xcb_glx_create_context_attribs_arb(xcb_connection_t *conn,
xcb_glx_context_t context, xcb_glx_fbconfig_t fbconfig,
uint32_t screen, xcb_glx_context_t share_list, uint8_t is_direct,
uint32_t num_attribs, const uint32_t *attribs);
no cap, that's the exact signature. type it exactly like that or the compiler will simply not.
π¦ REQUEST ARGUMENTS π¦
every single one, explained with love π«Ά
connβ your XCB connection to X11. the group chat, basically. everything goes through her.contextβ TODO: NOT YET DOCUMENTED. (not me being left on read by the docs π)fbconfigβ TODO: NOT YET DOCUMENTED. (same bestie, same π)screenβ TODO: NOT YET DOCUMENTED. (the docs said "no thoughts, head empty" π)share_listβ TODO: NOT YET DOCUMENTED. (sharing is caring but apparently also undocumented β¨)is_directβ TODO: NOT YET DOCUMENTED. (direct? indirect? the mystery is the moment π)num_attribsβ TODO: NOT YET DOCUMENTED. (count your blessings, or your attribs, idk π)attribsβ TODO: NOT YET DOCUMENTED. (the main event and yet, silence π)
fr fr, that's what the page says β TODO: NOT YET DOCUMENTED. i'm not gatekeeping anything, the source itself is gatekeeping. iykyk.
π DESCRIPTION π
...and that's it. that's the description. the original literally has nothing under this heading, which is such a vibe honestly β it said "i'm a heading, i don't owe you an explanation" π β¨
β RETURN VALUE β
she returns an xcb_void_cookie_t. that's it, that's the tea π΅
errors (if any) do not come back to you directly β you have to handle them in the event loop, like a grown-up.
if you'd rather deal with errors immediately with xcb_request_check instead, use xcb_glx_create_context_attribs_arb_checked (the _checked variant, the responsible sister π). see xcb-requests(3) for all the deets.
π ERRORS π
this request does never generate any errors.
iconic. flawless. zero drama. not one single error, ever. periodt π
π SEE ALSO π
(nothing here β the original section is empty, so we're just... standing here, being cute, saying nothing π§)
πΈ AUTHOR πΈ
generated from glx.xml. got corrections or improvements? contact xcb@lists.freedesktop.org β they're literally asking, bestie, go tell them π«Ά
and that's the whole page, no crumbs left π X Version 11, libxcb 1.17.0 β stay slaying, stay linking, and may your cookies always be void β¨π¦π
π¦ 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