If the GLX pixmap
pix is not current to any client, glXDestroyGLXPixmap destroys it immediately.
Otherwise, pix is destroyed when it becomes not current to any client. In
either case, the resource ID is freed immediately.