xcb_glx_get_visual_configs(3)
π xcb_glx_get_visual_configs β bestie edition π
okay so this one lives in XCB Requests (that's the manual it's chillin' in), and it's basically the GLX request that goes "hey, tell me about the visual configs for this screen". no cap.
β¨ NAME β¨
xcb_glx_get_visual_configs β the request that pulls the GLX visual configs for a screen π¦
πΈ SYNOPSIS πΈ
#include <xcb/glx.h>
π Request function
xcb_glx_get_visual_configs_cookie_t
xcb_glx_get_visual_configs(xcb_connection_t *conn,
uint32_t screen);
π Reply datastructure
typedef struct xcb_glx_get_visual_configs_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint32_t num_visuals;
uint32_t num_properties;
uint8_t pad1[16];
} xcb_glx_get_visual_configs_reply_t;
β¨ Reply function
xcb_glx_get_visual_configs_reply_t
*xcb_glx_get_visual_configs_reply(xcb_connection_t *conn,
xcb_glx_get_visual_configs_cookie_t cookie,
xcb_generic_error_t **e);
π Reply accessors
uint32_t *xcb_glx_get_visual_configs_property_list(const
xcb_glx_get_visual_configs_request_t *reply);
int xcb_glx_get_visual_configs_property_list_length(const
xcb_glx_get_visual_configs_reply_t *reply);
xcb_generic_iterator_t
xcb_glx_get_visual_configs_property_list_end(const
xcb_glx_get_visual_configs_reply_t *reply);
π«Ά REQUEST ARGUMENTS π«Ά
connβ your XCB connection to X11, the whole link-up bestie πscreenβ TODO: NOT YET DOCUMENTED. yeah. nobody wrote it up yet. it's giving mystery π
π REPLY FIELDS π
response_typeβ the type of this reply, and for this one it'sXCB_GLX_GET_VISUAL_CONFIGS. this same field also lives in thexcb_generic_reply_t, so you can use it to tell replies apart from each other. iconic behaviour honestly β¨sequenceβ the sequence number of the last request the X11 server actually processed, so you know where you're at π₯lengthβ the length of the reply, in words. and yes, a word here is4bytes, that's the unit, periodt πnum_visualsβ TODO: NOT YET DOCUMENTED. it's a mystery, we move π΅οΈnum_propertiesβ TODO: NOT YET DOCUMENTED. also a mystery. twin mysteries fr fr π
π DESCRIPTION π
bestie. this section is literally empty in the original. nothing here. a whole void. we're not gonna make stuff up because that would be lying and lying is not the vibe π
β RETURN VALUE β
It hands you back an xcb_glx_get_visual_configs_cookie_t. Cookies are cute but errors? errors have to be handled when you call the reply function xcb_glx_get_visual_configs_reply. no skipping that step π
If you'd rather handle errors in the event loop instead, use xcb_glx_get_visual_configs_unchecked. See xcb-requests(3) for the details, iykyk π§
πΈ ERRORS πΈ
This request does never generate any errors. like, none. zero. not a single one. slay π
π¦ SEE ALSO π¦
this section is empty in the original too π nothing listed. we just vibe here.
π AUTHOR π
Generated from glx.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. they're the ones keeping this whole thing alive, respect π«Ά
and that's the whole page, bestie!! this came to you from X Version 11, libxcb 1.17.0, dated xcb_glx_get_visual_configs(3) β mwah, go forth and query those visual configs π β¨π
π¦ 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