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=
"glXFreeContextEXT">
9 <holder>Silicon Graphics, Inc.
</holder>
12 <refentrytitle>glXFreeContextEXT
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>glXFreeContextEXT
</refname>
17 <refpurpose>free client-side memory for imported context
</refpurpose>
19 <refsynopsisdiv><title>C Specification
</title>
22 <funcdef>void
<function>glXFreeContextEXT
</function></funcdef>
23 <paramdef>Display *
<parameter>dpy
</parameter></paramdef>
24 <paramdef>GLXContext
<parameter>ctx
</parameter></paramdef>
28 <!-- eqn: ignoring delim $$ -->
29 <refsect1 id=
"parameters"><title>Parameters
</title>
32 <term><parameter>dpy
</parameter></term>
35 Specifies the connection to the X server.
40 <term><parameter>ctx
</parameter></term>
43 Specifies a GLX rendering context.
49 <refsect1 id=
"description"><title>Description
</title>
51 <function>glXFreeContextEXT
</function> frees the client-side part of a GLXContext that
52 was created with
<citerefentry><refentrytitle>glXImportContextEXT
</refentrytitle></citerefentry>.
<function>glXFreeContextEXT
</function> does not
53 free the server-side context information or the XID
54 associated with the server-side context.
57 <function>glXFreeContextEXT
</function> is part of the
<code>EXT_import_context
</code> extension,
58 not part of the core GLX command set. If _glxextstring(EXT_import_context)
59 is included in the string returned by
<citerefentry><refentrytitle>glXQueryExtensionsString
</refentrytitle></citerefentry>,
60 when called with argument
<constant>GLX_EXTENSIONS
</constant>,
61 extension
<code>EXT_vertex_array
</code> is supported.
64 <refsect1 id=
"errors"><title>Errors
</title>
66 <constant>GLXBadContext
</constant> is generated if
<parameter>ctx
</parameter> does not
67 refer to a valid context.
70 <refsect1 id=
"seealso"><title>See Also
</title>
72 <citerefentry><refentrytitle>glXCreateContext
</refentrytitle></citerefentry>,
73 <citerefentry><refentrytitle>glXQueryVersion
</refentrytitle></citerefentry>,
74 <citerefentry><refentrytitle>glXQueryExtensionsString
</refentrytitle></citerefentry>,
75 <citerefentry><refentrytitle>glXImportContextEXT
</refentrytitle></citerefentry>
78 <refsect1 id=
"Copyright"><title>Copyright
</title>
80 Copyright
<trademark class=
"copyright"></trademark> 1991-
2006
81 Silicon Graphics, Inc. This document is licensed under the SGI
82 Free Software B License. For details, see
83 <ulink url=
"http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/
</ulink>.