GLXGETCURRENTREADDRAWABLESGI(3gl)GLXGETCURRENTREADDRAWABLESGI(3gl)NAME
glXGetCurrentReadDrawableSGI - return the current drawable being used
as a pixel query source
C SPECIFICATION
GLXDrawable glXGetCurrentReadDrawableSGI( void )
DESCRIPTION
glXGetCurrentReadDrawableSGI returns the name of the GLXDrawable cur‐
rently being used as a pixel query source. If glXMakeCurrent specified
the current rendering context, then glXGetCurrentReadDrawableSGI
returns the drawable specified as drawable by that glXMakeCurrent call.
If glXMakeCurrentReadSGI specified the current rendering context, then
glXGetCurrentReadDrawableSGI returns the drawable specified as readable
by that glXMakeCurrentReadSGI call. If there is no current read draw‐
able, None is returned.
glXGetCurrentReadDrawableSGI returns client-side information. It
does not make a round trip to the server.
NOTE
This function is superseded by glXGetCurrentReadDrawable, which is part
of GLX 1.3 command set. glXGetCurrentReadDrawableSGI is supported only
for backward comaptibility.
SEE ALSO
glXCreateGLXPixmap, glXMakeCurrent, glXMakeCurrentReadSGI
21 May 01 GLXGETCURRENTREADDRAWABLESGI(3gl)