xcb_xv_shm_put_image(3)
π xcb_xv_shm_put_image β the XCB Requests era π
okay bestie, so this is xcb_xv_shm_put_image, a little request function living in the XCB Requests corner of the X world π¦. That's the manual name, that's the vibe, let's go.
β¨ SYNOPSIS β¨
first things first, you gotta pull in the header, no cap:
#include <xcb/xv.h>
π Request function π
here's the whole squad, one function, a LOT of arguments, she's serving:
xcb_void_cookie_t xcb_xv_shm_put_image(xcb_connection_t *conn,
xcb_xv_port_t port, xcb_drawable_t drawable, xcb_gcontext_t gc,
xcb_shm_seg_t shmseg, uint32_t id, uint32_t offset,
int16_t src_x, int16_t src_y, uint16_t src_w, uint16_t src_h,
int16_t drw_x, int16_t drw_y, uint16_t drw_w, uint16_t drw_h,
uint16_t width, uint16_t height, uint8_t send_event);
πΈ REQUEST ARGUMENTS πΈ
here's everybody in the group chat, one by one π :
connβ the XCB connection to X11. she's the whole reason we're here, the main character fr.portβ TODO: NOT YET DOCUMENTED.drawableβ TODO: NOT YET DOCUMENTED.gcβ TODO: NOT YET DOCUMENTED.shmsegβ TODO: NOT YET DOCUMENTED.idβ TODO: NOT YET DOCUMENTED.offsetβ TODO: NOT YET DOCUMENTED.src_xβ TODO: NOT YET DOCUMENTED.src_yβ TODO: NOT YET DOCUMENTED.src_wβ TODO: NOT YET DOCUMENTED.src_hβ TODO: NOT YET DOCUMENTED.drw_xβ TODO: NOT YET DOCUMENTED.drw_yβ TODO: NOT YET DOCUMENTED.drw_wβ TODO: NOT YET DOCUMENTED.drw_hβ TODO: NOT YET DOCUMENTED.widthβ TODO: NOT YET DOCUMENTED.heightβ TODO: NOT YET DOCUMENTED.send_eventβ TODO: NOT YET DOCUMENTED.
lowkey iconic that literally all of these are "NOT YET DOCUMENTED" π the mystery is the moment, i guess. anyway, that's exactly what the page says, so i'm passing it straight to you, no edits, periodt.
π¦ DESCRIPTION π¦
soβ¦ there's nothing here. the DESCRIPTION section is just vibes and silence. π the original page gives us nothing, so i'm giving you nothing but honesty.
π RETURN VALUE π
you get back an xcb_void_cookie_t. that's the whole gift π. any errors? those have to be handled in the event loop, bestie, so don't come crying to the return value.
if you'd rather handle errors directly with xcb_request_check instead, then use xcb_xv_shm_put_image_checked. see xcb-requests(3) for the details π
π ERRORS π
good news, queen: this request does never generate any errors. not one. zero. the cleanest request in the building β¨
β SEE ALSO β
β¦nothing. the section is empty. it's giving minimalism π
π AUTHOR π
Generated from xv.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. π«Ά
and that's the whole page, bestie!! π this one came from the X Version 11 / libxcb 1.17.0 era, in the xcb_xv_shm_put_image(3) manual, and it's dated right there with the rest of the XCB Requests crew. slay, bye π¦β¨
π¦ 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