032e7e4143b0dffd27362124a6937aec323a1e73
[clinton/guile-figl.git] / upstream-man-pages / man2 / glXGetCurrentDrawable.xml
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="glXGetCurrentDrawable">
5 <refmeta>
6 <refmetainfo>
7 <copyright>
8 <year>1991-2006</year>
9 <holder>Silicon Graphics, Inc.</holder>
10 </copyright>
11 </refmetainfo>
12 <refentrytitle>glXGetCurrentDrawable</refentrytitle>
13 <manvolnum>3G</manvolnum>
14 </refmeta>
15 <refnamediv>
16 <refname>glXGetCurrentDrawable</refname>
17 <refpurpose>return the current drawable</refpurpose>
18 </refnamediv>
19 <refsynopsisdiv><title>C Specification</title>
20 <funcsynopsis>
21 <funcprototype>
22 <funcdef>GLXDrawable <function>glXGetCurrentDrawable</function></funcdef>
23 </funcprototype>
24 </funcsynopsis>
25 </refsynopsisdiv>
26 <refsect1 id="description"><title>Description</title>
27 <para>
28 <function>glXGetCurrentDrawable</function> returns the current drawable,
29 as specified by <citerefentry><refentrytitle>glXMakeCurrent</refentrytitle></citerefentry>.
30 If there is no current drawable,
31 <constant>None</constant> is returned.
32 </para>
33 <para>
34 <function>glXGetCurrentDrawable</function> returns client-side information.
35 It does not make a round trip to the server.
36 </para>
37 </refsect1>
38 <refsect1 id="seealso"><title>See Also</title>
39 <para>
40 <citerefentry><refentrytitle>glXCreateGLXPixmap</refentrytitle></citerefentry>,
41 <citerefentry><refentrytitle>glXGetCurrentContext</refentrytitle></citerefentry>,
42 <citerefentry><refentrytitle>glXGetCurrentDisplay</refentrytitle></citerefentry>,
43 <citerefentry><refentrytitle>glXGetCurrentReadDrawable</refentrytitle></citerefentry>,
44 <citerefentry><refentrytitle>glXMakeCurrent</refentrytitle></citerefentry>
45 </para>
46 </refsect1>
47 <refsect1 id="Copyright"><title>Copyright</title>
48 <para>
49 Copyright <trademark class="copyright"></trademark> 1991-2006
50 Silicon Graphics, Inc. This document is licensed under the SGI
51 Free Software B License. For details, see
52 <ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
53 </para>
54 </refsect1>
55 </refentry>