GLXDESTROYGLXPIXMAP(3gl)
β¨ 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
- opensuse-leap 16.0: Mesa-libGL-devel 24.1.7-160000.3.1 Β· MIT
- opensuse-leap 16.0: Mesa-libGL-devel 24.3.3-160000.3.1 Β· MIT
- opensuse-leap 16.0: Mesa-libGL-devel 24.3.3-160000.3.1 Β· MIT
- opensuse-leap 16.0: Mesa-libGL-devel 24.3.3-160000.3.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms