rename upstream-man-pages to upstream-doc
[clinton/guile-figl.git] / upstream-doc / man2 / glXGetContextIDEXT.xml
CommitLineData
7faf1d71
AW
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="glXGetContextIDEXT">
5 <refmeta>
6 <refmetainfo>
7 <copyright>
8 <year>1991-2006</year>
9 <holder>Silicon Graphics, Inc.</holder>
10 </copyright>
11 </refmetainfo>
12 <refentrytitle>glXGetContextIDEXT</refentrytitle>
13 <manvolnum>3G</manvolnum>
14 </refmeta>
15 <refnamediv>
16 <refname>glXGetContextIDEXT</refname>
17 <refpurpose>get the XID for a context.</refpurpose>
18 </refnamediv>
19 <refsynopsisdiv><title>C Specification</title>
20 <funcsynopsis>
21 <funcprototype>
22 <funcdef>GLXContextID <function>glXGetContextIDEXT</function></funcdef>
23 <paramdef>const GLXContext <parameter>ctx</parameter></paramdef>
24 </funcprototype>
25 </funcsynopsis>
26 </refsynopsisdiv>
27 <!-- eqn: ignoring delim $$ -->
28 <refsect1 id="parameters"><title>Parameters</title>
29 <variablelist>
30 <varlistentry>
31 <term><parameter>ctx</parameter></term>
32 <listitem>
33 <para>
34 Specifies a GLX rendering context.
35 </para>
36 </listitem>
37 </varlistentry>
38 </variablelist>
39 </refsect1>
40 <refsect1 id="description"><title>Description</title>
41 <para>
42 <function>glXGetContextIDEXT</function> returns the XID associated with a GLXContext.
43 </para>
44 <para>
45 No round trip is forced to the server; unlike most X calls that
46 return a value, <function>glXGetContextIDEXT</function> does not flush any pending events.
47 </para>
48 <para>
49 <function>glXGetContextIDEXT</function> is part of the <code>EXT_import_context</code> extension,
50 not part of the core GLX command set. If _glxextstring(EXT_import_context)
51 is included in the string returned by <citerefentry><refentrytitle>glXQueryExtensionsString</refentrytitle></citerefentry>,
52 when called with argument <constant>GLX_EXTENSIONS</constant>,
53 extension <code>EXT_import_context</code> is supported.
54 </para>
55 </refsect1>
56 <refsect1 id="errors"><title>Errors</title>
57 <para>
58 <constant>GLXBadContext</constant> is generated if <parameter>ctx</parameter> does not
59 refer to a valid context.
60 </para>
61 </refsect1>
62 <refsect1 id="seealso"><title>See Also</title>
63 <para>
64 <citerefentry><refentrytitle>glXCreateContext</refentrytitle></citerefentry>,
65 <citerefentry><refentrytitle>glXQueryVersion</refentrytitle></citerefentry>,
66 <citerefentry><refentrytitle>glXQueryExtensionsString</refentrytitle></citerefentry>
67 </para>
68 </refsect1>
69 <refsect1 id="Copyright"><title>Copyright</title>
70 <para>
71 Copyright <trademark class="copyright"></trademark> 1991-2006
72 Silicon Graphics, Inc. This document is licensed under the SGI
73 Free Software B License. For details, see
74 <ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
75 </para>
76 </refsect1>
77</refentry>