xcb_xf86dri_q...ering_capable(3)
π xcb_xf86dri_query_direct_rendering_capable π
okay bestie, welcome to the XCB Requests corner of the manual, and today's main character is xcb_xf86dri_query_direct_rendering_capable from the xf86dri fam. it's giving "asking the X server if direct rendering is even possible on this screen", and honestly? we love a low-stakes little query. β¨
πΈ NAME πΈ
xcb_xf86dri_query_direct_rendering_capable β
ngl the original page just... stops there. no description. the NAME section is out here with main character energy and zero lore. π we move.
π SYNOPSIS π
#include <xcb/xf86dri.h>
β¨ Request function β¨
xcb_xf86dri_query_direct_rendering_capable_cookie_t
xcb_xf86dri_query_direct_rendering_capable(xcb_connection_t *conn,
uint32_t screen);
π¦ Reply datastructure π¦
typedef struct xcb_xf86dri_query_direct_rendering_capable_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint8_t is_capable;
} xcb_xf86dri_query_direct_rendering_capable_reply_t;
π Reply function π
xcb_xf86dri_query_direct_rendering_capable_reply_t
*xcb_xf86dri_query_direct_rendering_capable_reply(xcb_connection_t *conn,
xcb_xf86dri_query_direct_rendering_capable_cookie_t cookie,
xcb_generic_error_t **e);
π REQUEST ARGUMENTS π
connβ the XCB connection to X11, aka your little hotline to the server. she's the whole vibe, everything goes through her. π«Άscreenβ TODO: NOT YET DOCUMENTED. yeah bestie, the docs said "we'll get to it" and then did not get to it. iconic of them tbh. π
β REPLY FIELDS β
response_typeβ the type of this reply, which in this particular case isXCB_XF86DRI_QUERY_DIRECT_RENDERING_CAPABLE. this field also lives inside thexcb_generic_reply_t, so you can use it to tell your replies apart from each other. it's the name tag at the party. π·οΈsequenceβ the sequence number of the last request the X11 server processed. think of it as the receipt number, no cap. π§Ύlengthβ the length of the reply, measured in words. and a word is4bytes, so do your math, girlie. π’is_capableβ TODO: NOT YET DOCUMENTED. again!! the void!! we know nothing!! π
π DESCRIPTION π
literally nothing here. the section exists. it is empty. it is a vibe. the original authors truly said "no thoughts, head empty" and moved on. we respect the honesty. π³οΈβ¨
π RETURN VALUE π
she returns an xcb_xf86dri_query_direct_rendering_capable_cookie_t, bestie. that's the deal.
and here's the tea: errors have to be handled when you call the reply function xcb_xf86dri_query_direct_rendering_capable_reply.
but if you'd rather handle errors inside the event loop instead, then use xcb_xf86dri_query_direct_rendering_capable_unchecked. the details live over in xcb-requests(3), go read that one. π
π₯ ERRORS π₯
okay this is the good part: this request does never generate any errors. not one. zero. a clean queen. slay. π β¨
π§ SEE ALSO π§
bestie... the original listed nothing here. no cross-references. no friends. just an empty section standing alone in the rain. she's mysterious. she's unbothered. π§οΈ
π AUTHOR π
Generated from xf86dri.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. (they're literally asking to be corrected, so if you find something, tell them, fr fr π«Ά)
and that's the whole page, bestie!! π this lil manual page came to you from X Version 11, libxcb 1.17.0, and yes she still goes by the very dramatic name xcb_xf86dri_q...ering_capable(3). mwah, take care of her. ππΈπ¦
π¦ 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