GLXGETCURRENTREADDRAWABLE(3gl)GLXGETCURRENTREADDRAWABLE(3gl)NAME
glXGetCurrentReadDrawable - return the current drawable being used as a
pixel query source
C SPECIFICATION
GLXDrawable glXGetCurrentReadDrawable( void )
DESCRIPTION
glXGetCurrentReadDrawable returns the name of the GLXDrawable currently
being used as a pixel query source. If glXMakeCurrent specified the
current rendering context, then glXGetCurrentReadDrawable returns the
drawable specified as drawable by that glXMakeCurrent call. If glXMake‐
ContextCurrent specified the current rendering context, then glXGetCur‐
rentReadDrawable returns the drawable specified as readable by that
glXMakeContextCurrent call. If there is no current read drawable, None
is returned.
glXGetCurrentReadDrawable returns client-side information. It does
not make a round trip to the server.
NOTES
glXGetCurrentReadDrawable is part of the GLX Version 1.3 command set.
The function is only valid if the connection supports GLX Version 1.3
or later.
SEE ALSO
glXCreatePixmap, glXMakeCurrent, glXMakeContextCurrent
12 Dec 97 GLXGETCURRENTREADDRAWABLE(3gl)