GLXunlink(3G) GLXunlink(3G)
GLXunlink - End GL rendering in an X window
#include <gl/glws.h>
int GLXunlink(Display* xDisplay, Window xWindow)
When GLXlink is called, a certain amount of system resources are
allocated to support GL rendering in that window. When all rendering to
that window is finished, calling GLXunlink will release those resources.
The "xWindow" argument to GLXunlink should be the GLX_NORMAL window.
Once the normal window is unlinked, any windows which were also linked to
auxiliary (i.e. popup or overlay)
GLXunlink is a signal that you never intend to do GL drawing in that
window again. If more drawing will be done soon, it will severly degrade
performance to call GLXunlink.
A return of 0 (GLWS_NOERROR) means that GLXunlink succeeeded. A negative
return code indicates that the Display or Window were invalid.
SEE ALSO
GLXgetconfig(3G), GLXwinset(3G), GLXlink(3G)
PPPPaaaaggggeeee 1111 [ Back ]
|