GLXDESTROYGLXPIXMAP(3G)

πŸ“¦ version 1.1, in centos-stream 9, fedora 43, fedora 44

✨ 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 pix is not current to any client? she gets destroyed immediately, no waiting, no queue, instant ✨
  • otherwise, pix is 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 if pix is 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 🌈

  • glXCreateGLXPixmap
  • glXMakeCurrent

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