Updated to the latest gl4 specs and docs

Large code-drop from Khronos upstream.
This commit is contained in:
Stefanos A 2013-11-03 12:43:50 +01:00
parent 0d90bae615
commit 60f971ffed
316 changed files with 34872 additions and 8019 deletions

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glActiveShaderProgram"> <refentry id="glActiveShaderProgram">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glActiveShaderProgram</refentrytitle> <refentrytitle>glActiveShaderProgram</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -76,7 +76,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glActiveTexture"> <refentry id="glActiveTexture">
<refentryinfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glActiveTexture</refentrytitle> <refentrytitle>glActiveTexture</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -24,7 +24,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
@ -34,7 +33,7 @@
Specifies which texture unit to make active. The number Specifies which texture unit to make active. The number
of texture units is implementation dependent, but must be at least of texture units is implementation dependent, but must be at least
80. <parameter>texture</parameter> must be one of 80. <parameter>texture</parameter> must be one of
<constant>GL_TEXTURE<emphasis>i</emphasis></constant>, <constant>GL_TEXTURE</constant><emphasis>i</emphasis>,
where where
<emphasis>i</emphasis> ranges from 0 (<constant>GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS</constant> - 1). <emphasis>i</emphasis> ranges from 0 (<constant>GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS</constant> - 1).
The initial value is <constant>GL_TEXTURE0</constant>. The initial value is <constant>GL_TEXTURE0</constant>.
@ -53,7 +52,7 @@
<refsect1 id="errors"><title>Errors</title> <refsect1 id="errors"><title>Errors</title>
<para> <para>
<constant>GL_INVALID_ENUM</constant> is generated if <parameter>texture</parameter> is not one of <constant>GL_INVALID_ENUM</constant> is generated if <parameter>texture</parameter> is not one of
<constant>GL_TEXTURE<emphasis>i</emphasis></constant>, <constant>GL_TEXTURE</constant><emphasis>i</emphasis>,
where <emphasis>i</emphasis> ranges from 0 to (<constant>GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS</constant> - 1). where <emphasis>i</emphasis> ranges from 0 to (<constant>GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS</constant> - 1).
</para> </para>
</refsect1> </refsect1>

View file

@ -1,89 +1,99 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glAttachShader"> <refentry id="glAttachShader">
<refentryinfo>
<copyright>
<year>2003-2005</year>
<holder>3Dlabs Inc. Ltd.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refentrytitle>glAttachShader</refentrytitle> <refentrytitle>glAttachShader</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
<refname>glAttachShader</refname> <refname>glAttachShader</refname>
<refpurpose>Attaches a shader object to a program object</refpurpose> <refpurpose>Attaches a shader object to a program object</refpurpose>
</refnamediv> </refnamediv>
<refsynopsisdiv><title>C Specification</title> <refsynopsisdiv><title>C Specification</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>
<funcdef>void <function>glAttachShader</function></funcdef> <funcdef>void <function>glAttachShader</function></funcdef>
<paramdef>GLuint <parameter>program</parameter></paramdef> <paramdef>GLuint <parameter>program</parameter></paramdef>
<paramdef>GLuint <parameter>shader</parameter></paramdef> <paramdef>GLuint <parameter>shader</parameter></paramdef>
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><parameter>program</parameter></term> <term><parameter>program</parameter></term>
<listitem> <listitem>
<para>Specifies the program object to which a shader <para>Specifies the program object to which a shader
object will be attached.</para> object will be attached.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><parameter>shader</parameter></term> <term><parameter>shader</parameter></term>
<listitem> <listitem>
<para>Specifies the shader object that is to be attached.</para> <para>Specifies the shader object that is to be attached.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
</variablelist> </variablelist>
</refsect1> </refsect1>
<refsect1 id="description"><title>Description</title> <refsect1 id="description"><title>Description</title>
<para>In order to create a complete shader program, there must be a way to <para>In order to create a complete shader program, there must be a way to
specify the list of things that will be linked together. Program specify the list of things that will be linked together. Program
objects provide this mechanism. Shaders that are to be linked objects provide this mechanism. Shaders that are to be linked
together in a program object must first be attached to that together in a program object must first be attached to that
program object. <function>glAttachShader</function> attaches the program object. <function>glAttachShader</function> attaches the
shader object specified by <parameter>shader</parameter> to the shader object specified by <parameter>shader</parameter> to the
program object specified by <parameter>program</parameter>. This program object specified by <parameter>program</parameter>. This
indicates that <parameter>shader</parameter> will be included in indicates that <parameter>shader</parameter> will be included in
link operations that will be performed on link operations that will be performed on
<parameter>program</parameter>.</para> <parameter>program</parameter>.</para>
<para>All operations that can be performed on a shader object <para>All operations that can be performed on a shader object
are valid whether or not the shader object is attached to a are valid whether or not the shader object is attached to a
program object. It is permissible to attach a shader object to a program object. It is permissible to attach a shader object to a
program object before source code has been loaded into the program object before source code has been loaded into the
shader object or before the shader object has been compiled. It shader object or before the shader object has been compiled. It
is permissible to attach multiple shader objects of the same is permissible to attach multiple shader objects of the same
type because each may contain a portion of the complete shader. type because each may contain a portion of the complete shader.
It is also permissible to attach a shader object to more than It is also permissible to attach a shader object to more than
one program object. If a shader object is deleted while it is one program object. If a shader object is deleted while it is
attached to a program object, it will be flagged for deletion, attached to a program object, it will be flagged for deletion,
and deletion will not occur until and deletion will not occur until
<citerefentry><refentrytitle>glDetachShader</refentrytitle></citerefentry> <citerefentry><refentrytitle>glDetachShader</refentrytitle></citerefentry>
is called to detach it from all program objects to which it is is called to detach it from all program objects to which it is
attached.</para> attached.</para>
</refsect1> </refsect1>
<refsect1 id="errors"><title>Errors</title> <refsect1 id="errors"><title>Errors</title>
<para><constant>GL_INVALID_VALUE</constant> is generated if either <para><constant>GL_INVALID_VALUE</constant> is generated if either
<parameter>program</parameter> or <parameter>shader</parameter> <parameter>program</parameter> or <parameter>shader</parameter>
is not a value generated by OpenGL.</para> is not a value generated by OpenGL.</para>
<para><constant>GL_INVALID_OPERATION</constant> is generated if <para><constant>GL_INVALID_OPERATION</constant> is generated if
<parameter>program</parameter> is not a program object.</para> <parameter>program</parameter> is not a program object.</para>
<para><constant>GL_INVALID_OPERATION</constant> is generated if <para><constant>GL_INVALID_OPERATION</constant> is generated if
<parameter>shader</parameter> is not a shader object.</para> <parameter>shader</parameter> is not a shader object.</para>
<para><constant>GL_INVALID_OPERATION</constant> is generated if <para><constant>GL_INVALID_OPERATION</constant> is generated if
<parameter>shader</parameter> is already attached to <parameter>shader</parameter> is already attached to
<parameter>program</parameter>.</para> <parameter>program</parameter>.</para>
</refsect1> </refsect1>
<refsect1 id="associatedgets"><title>Associated Gets</title> <refsect1 id="associatedgets"><title>Associated Gets</title>
<para> <para>
<citerefentry><refentrytitle>glGetAttachedShaders</refentrytitle></citerefentry> <citerefentry><refentrytitle>glGetAttachedShaders</refentrytitle></citerefentry>
with the handle of a valid program object with the handle of a valid program object
</para> </para>
<para> <para>
<citerefentry><refentrytitle>glGetShaderInfoLog</refentrytitle></citerefentry> <citerefentry><refentrytitle>glGetShaderInfoLog</refentrytitle></citerefentry>
@ -96,21 +106,22 @@
</para> </para>
<para> <para>
<citerefentry><refentrytitle>glIsShader</refentrytitle></citerefentry> <citerefentry><refentrytitle>glIsShader</refentrytitle></citerefentry>
</para> </para>
</refsect1> </refsect1>
<refsect1 id="seealso"><title>See Also</title> <refsect1 id="seealso"><title>See Also</title>
<para> <para>
<citerefentry><refentrytitle>glCompileShader</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glCompileShader</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glCreateShader</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glCreateShader</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glDeleteShader</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glDeleteShader</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glDetachShader</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glDetachShader</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glLinkProgram</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glLinkProgram</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glShaderSource</refentrytitle></citerefentry> <citerefentry><refentrytitle>glShaderSource</refentrytitle></citerefentry>
</para> </para>
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2003-2005 3Dlabs Inc. Ltd. Copyright <trademark class="copyright"></trademark> 2003-2005 3Dlabs Inc. Ltd.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBeginConditionalRender"> <refentry id="glBeginConditionalRender">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBeginConditionalRender</refentrytitle> <refentrytitle>glBeginConditionalRender</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -24,8 +24,14 @@
<paramdef>GLenum <parameter>mode</parameter></paramdef> <paramdef>GLenum <parameter>mode</parameter></paramdef>
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
<funcsynopsis>
<funcprototype>
<funcdef>void <function>glEndConditionalRender</function></funcdef>
<paramdef><parameter>void</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters for <function>glBeginConditionalRender</function></title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><parameter>id</parameter></term> <term><parameter>id</parameter></term>
@ -45,14 +51,6 @@
</varlistentry> </varlistentry>
</variablelist> </variablelist>
</refsect1> </refsect1>
<refsynopsisdiv><title>C Specification</title>
<funcsynopsis>
<funcprototype>
<funcdef>void <function>glEndConditionalRender</function></funcdef>
<paramdef><parameter>void</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="description"><title>Description</title> <refsect1 id="description"><title>Description</title>
<para> <para>
Conditional rendering is started using <function>glBeginConditionalRender</function> and ended using <function>glEndConditionalRender</function>. Conditional rendering is started using <function>glBeginConditionalRender</function> and ended using <function>glEndConditionalRender</function>.
@ -114,7 +112,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2009 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,17 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBeginQuery"> <refentry id="glBeginQuery">
<refentryinfo>
<copyright>
<year>2005</year>
<holder>Sams Publishing</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2005</year>
<holder>Sams Publishing</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBeginQuery</refentrytitle> <refentrytitle>glBeginQuery</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -24,9 +28,14 @@
<paramdef>GLuint <parameter>id</parameter></paramdef> <paramdef>GLuint <parameter>id</parameter></paramdef>
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
<funcsynopsis>
<funcprototype>
<funcdef>void <function>glEndQuery</function></funcdef>
<paramdef>GLenum <parameter>target</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ --> <refsect1 id="parameters"><title>Parameters for <function>glBeginQuery</function></title>
<refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><parameter>target</parameter></term> <term><parameter>target</parameter></term>
@ -51,16 +60,7 @@
</varlistentry> </varlistentry>
</variablelist> </variablelist>
</refsect1> </refsect1>
<refsynopsisdiv><title>C Specification</title> <refsect1 id="parameters2"><title>Parameters for <function>glEndQuery</function></title>
<funcsynopsis>
<funcprototype>
<funcdef>void <function>glEndQuery</function></funcdef>
<paramdef>GLenum <parameter>target</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters2"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><parameter>target</parameter></term> <term><parameter>target</parameter></term>
@ -204,7 +204,7 @@
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2005 Addison-Wesley. Copyright <trademark class="copyright"></trademark> 2005 Addison-Wesley.
Copyright <trademark class="copyright"></trademark> 2010-2012 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBeginQueryIndexed"> <refentry id="glBeginQueryIndexed">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group.</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBeginQueryIndexed, glEndQueryIndexed</refentrytitle> <refentrytitle>glBeginQueryIndexed, glEndQueryIndexed</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -25,9 +25,15 @@
<paramdef>GLuint <parameter>id</parameter></paramdef> <paramdef>GLuint <parameter>id</parameter></paramdef>
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
<funcsynopsis>
<funcprototype>
<funcdef>void <function>glEndQueryIndexed</function></funcdef>
<paramdef>GLenum <parameter>target</parameter></paramdef>
<paramdef>GLuint <parameter>index</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ --> <refsect1 id="parameters"><title>Parameters for <function>glBeginQueryIndexed</function></title>
<refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><parameter>target</parameter></term> <term><parameter>target</parameter></term>
@ -59,17 +65,7 @@
</varlistentry> </varlistentry>
</variablelist> </variablelist>
</refsect1> </refsect1>
<refsynopsisdiv><title>C Specification</title> <refsect1 id="parameters2"><title>Parameters for <function>glEndQueryIndexed</function></title>
<funcsynopsis>
<funcprototype>
<funcdef>void <function>glEndQueryIndexed</function></funcdef>
<paramdef>GLenum <parameter>target</parameter></paramdef>
<paramdef>GLuint <parameter>index</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters2"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><parameter>target</parameter></term> <term><parameter>target</parameter></term>
@ -235,7 +231,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBeginTransformFeedback"> <refentry id="glBeginTransformFeedback">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBeginTransformFeedback</refentrytitle> <refentrytitle>glBeginTransformFeedback</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -23,8 +23,14 @@
<paramdef>GLenum <parameter>primitiveMode</parameter></paramdef> <paramdef>GLenum <parameter>primitiveMode</parameter></paramdef>
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
<funcsynopsis>
<funcprototype>
<funcdef>void <function>glEndTransformFeedback</function></funcdef>
<paramdef><parameter>void</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters for <function>glBeginTransformFeedback</function></title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><parameter>primitiveMode</parameter></term> <term><parameter>primitiveMode</parameter></term>
@ -37,14 +43,6 @@
</varlistentry> </varlistentry>
</variablelist> </variablelist>
</refsect1> </refsect1>
<refsynopsisdiv><title>C Specification</title>
<funcsynopsis>
<funcprototype>
<funcdef>void <function>glEndTransformFeedback</function></funcdef>
<paramdef><parameter>void</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="description"><title>Description</title> <refsect1 id="description"><title>Description</title>
<para> <para>
Transform feedback mode captures the values of varying variables written by the vertex shader (or, if active, the geometry shader). Transform feedback mode captures the values of varying variables written by the vertex shader (or, if active, the geometry shader).
@ -185,7 +183,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,23 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBindAttribLocation"> <refentry id="glBindAttribLocation">
<refentryinfo>
<copyright>
<year>2003-2005</year>
<holder>3Dlabs Inc. Ltd.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refentrytitle>glBindAttribLocation</refentrytitle> <refentrytitle>glBindAttribLocation</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
<refname>glBindAttribLocation</refname> <refname>glBindAttribLocation</refname>
<refpurpose>Associates a generic vertex attribute index with a named attribute variable</refpurpose> <refpurpose>Associates a generic vertex attribute index with a named attribute variable</refpurpose>
</refnamediv> </refnamediv>
<refsynopsisdiv><title>C Specification</title> <refsynopsisdiv><title>C Specification</title>
<funcsynopsis> <funcsynopsis>
@ -178,6 +188,7 @@
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2003-2005 3Dlabs Inc. Ltd. Copyright <trademark class="copyright"></trademark> 2003-2005 3Dlabs Inc. Ltd.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,17 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBindBuffer"> <refentry id="glBindBuffer">
<refentryinfo>
<copyright>
<year>2005</year>
<holder>Sams Publishing</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2005</year>
<holder>Sams Publishing</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBindBuffer</refentrytitle> <refentrytitle>glBindBuffer</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBindBufferBase"> <refentry id="glBindBufferBase">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBindBufferBase</refentrytitle> <refentrytitle>glBindBufferBase</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -109,7 +109,7 @@
</para> </para>
</refsect1> <refsect1 id="Copyright"><title>Copyright</title> </refsect1> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010-2011 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBindBufferRange"> <refentry id="glBindBufferRange">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBindBufferRange</refentrytitle> <refentrytitle>glBindBufferRange</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -134,7 +134,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010-2011 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBindBuffersBase"> <refentry id="glBindBuffersBase">
<refentryinfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBindBuffersBase</refentrytitle> <refentrytitle>glBindBuffersBase</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBindBuffersRange"> <refentry id="glBindBuffersRange">
<refentryinfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBindBuffersRange</refentrytitle> <refentrytitle>glBindBuffersRange</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBindFragDataLocation"> <refentry id="glBindFragDataLocation">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBindFragDataLocation</refentrytitle> <refentrytitle>glBindFragDataLocation</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -118,7 +118,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBindFragDataLocationIndexed"> <refentry id="glBindFragDataLocationIndexed">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBindFragDataLocationIndexed</refentrytitle> <refentrytitle>glBindFragDataLocationIndexed</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -146,7 +146,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBindFramebuffer"> <refentry id="glBindFramebuffer">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBindFramebuffer</refentrytitle> <refentrytitle>glBindFramebuffer</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -84,7 +84,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBindImageTexture"> <refentry id="glBindImageTexture">
<refentryinfo>
<copyright>
<year>2011-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>>
</copyright>
</refmetainfo>
<refentrytitle>glBindImageTexture</refentrytitle> <refentrytitle>glBindImageTexture</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -323,7 +323,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2011 Khronos Group. Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBindImageTextures"> <refentry id="glBindImageTextures">
<refentryinfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBindImageTextures</refentrytitle> <refentrytitle>glBindImageTextures</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBindProgramPipeline"> <refentry id="glBindProgramPipeline">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBindProgramPipeline</refentrytitle> <refentrytitle>glBindProgramPipeline</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -76,7 +76,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBindRenderbuffer"> <refentry id="glBindRenderbuffer">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBindRenderbuffer</refentrytitle> <refentrytitle>glBindRenderbuffer</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -73,7 +73,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBindSampler"> <refentry id="glBindSampler">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBindSampler</refentrytitle> <refentrytitle>glBindSampler</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -94,7 +94,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBindSamplers"> <refentry id="glBindSamplers">
<refentryinfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBindSamplers</refentrytitle> <refentrytitle>glBindSamplers</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>

View file

@ -2,13 +2,17 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBindTexture"> <refentry id="glBindTexture">
<refentryinfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBindTexture</refentrytitle> <refentrytitle>glBindTexture</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -172,8 +176,9 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 1991-2006 Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Silicon Graphics, Inc. This document is licensed under the SGI Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI
Free Software B License. For details, see Free Software B License. For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>. <ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para> </para>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBindTextures"> <refentry id="glBindTextures">
<refentryinfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBindTextures</refentrytitle> <refentrytitle>glBindTextures</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBindTransformFeedback"> <refentry id="glBindTransformFeedback">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group.</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBindTransformFeedback</refentrytitle> <refentrytitle>glBindTransformFeedback</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -25,7 +25,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
@ -103,7 +102,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBindVertexArray"> <refentry id="glBindVertexArray">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBindVertexArray</refentrytitle> <refentrytitle>glBindVertexArray</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -63,7 +63,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBindVertexBuffer"> <refentry id="glBindVertexBuffer">
<refentryinfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2012</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBindVertexBuffer</refentrytitle> <refentrytitle>glBindVertexBuffer</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -107,7 +107,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2012 Khronos Group. Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBindVertexBuffers"> <refentry id="glBindVertexBuffers">
<refentryinfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBindVertexBuffers</refentrytitle> <refentrytitle>glBindVertexBuffers</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBlendColor"> <refentry id="glBlendColor">
<refentryinfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBlendColor</refentrytitle> <refentrytitle>glBlendColor</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -27,7 +27,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBlendEquation"> <refentry id="glBlendEquation">
<refentryinfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBlendEquation</refentrytitle> <refentrytitle>glBlendEquation</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -29,7 +29,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
@ -197,7 +196,7 @@
<constant>GL_FUNC_ADD</constant> <constant>GL_FUNC_ADD</constant>
</entry> </entry>
<entry align="left"> <entry align="left">
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Rr = R sub s s sub R + R sub d d sub R : --> <!-- eqn: Rr = R sub s s sub R + R sub d d sub R : -->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Rr</mml:mi> <mml:mi mathvariant="italic">Rr</mml:mi>
@ -220,8 +219,8 @@
</mml:msub> </mml:msub>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Gr = G sub s s sub G + G sub d d sub G : --> <!-- eqn: Gr = G sub s s sub G + G sub d d sub G : -->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Gr</mml:mi> <mml:mi mathvariant="italic">Gr</mml:mi>
@ -244,8 +243,8 @@
</mml:msub> </mml:msub>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Br = B sub s s sub B + B sub d d sub B : --> <!-- eqn: Br = B sub s s sub B + B sub d d sub B : -->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Br</mml:mi> <mml:mi mathvariant="italic">Br</mml:mi>
@ -268,10 +267,10 @@
</mml:msub> </mml:msub>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
</entry> </entry>
<entry align="left"> <entry align="left">
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Ar = A sub s s sub A + A sub d d sub A : --> <!-- eqn: Ar = A sub s s sub A + A sub d d sub A : -->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Ar</mml:mi> <mml:mi mathvariant="italic">Ar</mml:mi>
@ -294,7 +293,7 @@
</mml:msub> </mml:msub>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
</entry> </entry>
</row> </row>
<row> <row>
@ -302,7 +301,7 @@
<constant>GL_FUNC_SUBTRACT</constant> <constant>GL_FUNC_SUBTRACT</constant>
</entry> </entry>
<entry align="left"> <entry align="left">
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Rr = R sub s s sub R - R sub d d sub R : --> <!-- eqn: Rr = R sub s s sub R - R sub d d sub R : -->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Rr</mml:mi> <mml:mi mathvariant="italic">Rr</mml:mi>
@ -325,8 +324,8 @@
</mml:msub> </mml:msub>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Gr = G sub s s sub G - G sub d d sub G : --> <!-- eqn: Gr = G sub s s sub G - G sub d d sub G : -->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Gr</mml:mi> <mml:mi mathvariant="italic">Gr</mml:mi>
@ -349,8 +348,8 @@
</mml:msub> </mml:msub>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Br = B sub s s sub B - B sub d d sub B : --> <!-- eqn: Br = B sub s s sub B - B sub d d sub B : -->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Br</mml:mi> <mml:mi mathvariant="italic">Br</mml:mi>
@ -373,10 +372,10 @@
</mml:msub> </mml:msub>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
</entry> </entry>
<entry align="left"> <entry align="left">
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Ar = A sub s s sub A - A sub d d sub A : --> <!-- eqn: Ar = A sub s s sub A - A sub d d sub A : -->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Ar</mml:mi> <mml:mi mathvariant="italic">Ar</mml:mi>
@ -399,7 +398,7 @@
</mml:msub> </mml:msub>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
</entry> </entry>
</row> </row>
<row> <row>
@ -407,7 +406,7 @@
<constant>GL_FUNC_REVERSE_SUBTRACT</constant> <constant>GL_FUNC_REVERSE_SUBTRACT</constant>
</entry> </entry>
<entry align="left"> <entry align="left">
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Rr = R sub d d sub R - R sub s s sub R : --> <!-- eqn: Rr = R sub d d sub R - R sub s s sub R : -->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Rr</mml:mi> <mml:mi mathvariant="italic">Rr</mml:mi>
@ -430,8 +429,8 @@
</mml:msub> </mml:msub>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Gr = G sub d d sub G - G sub s s sub G : --> <!-- eqn: Gr = G sub d d sub G - G sub s s sub G : -->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Gr</mml:mi> <mml:mi mathvariant="italic">Gr</mml:mi>
@ -454,8 +453,8 @@
</mml:msub> </mml:msub>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Br = B sub d d sub B - B sub s s sub B : --> <!-- eqn: Br = B sub d d sub B - B sub s s sub B : -->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Br</mml:mi> <mml:mi mathvariant="italic">Br</mml:mi>
@ -478,10 +477,10 @@
</mml:msub> </mml:msub>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
</entry> </entry>
<entry align="left"> <entry align="left">
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Ar = A sub d d sub A - A sub s s sub A : --> <!-- eqn: Ar = A sub d d sub A - A sub s s sub A : -->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Ar</mml:mi> <mml:mi mathvariant="italic">Ar</mml:mi>
@ -504,7 +503,7 @@
</mml:msub> </mml:msub>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
</entry> </entry>
</row> </row>
<row> <row>
@ -512,7 +511,7 @@
<constant>GL_MIN</constant> <constant>GL_MIN</constant>
</entry> </entry>
<entry align="left"> <entry align="left">
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Rr = min ( R sub s, R sub d): --> <!-- eqn: Rr = min ( R sub s, R sub d): -->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Rr</mml:mi> <mml:mi mathvariant="italic">Rr</mml:mi>
@ -534,8 +533,8 @@
</mml:mfenced> </mml:mfenced>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Gr = min ( G sub s, G sub d): --> <!-- eqn: Gr = min ( G sub s, G sub d): -->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Gr</mml:mi> <mml:mi mathvariant="italic">Gr</mml:mi>
@ -557,8 +556,8 @@
</mml:mfenced> </mml:mfenced>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Br = min ( B sub s, B sub d): --> <!-- eqn: Br = min ( B sub s, B sub d): -->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Br</mml:mi> <mml:mi mathvariant="italic">Br</mml:mi>
@ -580,10 +579,10 @@
</mml:mfenced> </mml:mfenced>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
</entry> </entry>
<entry align="left"> <entry align="left">
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Ar = min ( A sub s, A sub d): --> <!-- eqn: Ar = min ( A sub s, A sub d): -->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Ar</mml:mi> <mml:mi mathvariant="italic">Ar</mml:mi>
@ -605,7 +604,7 @@
</mml:mfenced> </mml:mfenced>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
</entry> </entry>
</row> </row>
<row> <row>
@ -613,7 +612,7 @@
<constant>GL_MAX</constant> <constant>GL_MAX</constant>
</entry> </entry>
<entry align="left"> <entry align="left">
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Rr = max ( R sub s, R sub d): --> <!-- eqn: Rr = max ( R sub s, R sub d): -->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Rr</mml:mi> <mml:mi mathvariant="italic">Rr</mml:mi>
@ -635,8 +634,8 @@
</mml:mfenced> </mml:mfenced>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Gr = max ( G sub s, G sub d): --> <!-- eqn: Gr = max ( G sub s, G sub d): -->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Gr</mml:mi> <mml:mi mathvariant="italic">Gr</mml:mi>
@ -658,8 +657,8 @@
</mml:mfenced> </mml:mfenced>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Br = max ( B sub s, B sub d): --> <!-- eqn: Br = max ( B sub s, B sub d): -->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Br</mml:mi> <mml:mi mathvariant="italic">Br</mml:mi>
@ -681,10 +680,10 @@
</mml:mfenced> </mml:mfenced>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
</entry> </entry>
<entry align="left"> <entry align="left">
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Ar = max ( A sub s, A sub d): --> <!-- eqn: Ar = max ( A sub s, A sub d): -->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Ar</mml:mi> <mml:mi mathvariant="italic">Ar</mml:mi>
@ -706,7 +705,7 @@
</mml:mfenced> </mml:mfenced>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
</entry> </entry>
</row> </row>
</tbody> </tbody>

View file

@ -2,13 +2,17 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBlendEquationSeparate"> <refentry id="glBlendEquationSeparate">
<refentryinfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBlendEquationSeparate</refentrytitle> <refentrytitle>glBlendEquationSeparate</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -31,7 +35,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
@ -69,7 +72,7 @@
<para> <para>
The blend equations determines how a new pixel (the ''source'' color) The blend equations determines how a new pixel (the ''source'' color)
is combined with a pixel already in the framebuffer (the ''destination'' is combined with a pixel already in the framebuffer (the ''destination''
color). These functions specifie one blend equation for the RGB-color color). These functions specify one blend equation for the RGB-color
components and one blend equation for the alpha component. <function>glBlendEquationSeparatei</function> components and one blend equation for the alpha component. <function>glBlendEquationSeparatei</function>
specifies the blend equations for a single draw buffer whereas <function>glBlendEquationSeparate</function> specifies the blend equations for a single draw buffer whereas <function>glBlendEquationSeparate</function>
sets the blend equations for all draw buffers. sets the blend equations for all draw buffers.
@ -209,104 +212,104 @@
<constant>GL_FUNC_ADD</constant> <constant>GL_FUNC_ADD</constant>
</entry> </entry>
<entry align="left"> <entry align="left">
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Rr = R sub s s sub R + R sub d d sub R :--> <!-- eqn: Rr = R sub s s sub R + R sub d d sub R :-->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Rr</mml:mi> <mml:mi mathvariant="italic">Rr</mml:mi>
<mml:mo>=</mml:mo> <mml:mo>=</mml:mo>
<mml:mrow> <mml:mrow>
<mml:msub><mml:mi mathvariant="italic">R</mml:mi> <mml:msub><mml:mi mathvariant="italic">R</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi> <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">R</mml:mi> <mml:mi mathvariant="italic">R</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>+</mml:mo> <mml:mo>+</mml:mo>
<mml:msub><mml:mi mathvariant="italic">R</mml:mi> <mml:msub><mml:mi mathvariant="italic">R</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">d</mml:mi> <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">R</mml:mi> <mml:mi mathvariant="italic">R</mml:mi>
</mml:msub> </mml:msub>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Gr = G sub s s sub G + G sub d d sub G :--> <!-- eqn: Gr = G sub s s sub G + G sub d d sub G :-->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Gr</mml:mi> <mml:mi mathvariant="italic">Gr</mml:mi>
<mml:mo>=</mml:mo> <mml:mo>=</mml:mo>
<mml:mrow> <mml:mrow>
<mml:msub><mml:mi mathvariant="italic">G</mml:mi> <mml:msub><mml:mi mathvariant="italic">G</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi> <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">G</mml:mi> <mml:mi mathvariant="italic">G</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>+</mml:mo> <mml:mo>+</mml:mo>
<mml:msub><mml:mi mathvariant="italic">G</mml:mi> <mml:msub><mml:mi mathvariant="italic">G</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">d</mml:mi> <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">G</mml:mi> <mml:mi mathvariant="italic">G</mml:mi>
</mml:msub> </mml:msub>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Br = B sub s s sub B + B sub d d sub B :--> <!-- eqn: Br = B sub s s sub B + B sub d d sub B :-->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Br</mml:mi> <mml:mi mathvariant="italic">Br</mml:mi>
<mml:mo>=</mml:mo> <mml:mo>=</mml:mo>
<mml:mrow> <mml:mrow>
<mml:msub><mml:mi mathvariant="italic">B</mml:mi> <mml:msub><mml:mi mathvariant="italic">B</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi> <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">B</mml:mi> <mml:mi mathvariant="italic">B</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>+</mml:mo> <mml:mo>+</mml:mo>
<mml:msub><mml:mi mathvariant="italic">B</mml:mi> <mml:msub><mml:mi mathvariant="italic">B</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">d</mml:mi> <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">B</mml:mi> <mml:mi mathvariant="italic">B</mml:mi>
</mml:msub> </mml:msub>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
</entry> </entry>
<entry align="left"> <entry align="left">
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Ar = A sub s s sub A + A sub d d sub A :--> <!-- eqn: Ar = A sub s s sub A + A sub d d sub A :-->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Ar</mml:mi> <mml:mi mathvariant="italic">Ar</mml:mi>
<mml:mo>=</mml:mo> <mml:mo>=</mml:mo>
<mml:mrow> <mml:mrow>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi> <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi> <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">A</mml:mi> <mml:mi mathvariant="italic">A</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>+</mml:mo> <mml:mo>+</mml:mo>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi> <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">d</mml:mi> <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">A</mml:mi> <mml:mi mathvariant="italic">A</mml:mi>
</mml:msub> </mml:msub>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
</entry> </entry>
</row> </row>
<row> <row>
@ -314,104 +317,104 @@
<constant>GL_FUNC_SUBTRACT</constant> <constant>GL_FUNC_SUBTRACT</constant>
</entry> </entry>
<entry align="left"> <entry align="left">
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Rr = R sub s s sub R - R sub d d sub R :--> <!-- eqn: Rr = R sub s s sub R - R sub d d sub R :-->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Rr</mml:mi> <mml:mi mathvariant="italic">Rr</mml:mi>
<mml:mo>=</mml:mo> <mml:mo>=</mml:mo>
<mml:mrow> <mml:mrow>
<mml:msub><mml:mi mathvariant="italic">R</mml:mi> <mml:msub><mml:mi mathvariant="italic">R</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi> <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">R</mml:mi> <mml:mi mathvariant="italic">R</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>-</mml:mo> <mml:mo>-</mml:mo>
<mml:msub><mml:mi mathvariant="italic">R</mml:mi> <mml:msub><mml:mi mathvariant="italic">R</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">d</mml:mi> <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">R</mml:mi> <mml:mi mathvariant="italic">R</mml:mi>
</mml:msub> </mml:msub>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Gr = G sub s s sub G - G sub d d sub G :--> <!-- eqn: Gr = G sub s s sub G - G sub d d sub G :-->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Gr</mml:mi> <mml:mi mathvariant="italic">Gr</mml:mi>
<mml:mo>=</mml:mo> <mml:mo>=</mml:mo>
<mml:mrow> <mml:mrow>
<mml:msub><mml:mi mathvariant="italic">G</mml:mi> <mml:msub><mml:mi mathvariant="italic">G</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi> <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">G</mml:mi> <mml:mi mathvariant="italic">G</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>-</mml:mo> <mml:mo>-</mml:mo>
<mml:msub><mml:mi mathvariant="italic">G</mml:mi> <mml:msub><mml:mi mathvariant="italic">G</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">d</mml:mi> <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">G</mml:mi> <mml:mi mathvariant="italic">G</mml:mi>
</mml:msub> </mml:msub>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Br = B sub s s sub B - B sub d d sub B :--> <!-- eqn: Br = B sub s s sub B - B sub d d sub B :-->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Br</mml:mi> <mml:mi mathvariant="italic">Br</mml:mi>
<mml:mo>=</mml:mo> <mml:mo>=</mml:mo>
<mml:mrow> <mml:mrow>
<mml:msub><mml:mi mathvariant="italic">B</mml:mi> <mml:msub><mml:mi mathvariant="italic">B</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi> <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">B</mml:mi> <mml:mi mathvariant="italic">B</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>-</mml:mo> <mml:mo>-</mml:mo>
<mml:msub><mml:mi mathvariant="italic">B</mml:mi> <mml:msub><mml:mi mathvariant="italic">B</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">d</mml:mi> <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">B</mml:mi> <mml:mi mathvariant="italic">B</mml:mi>
</mml:msub> </mml:msub>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
</entry> </entry>
<entry align="left"> <entry align="left">
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Ar = A sub s s sub A - A sub d d sub A :--> <!-- eqn: Ar = A sub s s sub A - A sub d d sub A :-->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Ar</mml:mi> <mml:mi mathvariant="italic">Ar</mml:mi>
<mml:mo>=</mml:mo> <mml:mo>=</mml:mo>
<mml:mrow> <mml:mrow>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi> <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi> <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">A</mml:mi> <mml:mi mathvariant="italic">A</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>-</mml:mo> <mml:mo>-</mml:mo>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi> <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">d</mml:mi> <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">A</mml:mi> <mml:mi mathvariant="italic">A</mml:mi>
</mml:msub> </mml:msub>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
</entry> </entry>
</row> </row>
<row> <row>
@ -419,104 +422,104 @@
<constant>GL_FUNC_REVERSE_SUBTRACT</constant> <constant>GL_FUNC_REVERSE_SUBTRACT</constant>
</entry> </entry>
<entry align="left"> <entry align="left">
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Rr = R sub d d sub R - R sub s s sub R :--> <!-- eqn: Rr = R sub d d sub R - R sub s s sub R :-->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Rr</mml:mi> <mml:mi mathvariant="italic">Rr</mml:mi>
<mml:mo>=</mml:mo> <mml:mo>=</mml:mo>
<mml:mrow> <mml:mrow>
<mml:msub><mml:mi mathvariant="italic">R</mml:mi> <mml:msub><mml:mi mathvariant="italic">R</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">d</mml:mi> <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">R</mml:mi> <mml:mi mathvariant="italic">R</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>-</mml:mo> <mml:mo>-</mml:mo>
<mml:msub><mml:mi mathvariant="italic">R</mml:mi> <mml:msub><mml:mi mathvariant="italic">R</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi> <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">R</mml:mi> <mml:mi mathvariant="italic">R</mml:mi>
</mml:msub> </mml:msub>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Gr = G sub d d sub G - G sub s s sub G :--> <!-- eqn: Gr = G sub d d sub G - G sub s s sub G :-->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Gr</mml:mi> <mml:mi mathvariant="italic">Gr</mml:mi>
<mml:mo>=</mml:mo> <mml:mo>=</mml:mo>
<mml:mrow> <mml:mrow>
<mml:msub><mml:mi mathvariant="italic">G</mml:mi> <mml:msub><mml:mi mathvariant="italic">G</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">d</mml:mi> <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">G</mml:mi> <mml:mi mathvariant="italic">G</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>-</mml:mo> <mml:mo>-</mml:mo>
<mml:msub><mml:mi mathvariant="italic">G</mml:mi> <mml:msub><mml:mi mathvariant="italic">G</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi> <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">G</mml:mi> <mml:mi mathvariant="italic">G</mml:mi>
</mml:msub> </mml:msub>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Br = B sub d d sub B - B sub s s sub B :--> <!-- eqn: Br = B sub d d sub B - B sub s s sub B :-->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Br</mml:mi> <mml:mi mathvariant="italic">Br</mml:mi>
<mml:mo>=</mml:mo> <mml:mo>=</mml:mo>
<mml:mrow> <mml:mrow>
<mml:msub><mml:mi mathvariant="italic">B</mml:mi> <mml:msub><mml:mi mathvariant="italic">B</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">d</mml:mi> <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">B</mml:mi> <mml:mi mathvariant="italic">B</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>-</mml:mo> <mml:mo>-</mml:mo>
<mml:msub><mml:mi mathvariant="italic">B</mml:mi> <mml:msub><mml:mi mathvariant="italic">B</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi> <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">B</mml:mi> <mml:mi mathvariant="italic">B</mml:mi>
</mml:msub> </mml:msub>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
</entry> </entry>
<entry align="left"> <entry align="left">
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Ar = A sub d d sub A - A sub s s sub A :--> <!-- eqn: Ar = A sub d d sub A - A sub s s sub A :-->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Ar</mml:mi> <mml:mi mathvariant="italic">Ar</mml:mi>
<mml:mo>=</mml:mo> <mml:mo>=</mml:mo>
<mml:mrow> <mml:mrow>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi> <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">d</mml:mi> <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">A</mml:mi> <mml:mi mathvariant="italic">A</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>-</mml:mo> <mml:mo>-</mml:mo>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi> <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi> <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">A</mml:mi> <mml:mi mathvariant="italic">A</mml:mi>
</mml:msub> </mml:msub>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
</entry> </entry>
</row> </row>
<row> <row>
@ -524,7 +527,7 @@
<constant>GL_MIN</constant> <constant>GL_MIN</constant>
</entry> </entry>
<entry align="left"> <entry align="left">
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Rr = min ( R sub s, R sub d):--> <!-- eqn: Rr = min ( R sub s, R sub d):-->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Rr</mml:mi> <mml:mi mathvariant="italic">Rr</mml:mi>
@ -546,8 +549,8 @@
</mml:mfenced> </mml:mfenced>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Gr = min ( G sub s, G sub d):--> <!-- eqn: Gr = min ( G sub s, G sub d):-->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Gr</mml:mi> <mml:mi mathvariant="italic">Gr</mml:mi>
@ -569,8 +572,8 @@
</mml:mfenced> </mml:mfenced>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Br = min ( B sub s, B sub d):--> <!-- eqn: Br = min ( B sub s, B sub d):-->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Br</mml:mi> <mml:mi mathvariant="italic">Br</mml:mi>
@ -592,10 +595,10 @@
</mml:mfenced> </mml:mfenced>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
</entry> </entry>
<entry align="left"> <entry align="left">
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Ar = min ( A sub s, A sub d):--> <!-- eqn: Ar = min ( A sub s, A sub d):-->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Ar</mml:mi> <mml:mi mathvariant="italic">Ar</mml:mi>
@ -617,7 +620,7 @@
</mml:mfenced> </mml:mfenced>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
</entry> </entry>
</row> </row>
<row> <row>
@ -625,7 +628,7 @@
<constant>GL_MAX</constant> <constant>GL_MAX</constant>
</entry> </entry>
<entry align="left"> <entry align="left">
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Rr = max ( R sub s, R sub d):--> <!-- eqn: Rr = max ( R sub s, R sub d):-->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Rr</mml:mi> <mml:mi mathvariant="italic">Rr</mml:mi>
@ -647,8 +650,8 @@
</mml:mfenced> </mml:mfenced>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Gr = max ( G sub s, G sub d):--> <!-- eqn: Gr = max ( G sub s, G sub d):-->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Gr</mml:mi> <mml:mi mathvariant="italic">Gr</mml:mi>
@ -670,8 +673,8 @@
</mml:mfenced> </mml:mfenced>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Br = max ( B sub s, B sub d):--> <!-- eqn: Br = max ( B sub s, B sub d):-->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Br</mml:mi> <mml:mi mathvariant="italic">Br</mml:mi>
@ -693,10 +696,10 @@
</mml:mfenced> </mml:mfenced>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
</entry> </entry>
<entry align="left"> <entry align="left">
<informalequation><mml:math> <inlineequation><mml:math>
<!-- eqn: Ar = max ( A sub s, A sub d):--> <!-- eqn: Ar = max ( A sub s, A sub d):-->
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">Ar</mml:mi> <mml:mi mathvariant="italic">Ar</mml:mi>
@ -718,7 +721,7 @@
</mml:mfenced> </mml:mfenced>
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></informalequation> </mml:math></inlineequation>
</entry> </entry>
</row> </row>
</tbody> </tbody>
@ -783,7 +786,8 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2006 Khronos Group. Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBlendFunc"> <refentry id="glBlendFunc">
<refentryinfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBlendFunc</refentrytitle> <refentrytitle>glBlendFunc</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -31,7 +31,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
@ -213,28 +212,26 @@
where where
</para> </para>
<para> <para>
<para> <inlineequation><mml:math>
<inlineequation><mml:math> <!-- eqn: k sub c = 2 sup {m sub c} - 1: -->
<!-- eqn: k sub c = 2 sup {m sub c} - 1: --> <mml:mrow>
<mml:msub><mml:mi mathvariant="italic">k</mml:mi>
<mml:mi mathvariant="italic">c</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mrow> <mml:mrow>
<mml:msub><mml:mi mathvariant="italic">k</mml:mi> <mml:msup><mml:mn>2</mml:mn>
<mml:mi mathvariant="italic">c</mml:mi> <mml:mfenced open="" close="">
</mml:msub> <mml:msub><mml:mi mathvariant="italic">m</mml:mi>
<mml:mo>=</mml:mo> <mml:mi mathvariant="italic">c</mml:mi>
<mml:mrow> </mml:msub>
<mml:msup><mml:mn>2</mml:mn> </mml:mfenced>
<mml:mfenced open="" close=""> </mml:msup>
<mml:msub><mml:mi mathvariant="italic">m</mml:mi> <mml:mo>-</mml:mo>
<mml:mi mathvariant="italic">c</mml:mi> <mml:mn>1</mml:mn>
</mml:msub>
</mml:mfenced>
</mml:msup>
<mml:mo>-</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></inlineequation> </mml:mrow>
</para> </mml:math></inlineequation>
</para> </para>
<para> <para>
and and
@ -1110,186 +1107,182 @@
In the table, In the table,
</para> </para>
<para> <para>
<para> <inlineequation><mml:math>
<inlineequation><mml:math> <!-- eqn: i = min (A sub s , k sub A - A sub d ) / k sub A: -->
<!-- eqn: i = min (A sub s , k sub A - A sub d ) / k sub A: --> <mml:mrow>
<mml:mrow> <mml:mi mathvariant="italic">i</mml:mi>
<mml:mi mathvariant="italic">i</mml:mi> <mml:mo>=</mml:mo>
<mml:mo>=</mml:mo> <mml:mfrac>
<mml:mfrac> <mml:mrow>
<mml:mrow> <mml:mi mathvariant="italic">min</mml:mi>
<mml:mi mathvariant="italic">min</mml:mi> <mml:mo>&af;</mml:mo>
<mml:mo>&af;</mml:mo> <mml:mfenced open="(" close=")">
<mml:mfenced open="(" close=")"> <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> </mml:msub>
<mml:mrow>
<mml:msub><mml:mi mathvariant="italic">k</mml:mi>
<mml:mi mathvariant="italic">A</mml:mi>
</mml:msub> </mml:msub>
<mml:mrow> <mml:mo>-</mml:mo>
<mml:msub><mml:mi mathvariant="italic">k</mml:mi> <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
<mml:mi mathvariant="italic">A</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>-</mml:mo> </mml:mrow>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi> </mml:mfenced>
<mml:mi mathvariant="italic">d</mml:mi> </mml:mrow>
</mml:msub> <mml:msub><mml:mi mathvariant="italic">k</mml:mi>
</mml:mrow> <mml:mi mathvariant="italic">A</mml:mi>
</mml:mfenced> </mml:msub>
</mml:mrow> </mml:mfrac>
<mml:msub><mml:mi mathvariant="italic">k</mml:mi> </mml:mrow>
<mml:mi mathvariant="italic">A</mml:mi> </mml:math></inlineequation>
</mml:msub>
</mml:mfrac>
</mml:mrow>
</mml:math></inlineequation>
</para>
</para> </para>
<para> <para>
To determine the blended RGBA values of a pixel, To determine the blended RGBA values of a pixel,
the system uses the following equations: the system uses the following equations:
</para> </para>
<para> <para>
<para> <inlineequation><mml:math>
<inlineequation><mml:math> <!-- eqn: R sub d = min ( k sub R, R sub s s sub R + R sub d d sub R ): -->
<!-- eqn: R sub d = min ( k sub R, R sub s s sub R + R sub d d sub R ): --> <mml:mrow>
<mml:msub><mml:mi mathvariant="italic">R</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mrow> <mml:mrow>
<mml:msub><mml:mi mathvariant="italic">R</mml:mi> <mml:mi mathvariant="italic">min</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> <mml:mo>&af;</mml:mo>
</mml:msub> <mml:mfenced open="(" close=")">
<mml:mo>=</mml:mo> <mml:msub><mml:mi mathvariant="italic">k</mml:mi>
<mml:mrow> <mml:mi mathvariant="italic">R</mml:mi>
<mml:mi mathvariant="italic">min</mml:mi> </mml:msub>
<mml:mo>&af;</mml:mo> <mml:mrow>
<mml:mfenced open="(" close=")"> <mml:msub><mml:mi mathvariant="italic">R</mml:mi>
<mml:msub><mml:mi mathvariant="italic">k</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
</mml:msub>
<mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">R</mml:mi> <mml:mi mathvariant="italic">R</mml:mi>
</mml:msub> </mml:msub>
<mml:mrow> <mml:mo>+</mml:mo>
<mml:msub><mml:mi mathvariant="italic">R</mml:mi> <mml:msub><mml:mi mathvariant="italic">R</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi> <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">R</mml:mi> <mml:mi mathvariant="italic">R</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>+</mml:mo> </mml:mrow>
<mml:msub><mml:mi mathvariant="italic">R</mml:mi> </mml:mfenced>
<mml:mi mathvariant="italic">d</mml:mi>
</mml:msub>
<mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">R</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></inlineequation> </mml:mrow>
<inlineequation><mml:math> </mml:math></inlineequation>
<!-- eqn: G sub d = min ( k sub G, G sub s s sub G + G sub d d sub G ): --> <inlineequation><mml:math>
<!-- eqn: G sub d = min ( k sub G, G sub s s sub G + G sub d d sub G ): -->
<mml:mrow>
<mml:msub><mml:mi mathvariant="italic">G</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mrow> <mml:mrow>
<mml:msub><mml:mi mathvariant="italic">G</mml:mi> <mml:mi mathvariant="italic">min</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> <mml:mo>&af;</mml:mo>
</mml:msub> <mml:mfenced open="(" close=")">
<mml:mo>=</mml:mo> <mml:msub><mml:mi mathvariant="italic">k</mml:mi>
<mml:mrow> <mml:mi mathvariant="italic">G</mml:mi>
<mml:mi mathvariant="italic">min</mml:mi> </mml:msub>
<mml:mo>&af;</mml:mo> <mml:mrow>
<mml:mfenced open="(" close=")"> <mml:msub><mml:mi mathvariant="italic">G</mml:mi>
<mml:msub><mml:mi mathvariant="italic">k</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
</mml:msub>
<mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">G</mml:mi> <mml:mi mathvariant="italic">G</mml:mi>
</mml:msub> </mml:msub>
<mml:mrow> <mml:mo>+</mml:mo>
<mml:msub><mml:mi mathvariant="italic">G</mml:mi> <mml:msub><mml:mi mathvariant="italic">G</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi> <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">G</mml:mi> <mml:mi mathvariant="italic">G</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>+</mml:mo> </mml:mrow>
<mml:msub><mml:mi mathvariant="italic">G</mml:mi> </mml:mfenced>
<mml:mi mathvariant="italic">d</mml:mi>
</mml:msub>
<mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">G</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></inlineequation> </mml:mrow>
<inlineequation><mml:math> </mml:math></inlineequation>
<!-- eqn: B sub d = min ( k sub B, B sub s s sub B + B sub d d sub B ): --> <inlineequation><mml:math>
<!-- eqn: B sub d = min ( k sub B, B sub s s sub B + B sub d d sub B ): -->
<mml:mrow>
<mml:msub><mml:mi mathvariant="italic">B</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mrow> <mml:mrow>
<mml:msub><mml:mi mathvariant="italic">B</mml:mi> <mml:mi mathvariant="italic">min</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> <mml:mo>&af;</mml:mo>
</mml:msub> <mml:mfenced open="(" close=")">
<mml:mo>=</mml:mo> <mml:msub><mml:mi mathvariant="italic">k</mml:mi>
<mml:mrow> <mml:mi mathvariant="italic">B</mml:mi>
<mml:mi mathvariant="italic">min</mml:mi> </mml:msub>
<mml:mo>&af;</mml:mo> <mml:mrow>
<mml:mfenced open="(" close=")"> <mml:msub><mml:mi mathvariant="italic">B</mml:mi>
<mml:msub><mml:mi mathvariant="italic">k</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
</mml:msub>
<mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">B</mml:mi> <mml:mi mathvariant="italic">B</mml:mi>
</mml:msub> </mml:msub>
<mml:mrow> <mml:mo>+</mml:mo>
<mml:msub><mml:mi mathvariant="italic">B</mml:mi> <mml:msub><mml:mi mathvariant="italic">B</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi> <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">B</mml:mi> <mml:mi mathvariant="italic">B</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>+</mml:mo> </mml:mrow>
<mml:msub><mml:mi mathvariant="italic">B</mml:mi> </mml:mfenced>
<mml:mi mathvariant="italic">d</mml:mi>
</mml:msub>
<mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">B</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></inlineequation> </mml:mrow>
<inlineequation><mml:math> </mml:math></inlineequation>
<!-- eqn: A sub d = min ( k sub A, A sub s s sub A + A sub d d sub A ): --> <inlineequation><mml:math>
<!-- eqn: A sub d = min ( k sub A, A sub s s sub A + A sub d d sub A ): -->
<mml:mrow>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mrow> <mml:mrow>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi> <mml:mi mathvariant="italic">min</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> <mml:mo>&af;</mml:mo>
</mml:msub> <mml:mfenced open="(" close=")">
<mml:mo>=</mml:mo> <mml:msub><mml:mi mathvariant="italic">k</mml:mi>
<mml:mrow> <mml:mi mathvariant="italic">A</mml:mi>
<mml:mi mathvariant="italic">min</mml:mi> </mml:msub>
<mml:mo>&af;</mml:mo> <mml:mrow>
<mml:mfenced open="(" close=")"> <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
<mml:msub><mml:mi mathvariant="italic">k</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
</mml:msub>
<mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">A</mml:mi> <mml:mi mathvariant="italic">A</mml:mi>
</mml:msub> </mml:msub>
<mml:mrow> <mml:mo>+</mml:mo>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi> <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi> <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">A</mml:mi> <mml:mi mathvariant="italic">A</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>+</mml:mo> </mml:mrow>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi> </mml:mfenced>
<mml:mi mathvariant="italic">d</mml:mi>
</mml:msub>
<mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">A</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></inlineequation> </mml:mrow>
</para> </mml:math></inlineequation>
</para> </para>
<para> <para>
Despite the apparent precision of the above equations, Despite the apparent precision of the above equations,
@ -1319,56 +1312,54 @@
the equations reduce to simple replacement: the equations reduce to simple replacement:
</para> </para>
<para> <para>
<para> <inlineequation><mml:math>
<inlineequation><mml:math> <!-- eqn: R sub d = R sub s: -->
<!-- eqn: R sub d = R sub s: --> <mml:mrow>
<mml:mrow> <mml:msub><mml:mi mathvariant="italic">R</mml:mi>
<mml:msub><mml:mi mathvariant="italic">R</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> </mml:msub>
</mml:msub> <mml:mo>=</mml:mo>
<mml:mo>=</mml:mo> <mml:msub><mml:mi mathvariant="italic">R</mml:mi>
<mml:msub><mml:mi mathvariant="italic">R</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> </mml:msub>
</mml:msub> </mml:mrow>
</mml:mrow> </mml:math></inlineequation>
</mml:math></inlineequation> <inlineequation><mml:math>
<inlineequation><mml:math> <!-- eqn: G sub d = G sub s: -->
<!-- eqn: G sub d = G sub s: --> <mml:mrow>
<mml:mrow> <mml:msub><mml:mi mathvariant="italic">G</mml:mi>
<mml:msub><mml:mi mathvariant="italic">G</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> </mml:msub>
</mml:msub> <mml:mo>=</mml:mo>
<mml:mo>=</mml:mo> <mml:msub><mml:mi mathvariant="italic">G</mml:mi>
<mml:msub><mml:mi mathvariant="italic">G</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> </mml:msub>
</mml:msub> </mml:mrow>
</mml:mrow> </mml:math></inlineequation>
</mml:math></inlineequation> <inlineequation><mml:math>
<inlineequation><mml:math> <!-- eqn: B sub d = B sub s: -->
<!-- eqn: B sub d = B sub s: --> <mml:mrow>
<mml:mrow> <mml:msub><mml:mi mathvariant="italic">B</mml:mi>
<mml:msub><mml:mi mathvariant="italic">B</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> </mml:msub>
</mml:msub> <mml:mo>=</mml:mo>
<mml:mo>=</mml:mo> <mml:msub><mml:mi mathvariant="italic">B</mml:mi>
<mml:msub><mml:mi mathvariant="italic">B</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> </mml:msub>
</mml:msub> </mml:mrow>
</mml:mrow> </mml:math></inlineequation>
</mml:math></inlineequation> <inlineequation><mml:math>
<inlineequation><mml:math> <!-- eqn: A sub d = A sub s: -->
<!-- eqn: A sub d = A sub s: --> <mml:mrow>
<mml:mrow> <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> </mml:msub>
</mml:msub> <mml:mo>=</mml:mo>
<mml:mo>=</mml:mo> <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> </mml:msub>
</mml:msub> </mml:mrow>
</mml:mrow> </mml:math></inlineequation>
</mml:math></inlineequation>
</para>
</para> </para>
<para> <para>
</para> </para>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBlendFuncSeparate"> <refentry id="glBlendFuncSeparate">
<refentryinfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBlendFuncSeparate</refentrytitle> <refentrytitle>glBlendFuncSeparate</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -35,7 +35,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
@ -204,28 +203,26 @@
where where
</para> </para>
<para> <para>
<para> <inlineequation><mml:math>
<inlineequation><mml:math> <!-- eqn: k sub c = 2 sup {m sub c} - 1: -->
<!-- eqn: k sub c = 2 sup {m sub c} - 1: --> <mml:mrow>
<mml:msub><mml:mi mathvariant="italic">k</mml:mi>
<mml:mi mathvariant="italic">c</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mrow> <mml:mrow>
<mml:msub><mml:mi mathvariant="italic">k</mml:mi> <mml:msup><mml:mn>2</mml:mn>
<mml:mi mathvariant="italic">c</mml:mi> <mml:mfenced open="" close="">
</mml:msub> <mml:msub><mml:mi mathvariant="italic">m</mml:mi>
<mml:mo>=</mml:mo> <mml:mi mathvariant="italic">c</mml:mi>
<mml:mrow> </mml:msub>
<mml:msup><mml:mn>2</mml:mn> </mml:mfenced>
<mml:mfenced open="" close=""> </mml:msup>
<mml:msub><mml:mi mathvariant="italic">m</mml:mi> <mml:mo>-</mml:mo>
<mml:mi mathvariant="italic">c</mml:mi> <mml:mn>1</mml:mn>
</mml:msub>
</mml:mfenced>
</mml:msup>
<mml:mo>-</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></inlineequation> </mml:mrow>
</para> </mml:math></inlineequation>
</para> </para>
<para> <para>
and and
@ -1190,181 +1187,177 @@
In the table, In the table,
</para> </para>
<para> <para>
<para> <inlineequation><mml:math>
<inlineequation><mml:math> <!-- eqn: i = min (A sub s , 1 - {A sub d}): -->
<!-- eqn: i = min (A sub s , 1 - {A sub d}): --> <mml:mrow>
<mml:mi mathvariant="italic">i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow> <mml:mrow>
<mml:mi mathvariant="italic">i</mml:mi> <mml:mi mathvariant="italic">min</mml:mi>
<mml:mo>=</mml:mo> <mml:mo>&af;</mml:mo>
<mml:mrow> <mml:mfenced open="(" close=")">
<mml:mi mathvariant="italic">min</mml:mi> <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
<mml:mo>&af;</mml:mo> <mml:mi mathvariant="italic">s</mml:mi>
<mml:mfenced open="(" close=")"> </mml:msub>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi> <mml:mrow>
<mml:mi mathvariant="italic">s</mml:mi> <mml:mn>1</mml:mn>
</mml:msub> <mml:mo>-</mml:mo>
<mml:mrow> <mml:mfenced open="" close="">
<mml:mn>1</mml:mn> <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
<mml:mo>-</mml:mo> <mml:mi mathvariant="italic">d</mml:mi>
<mml:mfenced open="" close=""> </mml:msub>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi> </mml:mfenced>
<mml:mi mathvariant="italic">d</mml:mi> </mml:mrow>
</mml:msub> </mml:mfenced>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></inlineequation> </mml:mrow>
</para> </mml:math></inlineequation>
</para> </para>
<para> <para>
To determine the blended RGBA values of a pixel, To determine the blended RGBA values of a pixel,
the system uses the following equations: the system uses the following equations:
</para> </para>
<para> <para>
<para> <inlineequation><mml:math>
<inlineequation><mml:math> <!-- eqn: R sub d = min ( k sub R, R sub s s sub R + R sub d d sub R ): -->
<!-- eqn: R sub d = min ( k sub R, R sub s s sub R + R sub d d sub R ): --> <mml:mrow>
<mml:msub><mml:mi mathvariant="italic">R</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mrow> <mml:mrow>
<mml:msub><mml:mi mathvariant="italic">R</mml:mi> <mml:mi mathvariant="italic">min</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> <mml:mo>&af;</mml:mo>
</mml:msub> <mml:mfenced open="(" close=")">
<mml:mo>=</mml:mo> <mml:msub><mml:mi mathvariant="italic">k</mml:mi>
<mml:mrow> <mml:mi mathvariant="italic">R</mml:mi>
<mml:mi mathvariant="italic">min</mml:mi> </mml:msub>
<mml:mo>&af;</mml:mo> <mml:mrow>
<mml:mfenced open="(" close=")"> <mml:msub><mml:mi mathvariant="italic">R</mml:mi>
<mml:msub><mml:mi mathvariant="italic">k</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
</mml:msub>
<mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">R</mml:mi> <mml:mi mathvariant="italic">R</mml:mi>
</mml:msub> </mml:msub>
<mml:mrow> <mml:mo>+</mml:mo>
<mml:msub><mml:mi mathvariant="italic">R</mml:mi> <mml:msub><mml:mi mathvariant="italic">R</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi> <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">R</mml:mi> <mml:mi mathvariant="italic">R</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>+</mml:mo> </mml:mrow>
<mml:msub><mml:mi mathvariant="italic">R</mml:mi> </mml:mfenced>
<mml:mi mathvariant="italic">d</mml:mi>
</mml:msub>
<mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">R</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></inlineequation> </mml:mrow>
<inlineequation><mml:math> </mml:math></inlineequation>
<!-- eqn: G sub d = min ( k sub G, G sub s s sub G + G sub d d sub G ): --> <inlineequation><mml:math>
<!-- eqn: G sub d = min ( k sub G, G sub s s sub G + G sub d d sub G ): -->
<mml:mrow>
<mml:msub><mml:mi mathvariant="italic">G</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mrow> <mml:mrow>
<mml:msub><mml:mi mathvariant="italic">G</mml:mi> <mml:mi mathvariant="italic">min</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> <mml:mo>&af;</mml:mo>
</mml:msub> <mml:mfenced open="(" close=")">
<mml:mo>=</mml:mo> <mml:msub><mml:mi mathvariant="italic">k</mml:mi>
<mml:mrow> <mml:mi mathvariant="italic">G</mml:mi>
<mml:mi mathvariant="italic">min</mml:mi> </mml:msub>
<mml:mo>&af;</mml:mo> <mml:mrow>
<mml:mfenced open="(" close=")"> <mml:msub><mml:mi mathvariant="italic">G</mml:mi>
<mml:msub><mml:mi mathvariant="italic">k</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
</mml:msub>
<mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">G</mml:mi> <mml:mi mathvariant="italic">G</mml:mi>
</mml:msub> </mml:msub>
<mml:mrow> <mml:mo>+</mml:mo>
<mml:msub><mml:mi mathvariant="italic">G</mml:mi> <mml:msub><mml:mi mathvariant="italic">G</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi> <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">G</mml:mi> <mml:mi mathvariant="italic">G</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>+</mml:mo> </mml:mrow>
<mml:msub><mml:mi mathvariant="italic">G</mml:mi> </mml:mfenced>
<mml:mi mathvariant="italic">d</mml:mi>
</mml:msub>
<mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">G</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></inlineequation> </mml:mrow>
<inlineequation><mml:math> </mml:math></inlineequation>
<!-- eqn: B sub d = min ( k sub B, B sub s s sub B + B sub d d sub B ): --> <inlineequation><mml:math>
<!-- eqn: B sub d = min ( k sub B, B sub s s sub B + B sub d d sub B ): -->
<mml:mrow>
<mml:msub><mml:mi mathvariant="italic">B</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mrow> <mml:mrow>
<mml:msub><mml:mi mathvariant="italic">B</mml:mi> <mml:mi mathvariant="italic">min</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> <mml:mo>&af;</mml:mo>
</mml:msub> <mml:mfenced open="(" close=")">
<mml:mo>=</mml:mo> <mml:msub><mml:mi mathvariant="italic">k</mml:mi>
<mml:mrow> <mml:mi mathvariant="italic">B</mml:mi>
<mml:mi mathvariant="italic">min</mml:mi> </mml:msub>
<mml:mo>&af;</mml:mo> <mml:mrow>
<mml:mfenced open="(" close=")"> <mml:msub><mml:mi mathvariant="italic">B</mml:mi>
<mml:msub><mml:mi mathvariant="italic">k</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
</mml:msub>
<mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">B</mml:mi> <mml:mi mathvariant="italic">B</mml:mi>
</mml:msub> </mml:msub>
<mml:mrow> <mml:mo>+</mml:mo>
<mml:msub><mml:mi mathvariant="italic">B</mml:mi> <mml:msub><mml:mi mathvariant="italic">B</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi> <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">B</mml:mi> <mml:mi mathvariant="italic">B</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>+</mml:mo> </mml:mrow>
<mml:msub><mml:mi mathvariant="italic">B</mml:mi> </mml:mfenced>
<mml:mi mathvariant="italic">d</mml:mi>
</mml:msub>
<mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">B</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></inlineequation> </mml:mrow>
<inlineequation><mml:math> </mml:math></inlineequation>
<!-- eqn: A sub d = min ( k sub A, A sub s s sub A + A sub d d sub A ): --> <inlineequation><mml:math>
<!-- eqn: A sub d = min ( k sub A, A sub s s sub A + A sub d d sub A ): -->
<mml:mrow>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mrow> <mml:mrow>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi> <mml:mi mathvariant="italic">min</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> <mml:mo>&af;</mml:mo>
</mml:msub> <mml:mfenced open="(" close=")">
<mml:mo>=</mml:mo> <mml:msub><mml:mi mathvariant="italic">k</mml:mi>
<mml:mrow> <mml:mi mathvariant="italic">A</mml:mi>
<mml:mi mathvariant="italic">min</mml:mi> </mml:msub>
<mml:mo>&af;</mml:mo> <mml:mrow>
<mml:mfenced open="(" close=")"> <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
<mml:msub><mml:mi mathvariant="italic">k</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
</mml:msub>
<mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">A</mml:mi> <mml:mi mathvariant="italic">A</mml:mi>
</mml:msub> </mml:msub>
<mml:mrow> <mml:mo>+</mml:mo>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi> <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>&it;</mml:mo> <mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">s</mml:mi> <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">A</mml:mi> <mml:mi mathvariant="italic">A</mml:mi>
</mml:msub> </mml:msub>
<mml:mo>+</mml:mo> </mml:mrow>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi> </mml:mfenced>
<mml:mi mathvariant="italic">d</mml:mi>
</mml:msub>
<mml:mo>&it;</mml:mo>
<mml:msub><mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">A</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></inlineequation> </mml:mrow>
</para> </mml:math></inlineequation>
</para> </para>
<para> <para>
Despite the apparent precision of the above equations, blending arithmetic Despite the apparent precision of the above equations, blending arithmetic
@ -1390,56 +1383,54 @@
the equations reduce to simple replacement: the equations reduce to simple replacement:
</para> </para>
<para> <para>
<para> <inlineequation><mml:math>
<inlineequation><mml:math> <!-- eqn: R sub d = R sub s: -->
<!-- eqn: R sub d = R sub s: --> <mml:mrow>
<mml:mrow> <mml:msub><mml:mi mathvariant="italic">R</mml:mi>
<mml:msub><mml:mi mathvariant="italic">R</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> </mml:msub>
</mml:msub> <mml:mo>=</mml:mo>
<mml:mo>=</mml:mo> <mml:msub><mml:mi mathvariant="italic">R</mml:mi>
<mml:msub><mml:mi mathvariant="italic">R</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> </mml:msub>
</mml:msub> </mml:mrow>
</mml:mrow> </mml:math></inlineequation>
</mml:math></inlineequation> <inlineequation><mml:math>
<inlineequation><mml:math> <!-- eqn: G sub d = G sub s: -->
<!-- eqn: G sub d = G sub s: --> <mml:mrow>
<mml:mrow> <mml:msub><mml:mi mathvariant="italic">G</mml:mi>
<mml:msub><mml:mi mathvariant="italic">G</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> </mml:msub>
</mml:msub> <mml:mo>=</mml:mo>
<mml:mo>=</mml:mo> <mml:msub><mml:mi mathvariant="italic">G</mml:mi>
<mml:msub><mml:mi mathvariant="italic">G</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> </mml:msub>
</mml:msub> </mml:mrow>
</mml:mrow> </mml:math></inlineequation>
</mml:math></inlineequation> <inlineequation><mml:math>
<inlineequation><mml:math> <!-- eqn: B sub d = B sub s: -->
<!-- eqn: B sub d = B sub s: --> <mml:mrow>
<mml:mrow> <mml:msub><mml:mi mathvariant="italic">B</mml:mi>
<mml:msub><mml:mi mathvariant="italic">B</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> </mml:msub>
</mml:msub> <mml:mo>=</mml:mo>
<mml:mo>=</mml:mo> <mml:msub><mml:mi mathvariant="italic">B</mml:mi>
<mml:msub><mml:mi mathvariant="italic">B</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> </mml:msub>
</mml:msub> </mml:mrow>
</mml:mrow> </mml:math></inlineequation>
</mml:math></inlineequation> <inlineequation><mml:math>
<inlineequation><mml:math> <!-- eqn: A sub d = A sub s: -->
<!-- eqn: A sub d = A sub s: --> <mml:mrow>
<mml:mrow> <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
<mml:mi mathvariant="italic">d</mml:mi> </mml:msub>
</mml:msub> <mml:mo>=</mml:mo>
<mml:mo>=</mml:mo> <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi> <mml:mi mathvariant="italic">s</mml:mi>
<mml:mi mathvariant="italic">s</mml:mi> </mml:msub>
</mml:msub> </mml:mrow>
</mml:mrow> </mml:math></inlineequation>
</mml:math></inlineequation>
</para>
</para> </para>
<para> <para>
</para> </para>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBlitFramebuffer"> <refentry id="glBlitFramebuffer">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBlitFramebuffer</refentrytitle> <refentrytitle>glBlitFramebuffer</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -168,7 +168,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,17 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBufferData"> <refentry id="glBufferData">
<refentryinfo>
<copyright>
<year>2005</year>
<holder>Sams Publishing</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2005</year>
<holder>Sams Publishing</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBufferData</refentrytitle> <refentrytitle>glBufferData</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -27,7 +31,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
@ -164,10 +167,10 @@
but its contents remain uninitialized and thus undefined. but its contents remain uninitialized and thus undefined.
</para> </para>
<para> <para>
Clients must align data elements consistent with the requirements of the client Clients must align data elements consistently with the requirements of the client
platform, with an additional base-level requirement that an offset within a buffer to platform, with an additional base-level requirement that an offset within a buffer to
a datum comprising <inlineequation><mml:math><mml:mi mathvariant="italic">N</mml:mi> bytes be a a datum comprising <inlineequation><mml:math><mml:mi mathvariant="italic">N</mml:mi></mml:math></inlineequation> bytes be a
multiple of <mml:mi mathvariant="italic">N</mml:mi></mml:math></inlineequation>. multiple of <inlineequation><mml:math><mml:mi mathvariant="italic">N</mml:mi></mml:math></inlineequation>.
</para> </para>
<para> <para>
The <constant>GL_ATOMIC_COUNTER_BUFFER</constant> target is available only if the GL version The <constant>GL_ATOMIC_COUNTER_BUFFER</constant> target is available only if the GL version
@ -221,7 +224,7 @@
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2005 Addison-Wesley. Copyright <trademark class="copyright"></trademark> 2005 Addison-Wesley.
Copyright <trademark class="copyright"></trademark> 2011-2012 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBufferStorage"> <refentry id="glBufferStorage">
<refentryinfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBufferStorage</refentrytitle> <refentrytitle>glBufferStorage</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -27,7 +27,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
@ -147,45 +146,53 @@
That is, data written to the store by either the client or server will be immediately visible to That is, data written to the store by either the client or server will be immediately visible to
the other with no further action taken by the application. In particular, the other with no further action taken by the application. In particular,
</para> </para>
<itemizedlist>
<listitem>
<para>
If <constant>GL_MAP_COHERENT_BIT</constant> is not set and the client performs a write
followed by a call to the <citerefentry><refentrytitle>glMemoryBarrier</refentrytitle></citerefentry>
command with the <constant>GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT</constant> set, then in subsequent
commands the server will see the writes.
</para>
</listitem>
<listitem>
<para>
If <constant>GL_MAP_COHERENT_BIT</constant> is set and the client performs a write, then in
subsequent commands the server will see the writes.
</para>
</listitem>
<listitem>
<para>
If <constant>GL_MAP_COHERENT_BIT</constant> is not set and the server performs a write, the
application must call <citerefentry><refentrytitle>glMemoryBarrier</refentrytitle></citerefentry>
with the <constant>GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT</constant> set and then call
<citerefentry><refentrytitle>glFenceSync</refentrytitle></citerefentry> with
<constant>GL_SYNC_GPU_COMMANDS_COMPLETE</constant> (or <constant>glFinish</constant>).
Then the CPU will see the writes after the sync is complete.
</para>
</listitem>
<listitem>
<para>
If <constant>GL_MAP_COHERENT_BIT</constant> is set and the server does a write, the app must
call FenceSync with <constant>GL_SYNC_GPU_COMMANDS_COMPLETE</constant> (or <citerefentry><refentrytitle>glFinish</refentrytitle></citerefentry>).
Then the CPU will see the writes after the sync is complete.
</para>
</listitem>
</itemizedlist>
</listitem> </listitem>
<itemizedlist>
<listitem>
<para>
If <constant>GL_MAP_COHERENT_BIT</constant> is not set and the client performs a write
followed by a call to the <citerefentry><refentrytitle>glMemoryBarrier</refentrytitle></citerefentry>
command with the <constant>GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT</constant> set, then in subsequent
commands the server will see the writes.
</para>
</listitem>
<listitem>
<para>
If <constant>GL_MAP_COHERENT_BIT</constant> is set and the client performs a write, then in
subsequent commands the server will see the writes.
</para>
</listitem>
<listitem>
<para>
If <constant>GL_MAP_COHERENT_BIT</constant> is not set and the server performs a write, the
application must call <citerefentry><refentrytitle>glMemoryBarrier</refentrytitle></citerefentry>
with the <constant>GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT</constant> set and then call
<citerefentry><refentrytitle>glFenceSync</refentrytitle></citerefentry> with
<constant>GL_SYNC_GPU_COMMANDS_COMPLETE</constant> (or <constant>glFinish</constant>).
Then the CPU will see the writes after the sync is complete.
</para>
</listitem>
<listitem>
<para>
If <constant>GL_MAP_COHERENT_BIT</constant> is set and the server does a write, the app must
call FenceSync with <constant>GL_SYNC_GPU_COMMANDS_COMPLETE</constant> (or <citerefentry><refentrytitle>glFinish</refentrytitle></citerefentry>).
Then the CPU will see the writes after the sync is complete.
</para>
</listitem>
</itemizedlist>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><constant>GL_CLIENT_STORAGE_BIT</constant></term> When all other criteria for the buffer storage allocation <term><constant>GL_CLIENT_STORAGE_BIT</constant></term>
are met, this bit may be used by an implementation to determine whether to use storage that is local to the <listitem>
server or to the client to serve as the backing store for the buffer. <para>
When all other criteria for the buffer storage
allocation are met, this bit may be used by an
implementation to determine whether to use
storage that is local to the server or to the
client to serve as the backing store for the
buffer.
</para>
</listitem>
</varlistentry> </varlistentry>
</variablelist> </variablelist>
</para> </para>

View file

@ -2,13 +2,17 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glBufferSubData"> <refentry id="glBufferSubData">
<refentryinfo>
<copyright>
<year>2005</year>
<holder>Sams Publishing</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2005</year>
<holder>Sams Publishing</holder>
</copyright>
</refmetainfo>
<refentrytitle>glBufferSubData</refentrytitle> <refentrytitle>glBufferSubData</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -27,7 +31,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
@ -104,8 +107,8 @@
<para> <para>
Clients must align data elements consistent with the requirements of the client Clients must align data elements consistent with the requirements of the client
platform, with an additional base-level requirement that an offset within a buffer to platform, with an additional base-level requirement that an offset within a buffer to
a datum comprising <inlineequation><mml:math><mml:mi mathvariant="italic">N</mml:mi> bytes be a a datum comprising <inlineequation><mml:math><mml:mi mathvariant="italic">N</mml:mi></mml:math></inlineequation> bytes be a
multiple of <mml:mi mathvariant="italic">N</mml:mi></mml:math></inlineequation>. multiple of <inlineequation><mml:math><mml:mi mathvariant="italic">N</mml:mi></mml:math></inlineequation>.
</para> </para>
<para> <para>
The <constant>GL_ATOMIC_COUNTER_BUFFER</constant> target is available only if the GL version The <constant>GL_ATOMIC_COUNTER_BUFFER</constant> target is available only if the GL version
@ -152,6 +155,7 @@
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2005 Addison-Wesley. Copyright <trademark class="copyright"></trademark> 2005 Addison-Wesley.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glCheckFramebufferStatus"> <refentry id="glCheckFramebufferStatus">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glCheckFramebufferStatus</refentrytitle> <refentrytitle>glCheckFramebufferStatus</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -122,7 +122,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glClampColor"> <refentry id="glClampColor">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glClampColor</refentrytitle> <refentrytitle>glClampColor</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -70,7 +70,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glClear"> <refentry id="glClear">
<refentryinfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glClear</refentrytitle> <refentrytitle>glClear</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glClearBuffer"> <refentry id="glClearBuffer">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glClearBuffer</refentrytitle> <refentrytitle>glClearBuffer</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -100,7 +100,7 @@
<refsect1 id="description"><title>Description</title> <refsect1 id="description"><title>Description</title>
<para> <para>
<function>glClearBuffer*</function> clears the specified buffer to the specified value(s). If <parameter>buffer</parameter> is <function>glClearBuffer*</function> clears the specified buffer to the specified value(s). If <parameter>buffer</parameter> is
<constant>GL_COLOR</constant>, a particular draw buffer <constant>GL_DRAW_BUFFER<parameter>i</parameter></constant> is specified <constant>GL_COLOR</constant>, a particular draw buffer <constant>GL_DRAW_BUFFER</constant><parameter>i</parameter> is specified
by passing <parameter>i</parameter> as <parameter>drawBuffer</parameter>. In this case, <parameter>value</parameter> points to by passing <parameter>i</parameter> as <parameter>drawBuffer</parameter>. In this case, <parameter>value</parameter> points to
a four-element vector specifying the R, G, B and A color to clear that draw buffer to. If <parameter>buffer</parameter> is a four-element vector specifying the R, G, B and A color to clear that draw buffer to. If <parameter>buffer</parameter> is
one of <constant>GL_FRONT</constant>, <constant>GL_BACK</constant>, <constant>GL_LEFT</constant>, <constant>GL_RIGHT</constant>, one of <constant>GL_FRONT</constant>, <constant>GL_BACK</constant>, <constant>GL_LEFT</constant>, <constant>GL_RIGHT</constant>,
@ -161,7 +161,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glClearBufferData"> <refentry id="glClearBufferData">
<refentryinfo>
<copyright>
<year>2011-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2012</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glClearBufferData</refentrytitle> <refentrytitle>glClearBufferData</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -119,7 +119,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2011-2012 Khronos Group. Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glClearBufferSubData"> <refentry id="glClearBufferSubData">
<refentryinfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2012</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glClearBufferSubData</refentrytitle> <refentrytitle>glClearBufferSubData</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -140,7 +140,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2012 Khronos Group. Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glClearColor"> <refentry id="glClearColor">
<refentryinfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glClearColor</refentrytitle> <refentrytitle>glClearColor</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glClearDepth"> <refentry id="glClearDepth">
<refentryinfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glClearDepth</refentrytitle> <refentrytitle>glClearDepth</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glClearStencil"> <refentry id="glClearStencil">
<refentryinfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glClearStencil</refentrytitle> <refentrytitle>glClearStencil</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -24,7 +24,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glClearTexImage"> <refentry id="glClearTexImage">
<refentryinfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glClearTexImage</refentrytitle> <refentrytitle>glClearTexImage</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -28,7 +28,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glClearTexSubImage"> <refentry id="glClearTexSubImage">
<refentryinfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glClearTexSubImage</refentrytitle> <refentrytitle>glClearTexSubImage</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -34,7 +34,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
@ -153,20 +152,45 @@
<para> <para>
Negative values of <parameter>xoffset</parameter>, <parameter>yoffset</parameter>, and <parameter>zoffset</parameter> correspond to the coordinates of Negative values of <parameter>xoffset</parameter>, <parameter>yoffset</parameter>, and <parameter>zoffset</parameter> correspond to the coordinates of
border texels. Taking border texels. Taking
<mml:math><mml:mi mathvariant="italic">ws</mml:mi></mml:math>, <inlineequation>
<mml:math><mml:mi mathvariant="italic">hs</mml:mi></mml:math>, <mml:math><mml:mi mathvariant="italic">ws</mml:mi></mml:math>
<mml:math><mml:mi mathvariant="italic">ds</mml:mi></mml:math>, </inlineequation>,
<mml:math><mml:mi mathvariant="italic">wb</mml:mi></mml:math>, <inlineequation>
<mml:math><mml:mi mathvariant="italic">hb</mml:mi></mml:math>, and <mml:math><mml:mi mathvariant="italic">hs</mml:mi></mml:math>
<mml:math><mml:mi mathvariant="italic">db</mml:mi></mml:math> to be </inlineequation>,
<inlineequation>
<mml:math><mml:mi mathvariant="italic">ds</mml:mi></mml:math>
</inlineequation>,
<inlineequation>
<mml:math><mml:mi mathvariant="italic">wb</mml:mi></mml:math>
</inlineequation>,
<inlineequation>
<mml:math><mml:mi mathvariant="italic">hb</mml:mi></mml:math>
</inlineequation>, and
<inlineequation>
<mml:math><mml:mi mathvariant="italic">db</mml:mi></mml:math>
</inlineequation> to be
the specified <parameter>width</parameter>, <parameter>height</parameter>, <parameter>depth</parameter>, and the border width, border height, and border the specified <parameter>width</parameter>, <parameter>height</parameter>, <parameter>depth</parameter>, and the border width, border height, and border
depth of the texel array and taking depth of the texel array and taking
<mml:math><mml:mi mathvariant="italic">x</mml:mi></mml:math>, <inlineequation>
<mml:math><mml:mi mathvariant="italic">y</mml:mi></mml:math>, <mml:math><mml:mi mathvariant="italic">x</mml:mi></mml:math>
<mml:math><mml:mi mathvariant="italic">z</mml:mi></mml:math>, </inlineequation>,
<mml:math><mml:mi mathvariant="italic">w</mml:mi></mml:math>, <inlineequation>
<mml:math><mml:mi mathvariant="italic">h</mml:mi></mml:math>, and <mml:math><mml:mi mathvariant="italic">y</mml:mi></mml:math>
<mml:math><mml:mi mathvariant="italic">d</mml:mi></mml:math> to be the <parameter>xoffset</parameter>, <parameter>yoffset</parameter>, </inlineequation>,
<inlineequation>
<mml:math><mml:mi mathvariant="italic">z</mml:mi></mml:math>
</inlineequation>,
<inlineequation>
<mml:math><mml:mi mathvariant="italic">w</mml:mi></mml:math>
</inlineequation>,
<inlineequation>
<mml:math><mml:mi mathvariant="italic">h</mml:mi></mml:math>
</inlineequation>, and
<inlineequation>
<mml:math><mml:mi mathvariant="italic">d</mml:mi></mml:math>
</inlineequation>
to be the <parameter>xoffset</parameter>, <parameter>yoffset</parameter>,
<parameter>zoffset</parameter>, <parameter>width</parameter>, <parameter>height</parameter>, and <parameter>depth</parameter> argument values, <parameter>zoffset</parameter>, <parameter>width</parameter>, <parameter>height</parameter>, and <parameter>depth</parameter> argument values,
any of the following relationships generates a <constant>GL_INVALID_OPERATION</constant> error: any of the following relationships generates a <constant>GL_INVALID_OPERATION</constant> error:
<itemizedlist> <itemizedlist>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glClientWaitSync"> <refentry id="glClientWaitSync">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glClientWaitSync</refentrytitle> <refentrytitle>glClientWaitSync</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -44,7 +44,6 @@
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
</variablelist>
<varlistentry> <varlistentry>
<term><parameter>timeout</parameter></term> <term><parameter>timeout</parameter></term>
<listitem> <listitem>
@ -53,6 +52,7 @@
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
</variablelist>
</refsect1> </refsect1>
<refsect1 id="description"><title>Description</title> <refsect1 id="description"><title>Description</title>
<para> <para>
@ -110,7 +110,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,17 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glColorMask"> <refentry id="glColorMask">
<refentryinfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glColorMask</refentrytitle> <refentrytitle>glColorMask</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -95,9 +99,8 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 1991-2006 Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Silicon Graphics, Inc. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
Copyright <trademark class="copyright"></trademark> 2010-2011 Khronos Group.
This document is licensed under the SGI This document is licensed under the SGI
Free Software B License. For details, see Free Software B License. For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>. <ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.

View file

@ -2,13 +2,23 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glCompileShader"> <refentry id="glCompileShader">
<refentryinfo>
<copyright>
<year>2003-2005</year>
<holder>3Dlabs Inc. Ltd.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refentrytitle>glCompileShader</refentrytitle> <refentrytitle>glCompileShader</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
<refname>glCompileShader</refname> <refname>glCompileShader</refname>
<refpurpose>Compiles a shader object</refpurpose> <refpurpose>Compiles a shader object</refpurpose>
</refnamediv> </refnamediv>
<refsynopsisdiv><title>C Specification</title> <refsynopsisdiv><title>C Specification</title>
<funcsynopsis> <funcsynopsis>
@ -76,6 +86,7 @@
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2003-2005 3Dlabs Inc. Ltd. Copyright <trademark class="copyright"></trademark> 2003-2005 3Dlabs Inc. Ltd.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,17 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glCompressedTexImage1D"> <refentry id="glCompressedTexImage1D">
<refentryinfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2011-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glCompressedTexImage1D</refentrytitle> <refentrytitle>glCompressedTexImage1D</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -30,7 +34,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
@ -126,58 +129,99 @@
If the compressed data are arranged into fixed-size blocks of texels, the pixel If the compressed data are arranged into fixed-size blocks of texels, the pixel
storage modes can be used to select a sub-rectangle from a larger containing rectangle. storage modes can be used to select a sub-rectangle from a larger containing rectangle.
These pixel storage modes operate in the same way as they do for <citerefentry><refentrytitle>glTexImage1D</refentrytitle></citerefentry>. These pixel storage modes operate in the same way as they do for <citerefentry><refentrytitle>glTexImage1D</refentrytitle></citerefentry>.
In the following description, denote by <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math>, In the following description, denote by
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>, <inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math>, and <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math>, </inlineequation>,
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>,
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>, and
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
the values of pixel storage modes <constant>GL_UNPACK_COMPRESSED_BLOCK_SIZE</constant>, the values of pixel storage modes <constant>GL_UNPACK_COMPRESSED_BLOCK_SIZE</constant>,
<constant>GL_UNPACK_COMPRESSED_BLOCK_WIDTH</constant>, <constant>GL_UNPACK_COMPRESSED_BLOCK_HEIGHT</constant>, <constant>GL_UNPACK_COMPRESSED_BLOCK_WIDTH</constant>, <constant>GL_UNPACK_COMPRESSED_BLOCK_HEIGHT</constant>,
and <constant>GL_UNPACK_COMPRESSED_BLOCK_DEPTH</constant>, respectively. and <constant>GL_UNPACK_COMPRESSED_BLOCK_DEPTH</constant>, respectively.
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math> is <inlineequation>
the compressed block size in bytes; <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>, <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math>, </inlineequation>
and <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math> are the compressed block width, height, and depth in pixels. is the compressed block size in bytes;
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>,
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>, and
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
are the compressed block width, height, and depth in pixels.
</para> </para>
<para> <para>
By default the pixel storage modes <constant>GL_UNPACK_ROW_LENGTH</constant>, By default the pixel storage modes <constant>GL_UNPACK_ROW_LENGTH</constant>,
<constant>GL_UNPACK_SKIP_ROWS</constant>, <constant>GL_UNPACK_SKIP_PIXELS</constant>, <constant>GL_UNPACK_SKIP_ROWS</constant>, <constant>GL_UNPACK_SKIP_PIXELS</constant>,
<constant>GL_UNPACK_IMAGE_HEIGHT</constant> and <constant>GL_UNPACK_SKIP_IMAGES</constant> <constant>GL_UNPACK_IMAGE_HEIGHT</constant> and <constant>GL_UNPACK_SKIP_IMAGES</constant>
are ignored for compressed images. To enable <constant>GL_UNPACK_SKIP_PIXELS</constant> are ignored for compressed images. To enable <constant>GL_UNPACK_SKIP_PIXELS</constant>
and <constant>GL_UNPACK_ROW_LENGTH</constant>, <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math> and <constant>GL_UNPACK_ROW_LENGTH</constant>,
and <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math> must both be non-zero. <inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
and
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
must both be non-zero.
To also enable <constant>GL_UNPACK_SKIP_ROWS</constant> and <constant>GL_UNPACK_IMAGE_HEIGHT</constant>, To also enable <constant>GL_UNPACK_SKIP_ROWS</constant> and <constant>GL_UNPACK_IMAGE_HEIGHT</constant>,
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math> must be non-zero. <inlineequation>
To also enable <constant>GL_UNPACK_SKIP_IMAGES</constant>, <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math> <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
must be non-zero.
To also enable <constant>GL_UNPACK_SKIP_IMAGES</constant>,
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
must be non-zero. All parameters must be consistent with the compressed format to produce the desired results. must be non-zero. All parameters must be consistent with the compressed format to produce the desired results.
</para> </para>
<para> <para>
When selecting a sub-rectangle from a compressed image: When selecting a sub-rectangle from a compressed image,
<itemizedlist> <itemizedlist>
<listitem>the value of <constant>GL_UNPACK_SKIP_PIXELS</constant> must be a multiple of <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>;</listitem> <listitem>
<para>
the value of <constant>GL_UNPACK_SKIP_PIXELS</constant> must be a multiple of
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
</para>
</listitem>
</itemizedlist> </itemizedlist>
</para> </para>
<para> <para>
<parameter>imageSize</parameter> must be equal to: <parameter>imageSize</parameter> must be equal to:
</para> </para>
<para> <para>
<mml:math display = 'block'> <inlineequation>
<mml:mrow> <mml:math display = 'block'>
<mml:msub> <mml:mrow>
<mml:mi>b</mml:mi> <mml:msub>
<mml:mi>s</mml:mi> <mml:mi>b</mml:mi>
</mml:msub> <mml:mi>s</mml:mi>
<mml:mo lspace='2px' rspace='2px'>&times;</mml:mo> </mml:msub>
<mml:mfenced open = '&lceil;' close = '&rceil;'> <mml:mo lspace='2px' rspace='2px'>&times;</mml:mo>
<mml:mfrac> <mml:mfenced open = '&lceil;' close = '&rceil;'>
<mml:mi>width</mml:mi> <mml:mfrac>
<mml:msub> <mml:mi>width</mml:mi>
<mml:mi>b</mml:mi> <mml:msub>
<mml:mi>w</mml:mi> <mml:mi>b</mml:mi>
</mml:msub> <mml:mi>w</mml:mi>
</mml:mfrac> </mml:msub>
</mml:mfenced> </mml:mfrac>
</mml:mrow> </mml:mfenced>
</mml:math> </mml:mrow>
</mml:math>
</inlineequation>
</para> </para>
</refsect1> </refsect1>
<refsect1 id="errors"><title>Errors</title> <refsect1 id="errors"><title>Errors</title>
@ -264,9 +308,9 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 1991-2006 Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Silicon Graphics, Inc. <trademark class="copyright"></trademark> 2011 Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
Khronos Group. This document is licensed under the SGI This document is licensed under the SGI
Free Software B License. For details, see Free Software B License. For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>. <ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para> </para>

View file

@ -2,13 +2,17 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glCompressedTexImage2D"> <refentry id="glCompressedTexImage2D">
<refentryinfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2011-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glCompressedTexImage2D</refentrytitle> <refentrytitle>glCompressedTexImage2D</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -31,7 +35,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
@ -156,69 +159,119 @@
If the compressed data are arranged into fixed-size blocks of texels, the pixel If the compressed data are arranged into fixed-size blocks of texels, the pixel
storage modes can be used to select a sub-rectangle from a larger containing rectangle. storage modes can be used to select a sub-rectangle from a larger containing rectangle.
These pixel storage modes operate in the same way as they do for <citerefentry><refentrytitle>glTexImage2D</refentrytitle></citerefentry>. These pixel storage modes operate in the same way as they do for <citerefentry><refentrytitle>glTexImage2D</refentrytitle></citerefentry>.
In the following description, denote by <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math>, In the following description, denote by
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>, <inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math>, and <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math>, </inlineequation>,
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>,
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>, and
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>,
the values of pixel storage modes <constant>GL_UNPACK_COMPRESSED_BLOCK_SIZE</constant>, the values of pixel storage modes <constant>GL_UNPACK_COMPRESSED_BLOCK_SIZE</constant>,
<constant>GL_UNPACK_COMPRESSED_BLOCK_WIDTH</constant>, <constant>GL_UNPACK_COMPRESSED_BLOCK_HEIGHT</constant>, <constant>GL_UNPACK_COMPRESSED_BLOCK_WIDTH</constant>, <constant>GL_UNPACK_COMPRESSED_BLOCK_HEIGHT</constant>,
and <constant>GL_UNPACK_COMPRESSED_BLOCK_DEPTH</constant>, respectively. and <constant>GL_UNPACK_COMPRESSED_BLOCK_DEPTH</constant>, respectively.
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math> is <inlineequation>
the compressed block size in bytes; <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>, <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math>, </inlineequation> is the compressed block size in bytes;
and <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math> are the compressed block width, height, and depth in pixels. <inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>,
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>, and
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation> are the compressed block width, height, and depth in pixels.
</para> </para>
<para> <para>
By default the pixel storage modes <constant>GL_UNPACK_ROW_LENGTH</constant>, By default the pixel storage modes <constant>GL_UNPACK_ROW_LENGTH</constant>,
<constant>GL_UNPACK_SKIP_ROWS</constant>, <constant>GL_UNPACK_SKIP_PIXELS</constant>, <constant>GL_UNPACK_SKIP_ROWS</constant>, <constant>GL_UNPACK_SKIP_PIXELS</constant>,
<constant>GL_UNPACK_IMAGE_HEIGHT</constant> and <constant>GL_UNPACK_SKIP_IMAGES</constant> <constant>GL_UNPACK_IMAGE_HEIGHT</constant> and <constant>GL_UNPACK_SKIP_IMAGES</constant>
are ignored for compressed images. To enable <constant>GL_UNPACK_SKIP_PIXELS</constant> are ignored for compressed images. To enable <constant>GL_UNPACK_SKIP_PIXELS</constant>
and <constant>GL_UNPACK_ROW_LENGTH</constant>, <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math> and <constant>GL_UNPACK_ROW_LENGTH</constant>,
and <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math> must both be non-zero. <inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
and
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
must both be non-zero.
To also enable <constant>GL_UNPACK_SKIP_ROWS</constant> and <constant>GL_UNPACK_IMAGE_HEIGHT</constant>, To also enable <constant>GL_UNPACK_SKIP_ROWS</constant> and <constant>GL_UNPACK_IMAGE_HEIGHT</constant>,
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math> must be non-zero. <inlineequation>
To also enable <constant>GL_UNPACK_SKIP_IMAGES</constant>, <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math> <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
must be non-zero.
To also enable <constant>GL_UNPACK_SKIP_IMAGES</constant>,
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
must be non-zero. All parameters must be consistent with the compressed format to produce the desired results. must be non-zero. All parameters must be consistent with the compressed format to produce the desired results.
</para> </para>
<para> <para>
When selecting a sub-rectangle from a compressed image: When selecting a sub-rectangle from a compressed image:
<itemizedlist> <itemizedlist>
<listitem>the value of <constant>GL_UNPACK_SKIP_PIXELS</constant> must be a multiple of <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>;</listitem> <listitem>
<listitem>the value of <constant>GL_UNPACK_SKIP_ROWS</constant> must be a multiple of <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>.</listitem> <para>
The value of
<constant>GL_UNPACK_SKIP_PIXELS</constant> must be a
multiple of
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>;
</para>
</listitem>
<listitem>
<para>
the value of
<constant>GL_UNPACK_SKIP_ROWS</constant> must be a
multiple of
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>.
</para>
</listitem>
</itemizedlist> </itemizedlist>
</para> </para>
<para> <para>
<parameter>imageSize</parameter> must be equal to: <parameter>imageSize</parameter> must be equal to:
</para> </para>
<para> <para>
<mml:math display = 'block'> <inlineequation>
<mml:mrow> <mml:math display = 'block'>
<mml:msub> <mml:mrow>
<mml:mi>b</mml:mi> <mml:msub>
<mml:mi>s</mml:mi> <mml:mi>b</mml:mi>
</mml:msub> <mml:mi>s</mml:mi>
<mml:mo lspace='2px' rspace='2px'>&times;</mml:mo> </mml:msub>
<mml:mfenced open = '&lceil;' close = '&rceil;'> <mml:mo lspace='2px' rspace='2px'>&times;</mml:mo>
<mml:mfrac> <mml:mfenced open = '&lceil;' close = '&rceil;'>
<mml:mi>width</mml:mi> <mml:mfrac>
<mml:msub> <mml:mi>width</mml:mi>
<mml:mi>b</mml:mi> <mml:msub>
<mml:mi>w</mml:mi> <mml:mi>b</mml:mi>
</mml:msub> <mml:mi>w</mml:mi>
</mml:mfrac> </mml:msub>
</mml:mfenced> </mml:mfrac>
<mml:mo lspace='2px' rspace='2px'>&times;</mml:mo> </mml:mfenced>
<mml:mfenced open = '&lceil;' close = '&rceil;'> <mml:mo lspace='2px' rspace='2px'>&times;</mml:mo>
<mml:mfrac> <mml:mfenced open = '&lceil;' close = '&rceil;'>
<mml:mi>height</mml:mi> <mml:mfrac>
<mml:msub> <mml:mi>height</mml:mi>
<mml:mi>b</mml:mi> <mml:msub>
<mml:mi>h</mml:mi> <mml:mi>b</mml:mi>
</mml:msub> <mml:mi>h</mml:mi>
</mml:mfrac> </mml:msub>
</mml:mfenced> </mml:mfrac>
</mml:mrow> </mml:mfenced>
</mml:math> </mml:mrow>
</mml:math>
</inlineequation>
</para> </para>
</refsect1> </refsect1>
<refsect1 id="notes"><title>Notes</title> <refsect1 id="notes"><title>Notes</title>
@ -325,9 +378,9 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 1991-2006 Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Silicon Graphics, Inc. <trademark class="copyright"></trademark> 2011 Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
Khronos Group. This document is licensed under the SGI This document is licensed under the SGI
Free Software B License. For details, see Free Software B License. For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>. <ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para> </para>

View file

@ -2,13 +2,17 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glCompressedTexImage3D"> <refentry id="glCompressedTexImage3D">
<refentryinfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2011-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glCompressedTexImage3D</refentrytitle> <refentrytitle>glCompressedTexImage3D</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -32,7 +36,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
@ -159,80 +162,136 @@
If the compressed data are arranged into fixed-size blocks of texels, the pixel If the compressed data are arranged into fixed-size blocks of texels, the pixel
storage modes can be used to select a sub-rectangle from a larger containing rectangle. storage modes can be used to select a sub-rectangle from a larger containing rectangle.
These pixel storage modes operate in the same way as they do for <citerefentry><refentrytitle>glTexImage1D</refentrytitle></citerefentry>. These pixel storage modes operate in the same way as they do for <citerefentry><refentrytitle>glTexImage1D</refentrytitle></citerefentry>.
In the following description, denote by <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math>, In the following description, denote by
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>, <inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math>, and <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math>, </inlineequation>,
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>,
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>, and
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
the values of pixel storage modes <constant>GL_UNPACK_COMPRESSED_BLOCK_SIZE</constant>, the values of pixel storage modes <constant>GL_UNPACK_COMPRESSED_BLOCK_SIZE</constant>,
<constant>GL_UNPACK_COMPRESSED_BLOCK_WIDTH</constant>, <constant>GL_UNPACK_COMPRESSED_BLOCK_HEIGHT</constant>, <constant>GL_UNPACK_COMPRESSED_BLOCK_WIDTH</constant>, <constant>GL_UNPACK_COMPRESSED_BLOCK_HEIGHT</constant>,
and <constant>GL_UNPACK_COMPRESSED_BLOCK_DEPTH</constant>, respectively. and <constant>GL_UNPACK_COMPRESSED_BLOCK_DEPTH</constant>, respectively.
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math> is <inlineequation>
the compressed block size in bytes; <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>, <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math>, </inlineequation>
and <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math> are the compressed block width, height, and depth in pixels. is the compressed block size in bytes;
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>,
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>,
and
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
are the compressed block width, height, and depth in pixels.
</para> </para>
<para> <para>
By default the pixel storage modes <constant>GL_UNPACK_ROW_LENGTH</constant>, By default the pixel storage modes <constant>GL_UNPACK_ROW_LENGTH</constant>,
<constant>GL_UNPACK_SKIP_ROWS</constant>, <constant>GL_UNPACK_SKIP_PIXELS</constant>, <constant>GL_UNPACK_SKIP_ROWS</constant>, <constant>GL_UNPACK_SKIP_PIXELS</constant>,
<constant>GL_UNPACK_IMAGE_HEIGHT</constant> and <constant>GL_UNPACK_SKIP_IMAGES</constant> <constant>GL_UNPACK_IMAGE_HEIGHT</constant> and <constant>GL_UNPACK_SKIP_IMAGES</constant>
are ignored for compressed images. To enable <constant>GL_UNPACK_SKIP_PIXELS</constant> are ignored for compressed images. To enable <constant>GL_UNPACK_SKIP_PIXELS</constant>
and <constant>GL_UNPACK_ROW_LENGTH</constant>, <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math> and <constant>GL_UNPACK_ROW_LENGTH</constant>,
and <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math> must both be non-zero. <inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
and
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
must both be non-zero.
To also enable <constant>GL_UNPACK_SKIP_ROWS</constant> and <constant>GL_UNPACK_IMAGE_HEIGHT</constant>, To also enable <constant>GL_UNPACK_SKIP_ROWS</constant> and <constant>GL_UNPACK_IMAGE_HEIGHT</constant>,
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math> must be non-zero. <inlineequation>
To also enable <constant>GL_UNPACK_SKIP_IMAGES</constant>, <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math> <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
must be non-zero.
To also enable <constant>GL_UNPACK_SKIP_IMAGES</constant>,
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
must be non-zero. All parameters must be consistent with the compressed format to produce the desired results. must be non-zero. All parameters must be consistent with the compressed format to produce the desired results.
</para> </para>
<para> <para>
When selecting a sub-rectangle from a compressed image: When selecting a sub-rectangle from a compressed image:
<itemizedlist> <itemizedlist>
<listitem>the value of <constant>GL_UNPACK_SKIP_PIXELS</constant> must be a multiple of <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>;</listitem> <listitem>
<listitem>the value of <constant>GL_UNPACK_SKIP_ROWS</constant> must be a multiple of <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>;</listitem> <para>
<listitem>the value of <constant>GL_UNPACK_SKIP_IMAGES</constant> must be a multiple of <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>.</listitem> the value of <constant>GL_UNPACK_SKIP_PIXELS</constant> must be a multiple of
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>;
</para>
</listitem>
<listitem>
<para>
the value of <constant>GL_UNPACK_SKIP_ROWS</constant> must be a multiple of
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>;
</para>
</listitem>
<listitem>
<para>
the value of <constant>GL_UNPACK_SKIP_IMAGES</constant> must be a multiple of
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>.
</para>
</listitem>
</itemizedlist> </itemizedlist>
</para> </para>
<para> <para>
<parameter>imageSize</parameter> must be equal to: <parameter>imageSize</parameter> must be equal to:
</para> </para>
<para> <para>
<mml:math display = 'block'> <inlineequation>
<mml:mrow> <mml:math display = 'block'>
<mml:msub> <mml:mrow>
<mml:mi>b</mml:mi> <mml:msub>
<mml:mi>s</mml:mi> <mml:mi>b</mml:mi>
</mml:msub> <mml:mi>s</mml:mi>
<mml:mo lspace='2px' rspace='2px'>&times;</mml:mo> </mml:msub>
<mml:mfenced open = '&lceil;' close = '&rceil;'> <mml:mo lspace='2px' rspace='2px'>&times;</mml:mo>
<mml:mfrac> <mml:mfenced open = '&lceil;' close = '&rceil;'>
<mml:mi>width</mml:mi> <mml:mfrac>
<mml:msub> <mml:mi>width</mml:mi>
<mml:mi>b</mml:mi> <mml:msub>
<mml:mi>w</mml:mi> <mml:mi>b</mml:mi>
</mml:msub> <mml:mi>w</mml:mi>
</mml:mfrac> </mml:msub>
</mml:mfenced> </mml:mfrac>
<mml:mo lspace='2px' rspace='2px'>&times;</mml:mo> </mml:mfenced>
<mml:mfenced open = '&lceil;' close = '&rceil;'> <mml:mo lspace='2px' rspace='2px'>&times;</mml:mo>
<mml:mfrac> <mml:mfenced open = '&lceil;' close = '&rceil;'>
<mml:mi>height</mml:mi> <mml:mfrac>
<mml:msub> <mml:mi>height</mml:mi>
<mml:mi>b</mml:mi> <mml:msub>
<mml:mi>h</mml:mi> <mml:mi>b</mml:mi>
</mml:msub> <mml:mi>h</mml:mi>
</mml:mfrac> </mml:msub>
</mml:mfenced> </mml:mfrac>
<mml:mo lspace='2px' rspace='2px'>&times;</mml:mo> </mml:mfenced>
<mml:mfenced open = '&lceil;' close = '&rceil;'> <mml:mo lspace='2px' rspace='2px'>&times;</mml:mo>
<mml:mfrac> <mml:mfenced open = '&lceil;' close = '&rceil;'>
<mml:mi>depth</mml:mi> <mml:mfrac>
<mml:msub> <mml:mi>depth</mml:mi>
<mml:mi>b</mml:mi> <mml:msub>
<mml:mi>d</mml:mi> <mml:mi>b</mml:mi>
</mml:msub> <mml:mi>d</mml:mi>
</mml:mfrac> </mml:msub>
</mml:mfenced> </mml:mfrac>
</mml:mrow> </mml:mfenced>
</mml:math> </mml:mrow>
</mml:math>
</inlineequation>
</para> </para>
</refsect1> </refsect1>
<refsect1 id="errors"><title>Errors</title> <refsect1 id="errors"><title>Errors</title>
@ -309,9 +368,9 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 1991-2006 Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Silicon Graphics, Inc. <trademark class="copyright"></trademark> 2011 Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
Khronos Group. This document is licensed under the SGI This document is licensed under the SGI
Free Software B License. For details, see Free Software B License. For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>. <ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para> </para>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glCompressedTexSubImage1D"> <refentry id="glCompressedTexSubImage1D">
<refentryinfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glCompressedTexSubImage1D</refentrytitle> <refentrytitle>glCompressedTexSubImage1D</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -30,7 +30,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glCompressedTexSubImage2D"> <refentry id="glCompressedTexSubImage2D">
<refentryinfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glCompressedTexSubImage2D</refentrytitle> <refentrytitle>glCompressedTexSubImage2D</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -32,7 +32,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glCompressedTexSubImage3D"> <refentry id="glCompressedTexSubImage3D">
<refentryinfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glCompressedTexSubImage3D</refentrytitle> <refentrytitle>glCompressedTexSubImage3D</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -34,7 +34,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glCopyBufferSubData"> <refentry id="glCopyBufferSubData">
<refentryinfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glCopyBufferSubData</refentrytitle> <refentrytitle>glCopyBufferSubData</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -28,7 +28,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glCopyImageSubData"> <refentry id="glCopyImageSubData">
<refentryinfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2012</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glCopyImageSubData</refentrytitle> <refentrytitle>glCopyImageSubData</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -280,11 +280,11 @@
<constant>GL_RGBA16</constant>, <constant>GL_RGBA16</constant>,
<constant>GL_RGBA16_SNORM</constant></entry> <constant>GL_RGBA16_SNORM</constant></entry>
<entry><constant>GL_COMPRESSED_RGB_S3TC_DXT1_EXT</constant>, <entry><constant>GL_COMPRESSED_RGB_S3TC_DXT1_EXT</constant>,
<constant>COMPRESSED_SRGB_S3TC_DXT1_EXT</constant>, <constant>GL_COMPRESSED_SRGB_S3TC_DXT1_EXT</constant>,
<constant>COMPRESSED_RGBA_S3TC_DXT1_EXT</constant>, <constant>GL_COMPRESSED_RGBA_S3TC_DXT1_EXT</constant>,
<constant>COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT</constant>, <constant>GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT</constant>,
<constant>COMPRESSED_RED_RGTC1</constant>, <constant>GL_COMPRESSED_RED_RGTC1</constant>,
<constant>COMPRESSED_SIGNED_RED_RGTC1</constant></entry> <constant>GL_COMPRESSED_SIGNED_RED_RGTC1</constant></entry>
</row> </row>
</tbody> </tbody>
</tgroup> </tgroup>
@ -341,7 +341,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2012 Khronos Group. Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glCopyTexImage1D"> <refentry id="glCopyTexImage1D">
<refentryinfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glCopyTexImage1D</refentrytitle> <refentrytitle>glCopyTexImage1D</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -30,7 +30,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glCopyTexImage2D"> <refentry id="glCopyTexImage2D">
<refentryinfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glCopyTexImage2D</refentrytitle> <refentrytitle>glCopyTexImage2D</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -31,7 +31,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glCopyTexSubImage1D"> <refentry id="glCopyTexSubImage1D">
<refentryinfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glCopyTexSubImage1D</refentrytitle> <refentrytitle>glCopyTexSubImage1D</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -29,9 +29,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<para>
</para>
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glCopyTexSubImage2D"> <refentry id="glCopyTexSubImage2D">
<refentryinfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glCopyTexSubImage2D</refentrytitle> <refentrytitle>glCopyTexSubImage2D</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -31,9 +31,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<para>
</para>
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glCopyTexSubImage3D"> <refentry id="glCopyTexSubImage3D">
<refentryinfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glCopyTexSubImage3D</refentrytitle> <refentrytitle>glCopyTexSubImage3D</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -32,9 +32,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<para>
</para>
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>

