1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE book PUBLIC
"-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
3 "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
4 <refentry id=
"glXGetCurrentReadDrawable">
9 <holder>Silicon Graphics, Inc.
</holder>
12 <refentrytitle>glXGetCurrentReadDrawable
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>glXGetCurrentReadDrawable
</refname>
17 <refpurpose>return the current drawable
</refpurpose>
19 <refsynopsisdiv><title>C Specification
</title>
22 <funcdef>GLXDrawable
<function>glXGetCurrentReadDrawable
</function></funcdef>
26 <refsect1 id=
"description"><title>Description
</title>
28 <function>glXGetCurrentReadDrawable
</function> returns the current read drawable,
29 as specified by
<constant>read
</constant> parameter
30 of
<citerefentry><refentrytitle>glXMakeContextCurrent
</refentrytitle></citerefentry>.
31 If there is no current drawable,
32 <constant>None
</constant> is returned.
35 <function>glXGetCurrentReadDrawable
</function> returns client-side information.
36 It does not make a round-trip to the server.
39 <refsect1 id=
"notes"><title>Notes
</title>
41 <function>glXGetCurrentReadDrawable
</function> is only supported if the GLX version is
1.3 or greater.
44 <refsect1 id=
"seealso"><title>See Also
</title>
46 <citerefentry><refentrytitle>glXGetCurrentContext
</refentrytitle></citerefentry>,
47 <citerefentry><refentrytitle>glXGetCurrentDisplay
</refentrytitle></citerefentry>,
48 <citerefentry><refentrytitle>glXGetCurrentDrawable
</refentrytitle></citerefentry>,
49 <citerefentry><refentrytitle>glXMakeContextCurrent
</refentrytitle></citerefentry>
52 <refsect1 id=
"Copyright"><title>Copyright
</title>
54 Copyright
<trademark class=
"copyright"></trademark> 1991-
2006
55 Silicon Graphics, Inc. This document is licensed under the SGI
56 Free Software B License. For details, see
57 <ulink url=
"http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/
</ulink>.