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=
"glXIsDirect">
9 <holder>Silicon Graphics, Inc.
</holder>
12 <refentrytitle>glXIsDirect
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>glXIsDirect
</refname>
17 <refpurpose>indicate whether direct rendering is enabled
</refpurpose>
19 <refsynopsisdiv><title>C Specification
</title>
22 <funcdef>Bool
<function>glXIsDirect
</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 the GLX context that is being queried.
49 <refsect1 id=
"description"><title>Description
</title>
51 <function>glXIsDirect
</function> returns
<constant>True
</constant> if
<parameter>ctx
</parameter> is a direct rendering context,
52 <constant>False
</constant> otherwise.
53 Direct rendering contexts pass rendering commands directly from the calling
54 process's address space to the rendering system,
55 bypassing the X server.
56 Nondirect rendering contexts pass all rendering commands to the X server.
59 <refsect1 id=
"errors"><title>Errors
</title>
61 <constant>GLXBadContext
</constant> is generated if
<parameter>ctx
</parameter> is not a valid GLX context.
64 <refsect1 id=
"seealso"><title>See Also
</title>
66 <citerefentry><refentrytitle>glXCreateContext
</refentrytitle></citerefentry>,
67 <citerefentry><refentrytitle>glXCreateNewContext
</refentrytitle></citerefentry>
70 <refsect1 id=
"Copyright"><title>Copyright
</title>
72 Copyright
<trademark class=
"copyright"></trademark> 1991-
2006
73 Silicon Graphics, Inc. This document is licensed under the SGI
74 Free Software B License. For details, see
75 <ulink url=
"http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/
</ulink>.