GLXDESTROYGLXPIXMAP(3G)
β¨ NAME β¨
okay so welcome to the GLXDESTROYGLXPIXMAP() manual page bestie, the one and only π
glXDestroyGLXPixmap β destroy a GLX pixmap π¦
π C SPECIFICATION π
here's the whole signature, no notes, she's simple and she's serving:
void glXDestroyGLXPixmap( Display *dpy,
GLXPixmap pix )
also there's a lil delim $$ hanging out right after it, just chilling in the source like a background character π«Ά
π«Ά PARAMETERS π«Ά
dpyβ the connection to the X server, aka your whole entire link to the display, she's the main character here πpixβ the GLX pixmap that's getting destroyed. bye bestie π
π DESCRIPTION π
okay so here's the tea on how the destruction actually goes down:
- if the GLX pixmap
pixis not current to any client? she gets destroyed immediately, no waiting, no queue, instant β¨ - otherwise,
pixis destroyed when it becomes not current to any client β so she hangs around until nobody's using her anymore π
and in either case β and this is the part people forget β the resource ID is freed immediately. like, right away. the ID is gone even if the pixmap itself is still technically lingering. periodt. π₯
π₯ ERRORS π₯
GLXBadPixmapβ gets generated ifpixis not a valid GLX pixmap. like if you hand it something that isn't a real GLX pixmap, she will absolutely let you know π
π SEE ALSO π
glXCreateGLXPixmapglXMakeCurrent
and that's the whole page bestie!! this was the GLXDESTROYGLXPIXMAP() manual, mwah π go forth and destroy your pixmaps responsibly π§π
π¦ where this page comes from
- centos-stream 9: gl-manpages 1.1-24.20190306.el9 Β· MIT and Open Publication
- fedora 43: gl-manpages 1.1-34.20190306.fc43 Β· Apache-2.0 AND HPND AND HPND-sell-variant AND MIT AND OpenPBS-2.3 AND SGI-B-2.0 AND W3C-19980720 AND X11
- fedora 44: gl-manpages 1.1-35.20190306.fc44 Β· Apache-2.0 AND HPND AND HPND-sell-variant AND MIT AND OpenPBS-2.3 AND SGI-B-2.0 AND W3C-19980720 AND X11
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms