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">
9 <holder>Silicon Graphics, Inc.
</holder>
12 <refentrytitle>glXGetContextIDEXT
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>glXGetContextIDEXT
</refname>
17 <refpurpose>get the XID for a context.
</refpurpose>
19 <refsynopsisdiv><title>C Specification
</title>
22 <funcdef>GLXContextID
<function>glXGetContextIDEXT
</function></funcdef>
23 <paramdef>const GLXContext
<parameter>ctx
</parameter></paramdef>
27 <!-- eqn: ignoring delim $$ -->
28 <refsect1 id=
"parameters"><title>Parameters
</title>
31 <term><parameter>ctx
</parameter></term>
34 Specifies a GLX rendering context.
40 <refsect1 id=
"description"><title>Description
</title>
42 <function>glXGetContextIDEXT
</function> returns the XID associated with a GLXContext.
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.
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.
56 <refsect1 id=
"errors"><title>Errors
</title>
58 <constant>GLXBadContext
</constant> is generated if
<parameter>ctx
</parameter> does not
59 refer to a valid context.
62 <refsect1 id=
"seealso"><title>See Also
</title>
64 <citerefentry><refentrytitle>glXCreateContext
</refentrytitle></citerefentry>,
65 <citerefentry><refentrytitle>glXQueryVersion
</refentrytitle></citerefentry>,
66 <citerefentry><refentrytitle>glXQueryExtensionsString
</refentrytitle></citerefentry>
69 <refsect1 id=
"Copyright"><title>Copyright
</title>
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>.