View file

@ -1,115 +1,126 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glCreateProgram"> <refentry id="glCreateProgram">
<refentryinfo>
<copyright>
<year>2003-2005</year>
<holder>3Dlabs Inc. Ltd.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refentrytitle>glCreateProgram</refentrytitle> <refentrytitle>glCreateProgram</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
<refname>glCreateProgram</refname> <refname>glCreateProgram</refname>
<refpurpose>Creates a program object</refpurpose> <refpurpose>Creates a program object</refpurpose>
</refnamediv> </refnamediv>
<refsynopsisdiv><title>C Specification</title> <refsynopsisdiv><title>C Specification</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>
<funcdef>GLuint <function>glCreateProgram</function></funcdef> <funcdef>GLuint <function>glCreateProgram</function></funcdef>
<paramdef><parameter>void</parameter></paramdef> <paramdef><parameter>void</parameter></paramdef>
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<refsect1 id="description"><title>Description</title> <refsect1 id="description"><title>Description</title>
<para><function>glCreateProgram</function> creates an empty <para><function>glCreateProgram</function> creates an empty
program object and returns a non-zero value by which it can be program object and returns a non-zero value by which it can be
referenced. A program object is an object to which shader referenced. A program object is an object to which shader
objects can be attached. This provides a mechanism to specify objects can be attached. This provides a mechanism to specify
the shader objects that will be linked to create a program. It the shader objects that will be linked to create a program. It
also provides a means for checking the compatibility of the also provides a means for checking the compatibility of the
shaders that will be used to create a program (for instance, shaders that will be used to create a program (for instance,
checking the compatibility between a vertex shader and a checking the compatibility between a vertex shader and a
fragment shader). When no longer needed as part of a program fragment shader). When no longer needed as part of a program
object, shader objects can be detached.</para> object, shader objects can be detached.</para>
<para>One or more executables are created in a program object by <para>One or more executables are created in a program object by
successfully attaching shader objects to it with successfully attaching shader objects to it with
<citerefentry><refentrytitle>glAttachShader</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glAttachShader</refentrytitle></citerefentry>,
successfully compiling the shader objects with successfully compiling the shader objects with
<citerefentry><refentrytitle>glCompileShader</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glCompileShader</refentrytitle></citerefentry>,
and successfully linking the program object with and successfully linking the program object with
<citerefentry><refentrytitle>glLinkProgram</refentrytitle></citerefentry>. <citerefentry><refentrytitle>glLinkProgram</refentrytitle></citerefentry>.
These executables are made part of current state when These executables are made part of current state when
<citerefentry><refentrytitle>glUseProgram</refentrytitle></citerefentry> <citerefentry><refentrytitle>glUseProgram</refentrytitle></citerefentry>
is called. Program objects can be deleted by calling is called. Program objects can be deleted by calling
<citerefentry><refentrytitle>glDeleteProgram</refentrytitle></citerefentry>. <citerefentry><refentrytitle>glDeleteProgram</refentrytitle></citerefentry>.
The memory associated with the program object will be deleted The memory associated with the program object will be deleted
when it is no longer part of current rendering state for any when it is no longer part of current rendering state for any
context.</para> context.</para>
</refsect1> </refsect1>
<refsect1 id="notes"><title>Notes</title> <refsect1 id="notes"><title>Notes</title>
<para>Like buffer and texture objects, the name space for <para>Like buffer and texture objects, the name space for
program objects may be shared across a set of contexts, as long program objects may be shared across a set of contexts, as long
as the server sides of the contexts share the same address as the server sides of the contexts share the same address
space. If the name space is shared across contexts, any attached space. If the name space is shared across contexts, any attached
objects and the data associated with those attached objects are objects and the data associated with those attached objects are
shared as well.</para> shared as well.</para>
<para>Applications are responsible for providing the <para>Applications are responsible for providing the
synchronization across API calls when objects are accessed from synchronization across API calls when objects are accessed from
different execution threads.</para> different execution threads.</para>
</refsect1> </refsect1>
<refsect1 id="errors"><title>Errors</title> <refsect1 id="errors"><title>Errors</title>
<para>This function returns 0 if an error occurs creating the program object.</para> <para>This function returns 0 if an error occurs creating the program object.</para>
</refsect1> </refsect1>
<refsect1 id="associatedgets"><title>Associated Gets</title> <refsect1 id="associatedgets"><title>Associated Gets</title>
<para><citerefentry><refentrytitle>glGet</refentrytitle></citerefentry> <para><citerefentry><refentrytitle>glGet</refentrytitle></citerefentry>
with the argument <constant>GL_CURRENT_PROGRAM</constant></para> with the argument <constant>GL_CURRENT_PROGRAM</constant></para>
<para><citerefentry><refentrytitle>glGetActiveAttrib</refentrytitle></citerefentry> <para><citerefentry><refentrytitle>glGetActiveAttrib</refentrytitle></citerefentry>
with a valid program object and the index of an active attribute with a valid program object and the index of an active attribute
variable</para> variable</para>
<para><citerefentry><refentrytitle>glGetActiveUniform</refentrytitle></citerefentry> <para><citerefentry><refentrytitle>glGetActiveUniform</refentrytitle></citerefentry>
with a valid program object and the index of an active uniform with a valid program object and the index of an active uniform
variable</para> variable</para>
<para><citerefentry><refentrytitle>glGetAttachedShaders</refentrytitle></citerefentry> <para><citerefentry><refentrytitle>glGetAttachedShaders</refentrytitle></citerefentry>
with a valid program object</para> with a valid program object</para>
<para><citerefentry><refentrytitle>glGetAttribLocation</refentrytitle></citerefentry> <para><citerefentry><refentrytitle>glGetAttribLocation</refentrytitle></citerefentry>
with a valid program object and the name of an attribute with a valid program object and the name of an attribute
variable</para> variable</para>
<para><citerefentry><refentrytitle>glGetProgram</refentrytitle></citerefentry> <para><citerefentry><refentrytitle>glGetProgram</refentrytitle></citerefentry>
with a valid program object and the parameter to be queried</para> with a valid program object and the parameter to be queried</para>
<para><citerefentry><refentrytitle>glGetProgramInfoLog</refentrytitle></citerefentry> <para><citerefentry><refentrytitle>glGetProgramInfoLog</refentrytitle></citerefentry>
with a valid program object</para> with a valid program object</para>
<para><citerefentry><refentrytitle>glGetUniform</refentrytitle></citerefentry> <para><citerefentry><refentrytitle>glGetUniform</refentrytitle></citerefentry>
with a valid program object and the location of a uniform with a valid program object and the location of a uniform
variable</para> variable</para>
<para><citerefentry><refentrytitle>glGetUniformLocation</refentrytitle></citerefentry> <para><citerefentry><refentrytitle>glGetUniformLocation</refentrytitle></citerefentry>
with a valid program object and the name of a uniform with a valid program object and the name of a uniform
variable</para> variable</para>
<para><citerefentry><refentrytitle>glIsProgram</refentrytitle></citerefentry></para> <para><citerefentry><refentrytitle>glIsProgram</refentrytitle></citerefentry></para>
</refsect1> </refsect1>
<refsect1 id="seealso"><title>See Also</title> <refsect1 id="seealso"><title>See Also</title>
<para><citerefentry><refentrytitle>glAttachShader</refentrytitle></citerefentry>, <para><citerefentry><refentrytitle>glAttachShader</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glBindAttribLocation</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glBindAttribLocation</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glCreateShader</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glCreateShader</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glDeleteProgram</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glDeleteProgram</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glDetachShader</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glDetachShader</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glLinkProgram</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glLinkProgram</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glUniform</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glUniform</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glUseProgram</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glUseProgram</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glValidateProgram</refentrytitle></citerefentry></para> <citerefentry><refentrytitle>glValidateProgram</refentrytitle></citerefentry></para>
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2003-2005 3Dlabs Inc. Ltd. Copyright <trademark class="copyright"></trademark> 2003-2005 3Dlabs Inc. Ltd.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -1,112 +1,123 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glCreateShader"> <refentry id="glCreateShader">
<refentryinfo>
<copyright>
<year>2003-2005</year>
<holder>3Dlabs Inc. Ltd.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refentrytitle>glCreateShader</refentrytitle> <refentrytitle>glCreateShader</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
<refname>glCreateShader</refname> <refname>glCreateShader</refname>
<refpurpose>Creates a shader object</refpurpose> <refpurpose>Creates a shader object</refpurpose>
</refnamediv> </refnamediv>
<refsynopsisdiv><title>C Specification</title> <refsynopsisdiv><title>C Specification</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>
<funcdef>GLuint <function>glCreateShader</function></funcdef> <funcdef>GLuint <function>glCreateShader</function></funcdef>
<paramdef>GLenum <parameter>shaderType</parameter></paramdef> <paramdef>GLenum <parameter>shaderType</parameter></paramdef>
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><parameter>shaderType</parameter></term> <term><parameter>shaderType</parameter></term>
<listitem> <listitem>
<para>Specifies the type of shader to be created. <para>Specifies the type of shader to be created.
Must be one of <constant>GL_COMPUTE_SHADER</constant>, Must be one of <constant>GL_COMPUTE_SHADER</constant>,
<constant>GL_VERTEX_SHADER</constant>, <constant>GL_VERTEX_SHADER</constant>,
<constant>GL_TESS_CONTROL_SHADER</constant>, <constant>GL_TESS_CONTROL_SHADER</constant>,
<constant>GL_TESS_EVALUATION_SHADER</constant>, <constant>GL_TESS_EVALUATION_SHADER</constant>,
<constant>GL_GEOMETRY_SHADER</constant>, <constant>GL_GEOMETRY_SHADER</constant>,
or <constant>GL_FRAGMENT_SHADER</constant>.</para> or <constant>GL_FRAGMENT_SHADER</constant>.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
</variablelist> </variablelist>
</refsect1> </refsect1>
<refsect1 id="description"><title>Description</title> <refsect1 id="description"><title>Description</title>
<para><function>glCreateShader</function> creates an empty <para><function>glCreateShader</function> creates an empty
shader object and returns a non-zero value by which it can be shader object and returns a non-zero value by which it can be
referenced. A shader object is used to maintain the source code referenced. A shader object is used to maintain the source code
strings that define a shader. <parameter>shaderType</parameter> strings that define a shader. <parameter>shaderType</parameter>
indicates the type of shader to be created. Five types of shader indicates the type of shader to be created. Five types of shader
are supported. A shader of type are supported. A shader of type
<constant>GL_COMPUTE_SHADER</constant> is a shader that is <constant>GL_COMPUTE_SHADER</constant> is a shader that is
intended to run on the programmable compute processor. A shader of type intended to run on the programmable compute processor. A shader of type
<constant>GL_VERTEX_SHADER</constant> is a shader that is <constant>GL_VERTEX_SHADER</constant> is a shader that is
intended to run on the programmable vertex processor. intended to run on the programmable vertex processor.
A shader of type <constant>GL_TESS_CONTROL_SHADER</constant> is a shader that A shader of type <constant>GL_TESS_CONTROL_SHADER</constant> is a shader that
is intended to run on the programmable tessellation processor in the control stage. is intended to run on the programmable tessellation processor in the control stage.
A shader of type <constant>GL_TESS_EVALUATION_SHADER</constant> is a shader that A shader of type <constant>GL_TESS_EVALUATION_SHADER</constant> is a shader that
is intended to run on the programmable tessellation processor in the evaluation stage. is intended to run on the programmable tessellation processor in the evaluation stage.
A shader of type A shader of type
<constant>GL_GEOMETRY_SHADER</constant> is a shader that is intended to <constant>GL_GEOMETRY_SHADER</constant> is a shader that is intended to
run on the programmable geometry processor. A shader of run on the programmable geometry processor. A shader of
type <constant>GL_FRAGMENT_SHADER</constant> is a shader that is type <constant>GL_FRAGMENT_SHADER</constant> is a shader that is
intended to run on the programmable fragment processor.</para> intended to run on the programmable fragment processor.</para>
<para>When created, a shader object's <para>When created, a shader object's
<constant>GL_SHADER_TYPE</constant> parameter is set to either <constant>GL_SHADER_TYPE</constant> parameter is set to either
<constant>GL_COMPUTE_SHADER</constant>, <constant>GL_VERTEX_SHADER</constant>, <constant>GL_TESS_CONTROL_SHADER</constant>, <constant>GL_COMPUTE_SHADER</constant>, <constant>GL_VERTEX_SHADER</constant>, <constant>GL_TESS_CONTROL_SHADER</constant>,
<constant>GL_TESS_EVALUATION_SHADER</constant>, <constant>GL_GEOMETRY_SHADER</constant> <constant>GL_TESS_EVALUATION_SHADER</constant>, <constant>GL_GEOMETRY_SHADER</constant>
or <constant>GL_FRAGMENT_SHADER</constant>, depending on the value or <constant>GL_FRAGMENT_SHADER</constant>, depending on the value
of <parameter>shaderType</parameter>.</para> of <parameter>shaderType</parameter>.</para>
</refsect1> </refsect1>
<refsect1 id="notes"><title>Notes</title> <refsect1 id="notes"><title>Notes</title>
<para>Like buffer and texture objects, the name space for <para>Like buffer and texture objects, the name space for
shader objects may be shared across a set of contexts, as long shader objects may be shared across a set of contexts, as long
as the server sides of the contexts share the same address as the server sides of the contexts share the same address
space. If the name space is shared across contexts, any attached space. If the name space is shared across contexts, any attached
objects and the data associated with those attached objects are objects and the data associated with those attached objects are
shared as well.</para> shared as well.</para>
<para>Applications are responsible for providing the <para>Applications are responsible for providing the
synchronization across API calls when objects are accessed from synchronization across API calls when objects are accessed from
different execution threads.</para> different execution threads.</para>
<para><constant>GL_COMPUTE_SHADER</constant> is available only if the GL version is 4.3 or higher.</para> <para><constant>GL_COMPUTE_SHADER</constant> is available only if the GL version is 4.3 or higher.</para>
</refsect1> </refsect1>
<refsect1 id="errors"><title>Errors</title> <refsect1 id="errors"><title>Errors</title>
<para>This function returns 0 if an error occurs creating the <para>This function returns 0 if an error occurs creating the
shader object.</para> shader object.</para>
<para><constant>GL_INVALID_ENUM</constant> is generated if <para><constant>GL_INVALID_ENUM</constant> is generated if
<parameter>shaderType</parameter> is not an accepted value.</para> <parameter>shaderType</parameter> is not an accepted value.</para>
</refsect1> </refsect1>
<refsect1 id="associatedgets"><title>Associated Gets</title> <refsect1 id="associatedgets"><title>Associated Gets</title>
<para><citerefentry><refentrytitle>glGetShader</refentrytitle></citerefentry> <para><citerefentry><refentrytitle>glGetShader</refentrytitle></citerefentry>
with a valid shader object and the parameter to be queried</para> with a valid shader object and the parameter to be queried</para>
<para><citerefentry><refentrytitle>glGetShaderInfoLog</refentrytitle></citerefentry> <para><citerefentry><refentrytitle>glGetShaderInfoLog</refentrytitle></citerefentry>
with a valid shader object</para> with a valid shader object</para>
<para><citerefentry><refentrytitle>glGetShaderSource</refentrytitle></citerefentry> <para><citerefentry><refentrytitle>glGetShaderSource</refentrytitle></citerefentry>
with a valid shader object</para> with a valid shader object</para>
<para><citerefentry><refentrytitle>glIsShader</refentrytitle></citerefentry></para> <para><citerefentry><refentrytitle>glIsShader</refentrytitle></citerefentry></para>
</refsect1> </refsect1>
<refsect1 id="seealso"><title>See Also</title> <refsect1 id="seealso"><title>See Also</title>
<para><citerefentry><refentrytitle>glAttachShader</refentrytitle></citerefentry>, <para><citerefentry><refentrytitle>glAttachShader</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glCompileShader</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glCompileShader</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glDeleteShader</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glDeleteShader</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glDetachShader</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glDetachShader</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glShaderSource</refentrytitle></citerefentry> <citerefentry><refentrytitle>glShaderSource</refentrytitle></citerefentry>
</para> </para>
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2003-2005 3Dlabs Inc. Ltd. Copyright <trademark class="copyright"></trademark> 2003-2005 3Dlabs Inc. Ltd.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glCreateShaderProgram"> <refentry id="glCreateShaderProgram">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glCreateShaderProgram</refentrytitle> <refentrytitle>glCreateShaderProgram</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -63,14 +63,14 @@
<para> <para>
<function>glCreateShaderProgram</function> is equivalent (assuming no errors are generated) to: <function>glCreateShaderProgram</function> is equivalent (assuming no errors are generated) to:
</para> </para>
<programlisting><![CDATA[ const GLuint shader = glCreateShader(type); <programlisting> const GLuint shader = glCreateShader(type);
if (shader) { if (shader) {
glShaderSource(shader, count, strings, NULL); glShaderSource(shader, count, strings, NULL);
glCompileShader(shader); glCompileShader(shader);
const GLuint program = glCreateProgram(); const GLuint program = glCreateProgram();
if (program) { if (program) {
GLint compiled = GL_FALSE; GLint compiled = GL_FALSE;
glGetShaderiv(shader, GL_COMPILE_STATUS, &compiled); glGetShaderiv(shader, GL_COMPILE_STATUS, &amp;compiled);
glProgramParameteri(program, GL_PROGRAM_SEPARABLE, GL_TRUE); glProgramParameteri(program, GL_PROGRAM_SEPARABLE, GL_TRUE);
if (compiled) { if (compiled) {
glAttachShader(program, shader); glAttachShader(program, shader);
@ -83,7 +83,7 @@
return program; return program;
} else { } else {
return 0; return 0;
}]]></programlisting> }</programlisting>
<para> <para>
The program object created by <function>glCreateShaderProgram</function> has its <constant>GL_PROGRAM_SEPARABLE</constant> The program object created by <function>glCreateShaderProgram</function> has its <constant>GL_PROGRAM_SEPARABLE</constant>
status set to <constant>GL_TRUE</constant>. status set to <constant>GL_TRUE</constant>.
@ -115,7 +115,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010-2012 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glCullFace"> <refentry id="glCullFace">
<refentryinfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glCullFace</refentrytitle> <refentrytitle>glCullFace</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDebugMessageCallback"> <refentry id="glDebugMessageCallback">
<refentryinfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2012</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDebugMessageCallback</refentrytitle> <refentrytitle>glDebugMessageCallback</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -88,7 +88,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2012 Khronos Group. Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDebugMessageControl"> <refentry id="glDebugMessageControl">
<refentryinfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2012</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDebugMessageControl</refentrytitle> <refentrytitle>glDebugMessageControl</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -158,7 +158,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2012 Khronos Group. Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDebugMessageInsert"> <refentry id="glDebugMessageInsert">
<refentryinfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2012</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDebugMessageInsert</refentrytitle> <refentrytitle>glDebugMessageInsert</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -129,7 +129,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2012 Khronos Group. Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,17 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDeleteBuffers"> <refentry id="glDeleteBuffers">
<refentryinfo>
<copyright>
<year>2005</year>
<holder>Sams Publishing</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2005</year>
<holder>Sams Publishing</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDeleteBuffers</refentrytitle> <refentrytitle>glDeleteBuffers</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -78,6 +82,7 @@
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2005 Addison-Wesley. Copyright <trademark class="copyright"></trademark> 2005 Addison-Wesley.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDeleteFramebuffers"> <refentry id="glDeleteFramebuffers">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDeleteFramebuffers</refentrytitle> <refentrytitle>glDeleteFramebuffers</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -25,7 +25,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
@ -70,7 +69,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,23 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDeleteProgram"> <refentry id="glDeleteProgram">
<refentryinfo>
<copyright>
<year>2003-2005</year>
<holder>3Dlabs Inc. Ltd.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refentrytitle>glDeleteProgram</refentrytitle> <refentrytitle>glDeleteProgram</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
<refname>glDeleteProgram</refname> <refname>glDeleteProgram</refname>
<refpurpose>Deletes a program object</refpurpose> <refpurpose>Deletes a program object</refpurpose>
</refnamediv> </refnamediv>
<refsynopsisdiv><title>C Specification</title> <refsynopsisdiv><title>C Specification</title>
<funcsynopsis> <funcsynopsis>
@ -78,6 +88,7 @@
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2003-2005 3Dlabs Inc. Ltd. Copyright <trademark class="copyright"></trademark> 2003-2005 3Dlabs Inc. Ltd.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDeleteProgramPipelines"> <refentry id="glDeleteProgramPipelines">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group.</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDeleteProgramPipelines</refentrytitle> <refentrytitle>glDeleteProgramPipelines</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -25,7 +25,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
@ -71,7 +70,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,17 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDeleteQueries"> <refentry id="glDeleteQueries">
<refentryinfo>
<copyright>
<year>2005</year>
<holder>Sams Publishing</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2005</year>
<holder>Sams Publishing</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDeleteQueries</refentrytitle> <refentrytitle>glDeleteQueries</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -78,6 +82,7 @@
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2005 Addison-Wesley. Copyright <trademark class="copyright"></trademark> 2005 Addison-Wesley.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDeleteRenderbuffers"> <refentry id="glDeleteRenderbuffers">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDeleteRenderbuffers</refentrytitle> <refentrytitle>glDeleteRenderbuffers</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -25,7 +25,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
@ -78,7 +77,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDeleteSamplers"> <refentry id="glDeleteSamplers">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDeleteSamplers</refentrytitle> <refentrytitle>glDeleteSamplers</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -78,7 +78,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,23 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDeleteShader"> <refentry id="glDeleteShader">
<refentryinfo>
<copyright>
<year>2003-2005</year>
<holder>3Dlabs Inc. Ltd.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refentrytitle>glDeleteShader</refentrytitle> <refentrytitle>glDeleteShader</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
<refname>glDeleteShader</refname> <refname>glDeleteShader</refname>
<refpurpose>Deletes a shader object</refpurpose> <refpurpose>Deletes a shader object</refpurpose>
</refnamediv> </refnamediv>
<refsynopsisdiv><title>C Specification</title> <refsynopsisdiv><title>C Specification</title>
<funcsynopsis> <funcsynopsis>
@ -74,6 +84,7 @@
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2003-2005 3Dlabs Inc. Ltd. Copyright <trademark class="copyright"></trademark> 2003-2005 3Dlabs Inc. Ltd.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDeleteSync"> <refentry id="glDeleteSync">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDeleteSync</refentrytitle> <refentrytitle>glDeleteSync</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -24,7 +24,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
@ -72,7 +71,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDeleteTextures"> <refentry id="glDeleteTextures">
<refentryinfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDeleteTextures</refentrytitle> <refentrytitle>glDeleteTextures</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDeleteTransformFeedbacks"> <refentry id="glDeleteTransformFeedbacks">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group.</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDeleteTransformFeedbacks</refentrytitle> <refentrytitle>glDeleteTransformFeedbacks</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -25,7 +25,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
@ -73,7 +72,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDeleteVertexArrays"> <refentry id="glDeleteVertexArrays">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDeleteVertexArrays</refentrytitle> <refentrytitle>glDeleteVertexArrays</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -25,7 +25,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
@ -68,7 +67,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDepthFunc"> <refentry id="glDepthFunc">
<refentryinfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDepthFunc</refentrytitle> <refentrytitle>glDepthFunc</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>

View file

@ -2,13 +2,17 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDepthMask"> <refentry id="glDepthMask">
<refentryinfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDepthMask</refentrytitle> <refentrytitle>glDepthMask</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -72,10 +76,9 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 1991-2006 Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Silicon Graphics, Inc. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
Copyright <trademark class="copyright"></trademark> 2012 This document is licensed under the SGI
Khronos Group.
This document is licensed under the SGI This document is licensed under the SGI
Free Software B License. For details, see Free Software B License. For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>. <ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDepthRange"> <refentry id="glDepthRange">
<refentryinfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDepthRange</refentrytitle> <refentrytitle>glDepthRange</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -30,7 +30,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDepthRangeArray"> <refentry id="glDepthRangeArray">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDepthRangeArray</refentrytitle> <refentrytitle>glDepthRangeArray</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -26,7 +26,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
@ -153,7 +152,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDepthRangeIndexed"> <refentry id="glDepthRangeIndexed">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDepthRangeIndexed</refentrytitle> <refentrytitle>glDepthRangeIndexed</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -26,7 +26,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
@ -147,7 +146,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,23 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDetachShader"> <refentry id="glDetachShader">
<refentryinfo>
<copyright>
<year>2003-2005</year>
<holder>3Dlabs Inc. Ltd.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refentrytitle>glDetachShader</refentrytitle> <refentrytitle>glDetachShader</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
<refname>glDetachShader</refname> <refname>glDetachShader</refname>
<refpurpose>Detaches a shader object from a program object to which it is attached</refpurpose> <refpurpose>Detaches a shader object from a program object to which it is attached</refpurpose>
</refnamediv> </refnamediv>
<refsynopsisdiv><title>C Specification</title> <refsynopsisdiv><title>C Specification</title>
<funcsynopsis> <funcsynopsis>
@ -84,6 +94,7 @@
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2003-2005 3Dlabs Inc. Ltd. Copyright <trademark class="copyright"></trademark> 2003-2005 3Dlabs Inc. Ltd.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDispatchCompute"> <refentry id="glDispatchCompute">
<refentryinfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2012</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDispatchCompute</refentrytitle> <refentrytitle>glDispatchCompute</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -88,7 +88,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2012 Khronos Group. Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDispatchComputeIndirect"> <refentry id="glDispatchComputeIndirect">
<refentryinfo>
<copyright>
<year>2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2012</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDispatchComputeIndirect</refentrytitle> <refentrytitle>glDispatchComputeIndirect</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -63,8 +63,7 @@
A call to <function>glDispatchComputeIndirect</function> is equivalent, assuming no A call to <function>glDispatchComputeIndirect</function> is equivalent, assuming no
errors are generated, to: errors are generated, to:
<programlisting><![CDATA[ cmd = (const DispatchIndirectCommand *)indirect; <programlisting><![CDATA[ cmd = (const DispatchIndirectCommand *)indirect;
glDispatchComputeIndirect(cmd->num_groups_x, cmd->num_groups_y, cmd->num_groups_z); glDispatchComputeIndirect(cmd->num_groups_x, cmd->num_groups_y, cmd->num_groups_z);]]></programlisting>
}]]></programlisting>
</para> </para>
<para> <para>
Unlike <citerefentry><refentrytitle>glDispatchCompute</refentrytitle></citerefentry>, Unlike <citerefentry><refentrytitle>glDispatchCompute</refentrytitle></citerefentry>,
@ -103,7 +102,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2012 Khronos Group. Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDrawArrays"> <refentry id="glDrawArrays">
<refentryinfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDrawArrays</refentrytitle> <refentrytitle>glDrawArrays</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -26,7 +26,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDrawArraysIndirect"> <refentry id="glDrawArraysIndirect">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group.</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDrawArraysIndirect</refentrytitle> <refentrytitle>glDrawArraysIndirect</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -25,7 +25,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
@ -133,7 +132,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDrawArraysInstanced"> <refentry id="glDrawArraysInstanced">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDrawArraysInstanced</refentrytitle> <refentrytitle>glDrawArraysInstanced</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -113,7 +113,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDrawArraysInstancedBaseInstance"> <refentry id="glDrawArraysInstancedBaseInstance">
<refentryinfo>
<copyright>
<year>2011-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDrawArraysInstancedBaseInstance</refentrytitle> <refentrytitle>glDrawArraysInstancedBaseInstance</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -101,22 +101,26 @@
<citerefentry><refentrytitle>glVertexAttribDivisor</refentrytitle></citerefentry>. Instanced vertex attributes <citerefentry><refentrytitle>glVertexAttribDivisor</refentrytitle></citerefentry>. Instanced vertex attributes
supply per-instance vertex data to the vertex shader. The index of the vertex fetched from the enabled instanced vertex supply per-instance vertex data to the vertex shader. The index of the vertex fetched from the enabled instanced vertex
attribute arrays is calculated as: attribute arrays is calculated as:
<mml:math> <inlineequation>
<mml:mrow> <mml:math>
<mml:mfenced open = '&lfloor;' close = '&rfloor;'> <mml:mrow>
<mml:mfrac> <mml:mfenced open = '&lfloor;' close = '&rfloor;'>
<mml:mrow> <mml:mfrac>
<mml:mi>gl</mml:mi> <mml:mrow>
<mml:mo>_</mml:mo> <mml:mi>gl</mml:mi>
<mml:mi>InstanceID</mml:mi> <mml:mo>_</mml:mo>
</mml:mrow> <mml:mi>InstanceID</mml:mi>
<mml:mi>divisor</mml:mi> </mml:mrow>
</mml:mfrac> <mml:mi>divisor</mml:mi>
</mml:mfenced> </mml:mfrac>
<mml:mo lspace='2px' rspace='2px'>&plus;</mml:mo> </mml:mfenced>
<mml:mi>baseInstance</mml:mi> <mml:mo lspace='2px' rspace='2px'>&plus;</mml:mo>
</mml:mrow> <mml:mi>baseInstance</mml:mi>
</mml:math>. Note that <parameter>baseinstance</parameter> does not affect the shader-visible value of <constant>gl_InstanceID</constant>. </mml:mrow>
</mml:math>
</inlineequation>. Note that <parameter>baseinstance</parameter>
does not affect the shader-visible value of
<constant>gl_InstanceID</constant>.
</para> </para>
</refsect1> </refsect1>
<refsect1 id="errors"><title>Errors</title> <refsect1 id="errors"><title>Errors</title>
@ -144,7 +148,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2011 Khronos Group. Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDrawBuffer"> <refentry id="glDrawBuffer">
<refentryinfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDrawBuffer</refentrytitle> <refentrytitle>glDrawBuffer</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -24,7 +24,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>

View file

@ -2,13 +2,23 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDrawBuffers"> <refentry id="glDrawBuffers">
<refentryinfo>
<copyright>
<year>2003-2005</year>
<holder>3Dlabs Inc. Ltd.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refentrytitle>glDrawBuffers</refentrytitle> <refentrytitle>glDrawBuffers</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
<refname>glDrawBuffers</refname> <refname>glDrawBuffers</refname>
<refpurpose>Specifies a list of color buffers to be drawn into</refpurpose> <refpurpose>Specifies a list of color buffers to be drawn into</refpurpose>
</refnamediv> </refnamediv>
<refsynopsisdiv><title>C Specification</title> <refsynopsisdiv><title>C Specification</title>
<funcsynopsis> <funcsynopsis>
@ -91,7 +101,7 @@
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><constant>GL_COLOR_ATTACHMENT<emphasis>n</emphasis></constant></term> <term><constant>GL_COLOR_ATTACHMENT</constant><emphasis>n</emphasis></term>
<listitem> <listitem>
<para>The fragment shader output value is written into the <para>The fragment shader output value is written into the
<emphasis>n</emphasis>th color attachment of the current framebuffer. <emphasis>n</emphasis>th color attachment of the current framebuffer.
@ -132,13 +142,14 @@
<para><constant>GL_INVALID_ENUM</constant> is generated if the GL is bound <para><constant>GL_INVALID_ENUM</constant> is generated if the GL is bound
to the default framebuffer and one or more of the values in to the default framebuffer and one or more of the values in
<parameter>bufs</parameter> is one of the <constant>GL_COLOR_ATTACHMENT<emphasis>n</emphasis></constant> <parameter>bufs</parameter> is one of the
<constant>GL_COLOR_ATTACHMENT</constant><emphasis>n</emphasis>
tokens.</para> tokens.</para>
<para><constant>GL_INVALID_ENUM</constant> is generated if the GL is bound <para><constant>GL_INVALID_ENUM</constant> is generated if the GL is bound
to a framebuffer object and one or more of the values in <parameter>bufs</parameter> to a framebuffer object and one or more of the values in <parameter>bufs</parameter>
is anything other than <constant>GL_NONE</constant> or one of the is anything other than <constant>GL_NONE</constant> or one of the
<constant>GL_COLOR_ATTACHMENT<emphasis>n</emphasis></constant> tokens.</para> <constant>GL_COLOR_ATTACHMENT</constant><emphasis>n</emphasis> tokens.</para>
<para><constant>GL_INVALID_ENUM</constant> is generated if <para><constant>GL_INVALID_ENUM</constant> is generated if
<parameter>n</parameter> is less than 0.</para> <parameter>n</parameter> is less than 0.</para>
@ -162,8 +173,8 @@
with argument <constant>GL_MAX_DRAW_BUFFERS</constant></para> with argument <constant>GL_MAX_DRAW_BUFFERS</constant></para>
<para><citerefentry><refentrytitle>glGet</refentrytitle></citerefentry> <para><citerefentry><refentrytitle>glGet</refentrytitle></citerefentry>
with argument <constant>GL_DRAW_BUFFER<emphasis>i</emphasis></constant> where with argument <constant>GL_DRAW_BUFFER</constant><emphasis>i</emphasis> where
<code><emphasis>i</emphasis></code> indicates the number of the draw buffer <emphasis><code>i</code></emphasis> indicates the number of the draw buffer
whose value is to be queried</para> whose value is to be queried</para>
</refsect1> </refsect1>
<refsect1 id="seealso"><title>See Also</title> <refsect1 id="seealso"><title>See Also</title>
@ -176,6 +187,7 @@
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2003-2005 3Dlabs Inc. Ltd. Copyright <trademark class="copyright"></trademark> 2003-2005 3Dlabs Inc. Ltd.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDrawElements"> <refentry id="glDrawElements">
<refentryinfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDrawElements</refentrytitle> <refentrytitle>glDrawElements</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -27,7 +27,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDrawElementsBaseVertex"> <refentry id="glDrawElementsBaseVertex">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDrawElementsBaseVertex</refentrytitle> <refentrytitle>glDrawElementsBaseVertex</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -28,7 +28,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
@ -91,8 +90,12 @@
</para> </para>
</refsect1> </refsect1>
<refsect1 id="notes"><title>Notes</title> <refsect1 id="notes"><title>Notes</title>
<function>glDrawElementsBaseVertex</function> is only supported if the GL version is 3.2 or greater, or if <para>
the <code>ARB_draw_elements_base_vertex</code> extension is supported. <function>glDrawElementsBaseVertex</function> is only supported
if the GL version is 3.2 or greater, or if the
<code>ARB_draw_elements_base_vertex</code> extension is
supported.
</para>
</refsect1> </refsect1>
<refsect1 id="errors"><title>Errors</title> <refsect1 id="errors"><title>Errors</title>
<para> <para>
@ -121,7 +124,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

View file

@ -2,13 +2,13 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glDrawElementsIndirect"> <refentry id="glDrawElementsIndirect">
<refentryinfo>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group.</holder>
</copyright>
</refentryinfo>
<refmeta> <refmeta>
<refmetainfo>
<copyright>
<year>2010</year>
<holder>Khronos Group.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glDrawElementsIndirect</refentrytitle> <refentrytitle>glDrawElementsIndirect</refentrytitle>
<manvolnum>3G</manvolnum> <manvolnum>3G</manvolnum>
</refmeta> </refmeta>
@ -26,7 +26,6 @@
</funcprototype> </funcprototype>
</funcsynopsis> </funcsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title> <refsect1 id="parameters"><title>Parameters</title>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
@ -87,9 +86,11 @@
uint baseVertex; uint baseVertex;
uint baseInstance; uint baseInstance;
} DrawElementsIndirectCommand;]]></programlisting> } DrawElementsIndirectCommand;]]></programlisting>
</para>
<para> <para>
<function>glDrawElementsIndirect</function> is equivalent to: <function>glDrawElementsIndirect</function> is equivalent to:
</para> </para>
<para>
<programlisting><![CDATA[ void glDrawElementsIndirect(GLenum mode, GLenum type, const void * indirect) <programlisting><![CDATA[ void glDrawElementsIndirect(GLenum mode, GLenum type, const void * indirect)
{ {
const DrawElementsIndirectCommand *cmd = (const DrawElementsIndirectCommand *)indirect; const DrawElementsIndirectCommand *cmd = (const DrawElementsIndirectCommand *)indirect;
@ -162,7 +163,7 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999. the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>. <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.

Some files were not shown because too many files have changed in this diff Show more