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,8 +76,8 @@
</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>.
</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="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>
@ -33,10 +32,10 @@
<para> <para>
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>.
</para> </para>
</listitem> </listitem>
@ -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,22 +106,23 @@
</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.
This material may be distributed subject to the terms and conditions set forth in Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
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>.
</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="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,8 +112,8 @@
</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>.
</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="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,8 +204,8 @@
<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>.
</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="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,8 +231,8 @@
</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>.
</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="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,8 +183,8 @@
</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>.
</para> </para>

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>
@ -177,8 +187,9 @@
</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.
This material may be distributed subject to the terms and conditions set forth in Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
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>.
</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="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>
@ -87,13 +91,13 @@
</para> </para>
<para> <para>
While a non-zero buffer object name is bound, GL operations on the target to which it is While a non-zero buffer object name is bound, GL operations on the target to which it is
bound affect the bound buffer object, and queries of the target to which it is bound return state bound affect the bound buffer object, and queries of the target to which it is bound return state
from the bound buffer object. While buffer object name zero is bound, as in the initial state, from the bound buffer object. While buffer object name zero is bound, as in the initial state,
attempts to modify or query state on the target to which it is bound generates an attempts to modify or query state on the target to which it is bound generates an
<constant>GL_INVALID_OPERATION</constant> error. <constant>GL_INVALID_OPERATION</constant> error.
</para> </para>
<para> <para>
When a non-zero buffer object is bound to the <constant>GL_ARRAY_BUFFER</constant> target, When a non-zero buffer object is bound to the <constant>GL_ARRAY_BUFFER</constant> target,
the vertex array pointer parameter is interpreted as an offset within the the vertex array pointer parameter is interpreted as an offset within the
buffer object measured in basic machine units. buffer object measured in basic machine units.
</para> </para>
@ -109,26 +113,26 @@
are sourced from the specified offset in that buffer object's data store. are sourced from the specified offset in that buffer object's data store.
</para> </para>
<para> <para>
While a non-zero buffer object is bound to the <constant>GL_ELEMENT_ARRAY_BUFFER</constant> target, While a non-zero buffer object is bound to the <constant>GL_ELEMENT_ARRAY_BUFFER</constant> target,
the indices parameter of <citerefentry><refentrytitle>glDrawElements</refentrytitle></citerefentry>, the indices parameter of <citerefentry><refentrytitle>glDrawElements</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glDrawElementsInstanced</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glDrawElementsInstanced</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glDrawElementsBaseVertex</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glDrawElementsBaseVertex</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glDrawRangeElements</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glDrawRangeElements</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glDrawRangeElementsBaseVertex</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glDrawRangeElementsBaseVertex</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glMultiDrawElements</refentrytitle></citerefentry>, or <citerefentry><refentrytitle>glMultiDrawElements</refentrytitle></citerefentry>, or
<citerefentry><refentrytitle>glMultiDrawElementsBaseVertex</refentrytitle></citerefentry> is interpreted as an <citerefentry><refentrytitle>glMultiDrawElementsBaseVertex</refentrytitle></citerefentry> is interpreted as an
offset within the buffer object measured in basic machine units. offset within the buffer object measured in basic machine units.
</para> </para>
<para> <para>
While a non-zero buffer object is bound to the <constant>GL_PIXEL_PACK_BUFFER</constant> target, While a non-zero buffer object is bound to the <constant>GL_PIXEL_PACK_BUFFER</constant> target,
the following commands are affected: <citerefentry><refentrytitle>glGetCompressedTexImage</refentrytitle></citerefentry>, the following commands are affected: <citerefentry><refentrytitle>glGetCompressedTexImage</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetTexImage</refentrytitle></citerefentry>, and <citerefentry><refentrytitle>glGetTexImage</refentrytitle></citerefentry>, and
<citerefentry><refentrytitle>glReadPixels</refentrytitle></citerefentry>. The pointer parameter is <citerefentry><refentrytitle>glReadPixels</refentrytitle></citerefentry>. The pointer parameter is
interpreted as an offset within the buffer object measured in basic machine units. interpreted as an offset within the buffer object measured in basic machine units.
</para> </para>
<para> <para>
While a non-zero buffer object is bound to the <constant>GL_PIXEL_UNPACK_BUFFER</constant> target, While a non-zero buffer object is bound to the <constant>GL_PIXEL_UNPACK_BUFFER</constant> target,
the following commands are affected: the following commands are affected:
<citerefentry><refentrytitle>glCompressedTexImage1D</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glCompressedTexImage1D</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glCompressedTexImage2D</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glCompressedTexImage2D</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glCompressedTexImage3D</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glCompressedTexImage3D</refentrytitle></citerefentry>,
@ -139,8 +143,8 @@
<citerefentry><refentrytitle>glTexImage2D</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glTexImage2D</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glTexImage3D</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glTexImage3D</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glTexSubImage1D</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glTexSubImage1D</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glTexSubImage2D</refentrytitle></citerefentry>, and <citerefentry><refentrytitle>glTexSubImage2D</refentrytitle></citerefentry>, and
<citerefentry><refentrytitle>glTexSubImage3D</refentrytitle></citerefentry>. The pointer parameter is <citerefentry><refentrytitle>glTexSubImage3D</refentrytitle></citerefentry>. The pointer parameter is
interpreted as an offset within the buffer object measured in basic machine units. interpreted as an offset within the buffer object measured in basic machine units.
</para> </para>
<para> <para>
@ -259,7 +263,7 @@
<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. 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>.
</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="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,8 +109,8 @@
</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>.
</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="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,8 +134,8 @@
</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>.
</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="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>
@ -122,8 +122,8 @@
</para> </para>
</refsect1> <refsect1 id="Copyright"><title>Copyright</title> </refsect1> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2013 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>.
</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="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>
@ -135,8 +135,8 @@
</para> </para>
</refsect1> <refsect1 id="Copyright"><title>Copyright</title> </refsect1> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2013 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>.
</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="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,8 +118,8 @@
</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>.
</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="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,8 +146,8 @@
</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>.
</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="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,8 +323,8 @@
</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>.
</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="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,8 +76,8 @@
</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>.
</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="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,8 +94,8 @@
</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>.
</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="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>
@ -105,7 +109,7 @@
<para> <para>
While a texture is bound, GL operations on the target to which it is While a texture is bound, GL operations on the target to which it is
bound affect the bound texture, and queries of the target to which it bound affect the bound texture, and queries of the target to which it
is bound return state from the bound texture. is bound return state from the bound texture.
In effect, the texture targets become aliases for the textures currently In effect, the texture targets become aliases for the textures currently
bound to them, and the texture name zero refers to the default textures bound to them, and the texture name zero refers to the default textures
that were bound to them at initialization. that were bound to them at initialization.
@ -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,8 +102,8 @@
</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>.
</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="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>
@ -57,7 +56,7 @@
<para> <para>
The blend equations determine how a new pixel (the ''source'' color) The blend equations determine 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). This function sets both the RGB blend equation and the alpha color). This function sets both the RGB blend equation and the alpha
blend equation to a single equation. <function>glBlendEquationi</function> blend equation to a single equation. <function>glBlendEquationi</function>
specifies the blend equation for a single draw buffer whereas <function>glBlendEquation</function> specifies the blend equation for a single draw buffer whereas <function>glBlendEquation</function>
sets the blend equation for all draw buffers. sets the blend equation for all draw buffers.
@ -164,7 +163,7 @@
</mml:math></inlineequation>, </mml:math></inlineequation>,
respectively. respectively.
For these equations all color components are understood to have values For these equations all color components are understood to have values
in the range in the range
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: [0,1]: --> <!-- eqn: [0,1]: -->
<mml:mfenced open="[" close="]"> <mml:mfenced open="[" close="]">
@ -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>
@ -714,7 +713,7 @@
</informaltable> </informaltable>
</para> </para>
<para> <para>
The results of these equations are clamped to the range The results of these equations are clamped to the range
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: [0,1]: --> <!-- eqn: [0,1]: -->
<mml:mfenced open="[" close="]"> <mml:mfenced open="[" close="]">

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.
@ -176,7 +179,7 @@
</mml:math></inlineequation>, </mml:math></inlineequation>,
respectively. respectively.
For these equations all color components are understood to have values For these equations all color components are understood to have values
in the range in the range
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: [0,1]:--> <!-- eqn: [0,1]:-->
<mml:mfenced open="[" close="]"> <mml:mfenced open="[" close="]">
@ -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>
@ -726,7 +729,7 @@
</informaltable> </informaltable>
</para> </para>
<para> <para>
The results of these equations are clamped to the range The results of these equations are clamped to the range
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: [0,1]:--> <!-- eqn: [0,1]:-->
<mml:mfenced open="[" close="]"> <mml:mfenced open="[" close="]">
@ -783,8 +786,9 @@
</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.
This material may be distributed subject to the terms and conditions set forth in Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
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>.
</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="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
@ -298,7 +295,7 @@
</mml:mfenced> </mml:mfenced>
</mml:math></inlineequation>. </mml:math></inlineequation>.
The scale factors described in the table, The scale factors described in the table,
denoted denoted
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: ( f sub R , f sub G , f sub B , f sub A ): --> <!-- eqn: ( f sub R , f sub G , f sub B , f sub A ): -->
<mml:mfenced open="(" close=")"> <mml:mfenced open="(" close=")">
@ -317,7 +314,7 @@
</mml:mfenced> </mml:mfenced>
</mml:math></inlineequation>, </mml:math></inlineequation>,
represent either source or destination factors. represent either source or destination factors.
All scale factors have range All scale factors have range
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: [0,1]: --> <!-- eqn: [0,1]: -->
<mml:mfenced open="[" close="]"> <mml:mfenced open="[" close="]">
@ -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,
@ -1302,14 +1295,14 @@
For example, For example,
when <parameter>sfactor</parameter> is <constant>GL_SRC_ALPHA</constant>, when <parameter>sfactor</parameter> is <constant>GL_SRC_ALPHA</constant>,
<parameter>dfactor</parameter> is <constant>GL_ONE_MINUS_SRC_ALPHA</constant>, <parameter>dfactor</parameter> is <constant>GL_ONE_MINUS_SRC_ALPHA</constant>,
and and
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: A sub s: --> <!-- eqn: A sub s: -->
<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:math></inlineequation> </mml:math></inlineequation>
is equal to is equal to
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: k sub A: --> <!-- eqn: k sub A: -->
<mml:msub><mml:mi mathvariant="italic">k</mml:mi> <mml:msub><mml:mi mathvariant="italic">k</mml:mi>
@ -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>
@ -1403,7 +1394,7 @@
<refsect1 id="notes"><title>Notes</title> <refsect1 id="notes"><title>Notes</title>
<para> <para>
Incoming (source) alpha is correctly thought of as a material opacity, Incoming (source) alpha is correctly thought of as a material opacity,
ranging from 1.0 ranging from 1.0
(<inlineequation><mml:math> (<inlineequation><mml:math>
<!-- eqn: K sub A: --> <!-- eqn: K sub A: -->
<mml:msub><mml:mi mathvariant="italic">K</mml:mi> <mml:msub><mml:mi mathvariant="italic">K</mml:mi>

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
@ -288,7 +285,7 @@
</mml:msub> </mml:msub>
</mml:mfenced> </mml:mfenced>
</mml:math></inlineequation>. </mml:math></inlineequation>.
All scale factors have range All scale factors have range
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: [0,1]: --> <!-- eqn: [0,1]: -->
<mml:mfenced open="[" close="]"> <mml:mfenced open="[" close="]">
@ -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
@ -1372,7 +1365,7 @@
color values. However, a blend factor that should be equal to 1 is color values. However, a blend factor that should be equal to 1 is
guaranteed not to modify its multiplicand, and a blend factor equal to 0 guaranteed not to modify its multiplicand, and a blend factor equal to 0
reduces its multiplicand to 0. For example, when <parameter>srcRGB</parameter> is reduces its multiplicand to 0. For example, when <parameter>srcRGB</parameter> is
<constant>GL_SRC_ALPHA</constant>, <parameter>dstRGB</parameter> is <constant>GL_ONE_MINUS_SRC_ALPHA</constant>, and <constant>GL_SRC_ALPHA</constant>, <parameter>dstRGB</parameter> is <constant>GL_ONE_MINUS_SRC_ALPHA</constant>, and
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: A sub s: --> <!-- eqn: A sub s: -->
<mml:msub><mml:mi mathvariant="italic">A</mml:mi> <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
@ -1380,7 +1373,7 @@
</mml:msub> </mml:msub>
</mml:math></inlineequation> </mml:math></inlineequation>
is is
equal to equal to
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: k sub A: --> <!-- eqn: k sub A: -->
<mml:msub><mml:mi mathvariant="italic">k</mml:mi> <mml:msub><mml:mi mathvariant="italic">k</mml:mi>
@ -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>
@ -1447,7 +1438,7 @@
<refsect1 id="notes"><title>Notes</title> <refsect1 id="notes"><title>Notes</title>
<para> <para>
Incoming (source) alpha is correctly thought of as a material opacity, Incoming (source) alpha is correctly thought of as a material opacity,
ranging from 1.0 ranging from 1.0
(<inlineequation><mml:math> (<inlineequation><mml:math>
<!-- eqn: K sub A: --> <!-- eqn: K sub A: -->
<mml:msub><mml:mi mathvariant="italic">K</mml:mi> <mml:msub><mml:mi mathvariant="italic">K</mml:mi>

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>
@ -75,8 +78,8 @@
<listitem> <listitem>
<para> <para>
Specifies the expected usage pattern of the data store. The symbolic constant must be Specifies the expected usage pattern of the data store. The symbolic constant must be
<constant>GL_STREAM_DRAW</constant>, <constant>GL_STREAM_READ</constant>, <constant>GL_STREAM_COPY</constant>, <constant>GL_STREAM_DRAW</constant>, <constant>GL_STREAM_READ</constant>, <constant>GL_STREAM_COPY</constant>,
<constant>GL_STATIC_DRAW</constant>, <constant>GL_STATIC_READ</constant>, <constant>GL_STATIC_COPY</constant>, <constant>GL_STATIC_DRAW</constant>, <constant>GL_STATIC_READ</constant>, <constant>GL_STATIC_COPY</constant>,
<constant>GL_DYNAMIC_DRAW</constant>, <constant>GL_DYNAMIC_READ</constant>, or <constant>GL_DYNAMIC_COPY</constant>. <constant>GL_DYNAMIC_DRAW</constant>, <constant>GL_DYNAMIC_READ</constant>, or <constant>GL_DYNAMIC_COPY</constant>.
</para> </para>
</listitem> </listitem>
@ -88,15 +91,15 @@
<function>glBufferData</function> creates a new data store for the buffer object currently bound to <function>glBufferData</function> creates a new data store for the buffer object currently bound to
<parameter>target</parameter>. Any pre-existing data store is deleted. The new data store is created with the <parameter>target</parameter>. Any pre-existing data store is deleted. The new data store is created with the
specified <parameter>size</parameter> in bytes and <parameter>usage</parameter>. If <parameter>data</parameter> specified <parameter>size</parameter> in bytes and <parameter>usage</parameter>. If <parameter>data</parameter>
is not <constant>NULL</constant>, the data store is initialized with data from this pointer. In its initial is not <constant>NULL</constant>, the data store is initialized with data from this pointer. In its initial
state, the new data store is not mapped, it has a <constant>NULL</constant> mapped pointer, and its mapped access state, the new data store is not mapped, it has a <constant>NULL</constant> mapped pointer, and its mapped access
is <constant>GL_READ_WRITE</constant>. is <constant>GL_READ_WRITE</constant>.
</para> </para>
<para> <para>
<parameter>usage</parameter> is a hint to the GL implementation as to how a buffer object's data store will be <parameter>usage</parameter> is a hint to the GL implementation as to how a buffer object's data store will be
accessed. This enables the GL implementation to make more intelligent decisions that may significantly accessed. This enables the GL implementation to make more intelligent decisions that may significantly
impact buffer object performance. It does not, however, constrain the actual usage of the data store. impact buffer object performance. It does not, however, constrain the actual usage of the data store.
<parameter>usage</parameter> can be broken down into two parts: first, the frequency of access (modification <parameter>usage</parameter> can be broken down into two parts: first, the frequency of access (modification
and usage), and second, the nature of that access. The frequency of access may be one of these: and usage), and second, the nature of that access. The frequency of access may be one of these:
</para> </para>
<variablelist> <variablelist>
@ -142,7 +145,7 @@
<term>READ</term> <term>READ</term>
<listitem> <listitem>
<para> <para>
The data store contents are modified by reading data from the GL, and used to return that data The data store contents are modified by reading data from the GL, and used to return that data
when queried by the application. when queried by the application.
</para> </para>
</listitem> </listitem>
@ -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
@ -183,13 +186,13 @@
</refsect1> </refsect1>
<refsect1 id="errors"><title>Errors</title> <refsect1 id="errors"><title>Errors</title>
<para> <para>
<constant>GL_INVALID_ENUM</constant> is generated if <parameter>target</parameter> is not <constant>GL_INVALID_ENUM</constant> is generated if <parameter>target</parameter> is not
one of the accepted buffer targets. one of the accepted buffer targets.
</para> </para>
<para> <para>
<constant>GL_INVALID_ENUM</constant> is generated if <parameter>usage</parameter> is not <constant>GL_INVALID_ENUM</constant> is generated if <parameter>usage</parameter> is not
<constant>GL_STREAM_DRAW</constant>, <constant>GL_STREAM_READ</constant>, <constant>GL_STREAM_COPY</constant>, <constant>GL_STREAM_DRAW</constant>, <constant>GL_STREAM_READ</constant>, <constant>GL_STREAM_COPY</constant>,
<constant>GL_STATIC_DRAW</constant>, <constant>GL_STATIC_READ</constant>, <constant>GL_STATIC_COPY</constant>, <constant>GL_STATIC_DRAW</constant>, <constant>GL_STATIC_READ</constant>, <constant>GL_STATIC_COPY</constant>,
<constant>GL_DYNAMIC_DRAW</constant>, <constant>GL_DYNAMIC_READ</constant>, or <constant>GL_DYNAMIC_COPY</constant>. <constant>GL_DYNAMIC_DRAW</constant>, <constant>GL_DYNAMIC_READ</constant>, or <constant>GL_DYNAMIC_COPY</constant>.
</para> </para>
<para> <para>
@ -220,9 +223,9 @@
</refsect1> </refsect1>
<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>.
</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="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>
@ -82,7 +85,7 @@
</refsect1> </refsect1>
<refsect1 id="description"><title>Description</title> <refsect1 id="description"><title>Description</title>
<para> <para>
<function>glBufferSubData</function> redefines some or all of the data store for the buffer object currently <function>glBufferSubData</function> redefines some or all of the data store for the buffer object currently
bound to <parameter>target</parameter>. Data starting at byte offset <parameter>offset</parameter> and bound to <parameter>target</parameter>. Data starting at byte offset <parameter>offset</parameter> and
extending for <parameter>size</parameter> bytes is copied to the data store from the memory pointed to by extending for <parameter>size</parameter> bytes is copied to the data store from the memory pointed to by
<parameter>data</parameter>. An error is thrown if <parameter>offset</parameter> and <parameter>size</parameter> <parameter>data</parameter>. An error is thrown if <parameter>offset</parameter> and <parameter>size</parameter>
@ -97,15 +100,15 @@
</para> </para>
<para> <para>
Consider using multiple buffer objects to avoid stalling the rendering pipeline during data store updates. Consider using multiple buffer objects to avoid stalling the rendering pipeline during data store updates.
If any rendering in the pipeline makes reference to data in the buffer object being updated by If any rendering in the pipeline makes reference to data in the buffer object being updated by
<function>glBufferSubData</function>, especially from the specific region being updated, that rendering must <function>glBufferSubData</function>, especially from the specific region being updated, that rendering must
drain from the pipeline before the data store can be updated. drain from the pipeline before the data store can be updated.
</para> </para>
<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
@ -121,11 +124,11 @@
</refsect1> </refsect1>
<refsect1 id="errors"><title>Errors</title> <refsect1 id="errors"><title>Errors</title>
<para> <para>
<constant>GL_INVALID_ENUM</constant> is generated if <parameter>target</parameter> is not <constant>GL_INVALID_ENUM</constant> is generated if <parameter>target</parameter> is not
one of the accepted buffer targets. one of the accepted buffer targets.
</para> </para>
<para> <para>
<constant>GL_INVALID_VALUE</constant> is generated if <parameter>offset</parameter> or <constant>GL_INVALID_VALUE</constant> is generated if <parameter>offset</parameter> or
<parameter>size</parameter> is negative, or if together they define a region of memory <parameter>size</parameter> is negative, or if together they define a region of memory
that extends beyond the buffer object's allocated data store. that extends beyond the buffer object's allocated data store.
</para> </para>
@ -151,8 +154,9 @@
</refsect1> </refsect1>
<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.
This material may be distributed subject to the terms and conditions set forth in Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
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>.
</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="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,8 +70,8 @@
</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>.
</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="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>,
@ -122,7 +122,7 @@
</para> </para>
<para> <para>
<function>glClearBufferfi</function> may be used to clear the depth and stencil buffers. <parameter>buffer</parameter> must be <function>glClearBufferfi</function> may be used to clear the depth and stencil buffers. <parameter>buffer</parameter> must be
<constant>GL_DEPTH_STENCIL</constant> and <parameter>drawBuffer</parameter> must be zero. <parameter>depth</parameter> and <constant>GL_DEPTH_STENCIL</constant> and <parameter>drawBuffer</parameter> must be zero. <parameter>depth</parameter> and
<parameter>stencil</parameter> are the depth and stencil values, respectively. <parameter>stencil</parameter> are the depth and stencil values, respectively.
</para> </para>
<para> <para>
@ -161,8 +161,8 @@
</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>.
</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="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>
@ -50,7 +50,7 @@
green, green,
blue, blue,
and alpha values used by <citerefentry><refentrytitle>glClear</refentrytitle></citerefentry> to clear the color buffers. and alpha values used by <citerefentry><refentrytitle>glClear</refentrytitle></citerefentry> to clear the color buffers.
Values specified by <function>glClearColor</function> are clamped to the range Values specified by <function>glClearColor</function> are clamped to the range
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: [0,1]: --> <!-- eqn: [0,1]: -->
<mml:mfenced open="[" close="]"> <mml:mfenced open="[" close="]">

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>
@ -44,7 +44,7 @@
<refsect1 id="description"><title>Description</title> <refsect1 id="description"><title>Description</title>
<para> <para>
<function>glClearDepth</function> specifies the depth value used by <citerefentry><refentrytitle>glClear</refentrytitle></citerefentry> to clear the depth buffer. <function>glClearDepth</function> specifies the depth value used by <citerefentry><refentrytitle>glClear</refentrytitle></citerefentry> to clear the depth buffer.
Values specified by <function>glClearDepth</function> are clamped to the range Values specified by <function>glClearDepth</function> are clamped to the range
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: [0,1]: --> <!-- eqn: [0,1]: -->
<mml:mfenced open="[" close="]"> <mml:mfenced open="[" close="]">

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>
@ -41,7 +40,7 @@
<refsect1 id="description"><title>Description</title> <refsect1 id="description"><title>Description</title>
<para> <para>
<function>glClearStencil</function> specifies the index used by <citerefentry><refentrytitle>glClear</refentrytitle></citerefentry> to clear the stencil buffer. <function>glClearStencil</function> specifies the index used by <citerefentry><refentrytitle>glClear</refentrytitle></citerefentry> to clear the stencil buffer.
<parameter>s</parameter> is masked with <parameter>s</parameter> is masked with
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: 2 sup m - 1: --> <!-- eqn: 2 sup m - 1: -->
<mml:mrow> <mml:mrow>
@ -52,7 +51,7 @@
<mml:mn>1</mml:mn> <mml:mn>1</mml:mn>
</mml:mrow> </mml:mrow>
</mml:math></inlineequation>, </mml:math></inlineequation>,
where where
<inlineequation><mml:math><mml:mi mathvariant="italic">m</mml:mi></mml:math></inlineequation> <inlineequation><mml:math><mml:mi mathvariant="italic">m</mml:mi></mml:math></inlineequation>
is the number of bits in the stencil buffer. is the number of bits in the stencil buffer.
</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="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>
@ -75,8 +85,9 @@
</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.
This material may be distributed subject to the terms and conditions set forth in Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
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>.
</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="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>
@ -102,7 +101,7 @@
<para> <para>
<function>glCompressedTexSubImage1D</function> redefines a contiguous subregion of an existing one-dimensional <function>glCompressedTexSubImage1D</function> redefines a contiguous subregion of an existing one-dimensional
texture image. The texels referenced by <parameter>data</parameter> replace the portion of the texture image. The texels referenced by <parameter>data</parameter> replace the portion of the
existing texture array with x indices <parameter>xoffset</parameter> and existing texture array with x indices <parameter>xoffset</parameter> and
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: xoffset + width - 1: --> <!-- eqn: xoffset + width - 1: -->
<mml:mrow> <mml:mrow>
@ -127,7 +126,7 @@
compressed with <citerefentry><refentrytitle>glGetTexLevelParameter</refentrytitle></citerefentry>. compressed with <citerefentry><refentrytitle>glGetTexLevelParameter</refentrytitle></citerefentry>.
</para> </para>
<para> <para>
If a non-zero named buffer object is bound to the <constant>GL_PIXEL_UNPACK_BUFFER</constant> target If a non-zero named buffer object is bound to the <constant>GL_PIXEL_UNPACK_BUFFER</constant> target
(see <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>) while a texture image is (see <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>) while a texture image is
specified, <parameter>data</parameter> is treated as a byte offset into the buffer object's data store. specified, <parameter>data</parameter> is treated as a byte offset into the buffer object's data store.
</para> </para>
@ -159,7 +158,7 @@
</para> </para>
<para> <para>
<constant>GL_INVALID_OPERATION</constant> is generated if a non-zero buffer object name is bound to the <constant>GL_INVALID_OPERATION</constant> is generated if a non-zero buffer object name is bound to the
<constant>GL_PIXEL_UNPACK_BUFFER</constant> target and the data would be unpacked from the buffer <constant>GL_PIXEL_UNPACK_BUFFER</constant> target and the data would be unpacked from the buffer
object such that the memory reads required would exceed the data store size. object such that the memory reads required would exceed the data store size.
</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="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>
@ -126,7 +125,7 @@
<para> <para>
<function>glCompressedTexSubImage2D</function> redefines a contiguous subregion of an existing two-dimensional <function>glCompressedTexSubImage2D</function> redefines a contiguous subregion of an existing two-dimensional
texture image. The texels referenced by <parameter>data</parameter> replace the portion of the texture image. The texels referenced by <parameter>data</parameter> replace the portion of the
existing texture array with x indices <parameter>xoffset</parameter> and existing texture array with x indices <parameter>xoffset</parameter> and
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: xoffset + width - 1: --> <!-- eqn: xoffset + width - 1: -->
<mml:mrow> <mml:mrow>
@ -137,7 +136,7 @@
<mml:mn>1</mml:mn> <mml:mn>1</mml:mn>
</mml:mrow> </mml:mrow>
</mml:math></inlineequation>, </mml:math></inlineequation>,
and the y indices <parameter>yoffset</parameter> and and the y indices <parameter>yoffset</parameter> and
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: yoffset + height - 1: --> <!-- eqn: yoffset + height - 1: -->
<mml:mrow> <mml:mrow>
@ -148,7 +147,7 @@
<mml:mn>1</mml:mn> <mml:mn>1</mml:mn>
</mml:mrow> </mml:mrow>
</mml:math></inlineequation>, </mml:math></inlineequation>,
inclusive. inclusive.
This region may not include any texels This region may not include any texels
outside the range of the texture array as it was originally specified. It outside the range of the texture array as it was originally specified. It
is not an error to specify a subtexture with width of 0, but such a is not an error to specify a subtexture with width of 0, but such a
@ -163,7 +162,7 @@
compressed with <citerefentry><refentrytitle>glGetTexLevelParameter</refentrytitle></citerefentry>. compressed with <citerefentry><refentrytitle>glGetTexLevelParameter</refentrytitle></citerefentry>.
</para> </para>
<para> <para>
If a non-zero named buffer object is bound to the <constant>GL_PIXEL_UNPACK_BUFFER</constant> target If a non-zero named buffer object is bound to the <constant>GL_PIXEL_UNPACK_BUFFER</constant> target
(see <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>) while a texture image is (see <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>) while a texture image is
specified, <parameter>data</parameter> is treated as a byte offset into the buffer object's data store. specified, <parameter>data</parameter> is treated as a byte offset into the buffer object's data store.
</para> </para>
@ -194,7 +193,7 @@
</para> </para>
<para> <para>
<constant>GL_INVALID_OPERATION</constant> is generated if a non-zero buffer object name is bound to the <constant>GL_INVALID_OPERATION</constant> is generated if a non-zero buffer object name is bound to the
<constant>GL_PIXEL_UNPACK_BUFFER</constant> target and the data would be unpacked from the buffer <constant>GL_PIXEL_UNPACK_BUFFER</constant> target and the data would be unpacked from the buffer
object such that the memory reads required would exceed the data store size. object such that the memory reads required would exceed the data store size.
</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="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>
@ -177,7 +176,7 @@
compressed with <citerefentry><refentrytitle>glGetTexLevelParameter</refentrytitle></citerefentry>. compressed with <citerefentry><refentrytitle>glGetTexLevelParameter</refentrytitle></citerefentry>.
</para> </para>
<para> <para>
If a non-zero named buffer object is bound to the <constant>GL_PIXEL_UNPACK_BUFFER</constant> target If a non-zero named buffer object is bound to the <constant>GL_PIXEL_UNPACK_BUFFER</constant> target
(see <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>) while a texture image is (see <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>) while a texture image is
specified, <parameter>data</parameter> is treated as a byte offset into the buffer object's data store. specified, <parameter>data</parameter> is treated as a byte offset into the buffer object's data store.
</para> </para>
@ -208,7 +207,7 @@
</para> </para>
<para> <para>
<constant>GL_INVALID_OPERATION</constant> is generated if a non-zero buffer object name is bound to the <constant>GL_INVALID_OPERATION</constant> is generated if a non-zero buffer object name is bound to the
<constant>GL_PIXEL_UNPACK_BUFFER</constant> target and the data would be unpacked from the buffer <constant>GL_PIXEL_UNPACK_BUFFER</constant> target and the data would be unpacked from the buffer
object such that the memory reads required would exceed the data store size. object such that the memory reads required would exceed the data store size.
</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="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>
@ -140,8 +139,8 @@
</refsect1> </refsect1>
<refsect1 id="Copyright"><title>Copyright</title> <refsect1 id="Copyright"><title>Copyright</title>
<para> <para>
Copyright <trademark class="copyright"></trademark> 2010-2013 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>.
</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="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>
@ -89,7 +88,7 @@
<constant>GL_RGBA16</constant>, <constant>GL_RGBA16</constant>,
<constant>GL_SRGB</constant>, <constant>GL_SRGB</constant>,
<constant>GL_SRGB8</constant>, <constant>GL_SRGB8</constant>,
<constant>GL_SRGB_ALPHA</constant>, or <constant>GL_SRGB_ALPHA</constant>, or
<constant>GL_SRGB8_ALPHA8</constant>. <constant>GL_SRGB8_ALPHA8</constant>.
</para> </para>
</listitem> </listitem>
@ -129,7 +128,7 @@
<constant>GL_READ_BUFFER</constant>. <constant>GL_READ_BUFFER</constant>.
</para> </para>
<para> <para>
The screen-aligned pixel row with left corner at The screen-aligned pixel row with left corner at
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: (x, y): --> <!-- eqn: (x, y): -->
<mml:mfenced open="(" close=")"> <mml:mfenced open="(" close=")">
@ -137,7 +136,7 @@
<mml:mi mathvariant="italic">y</mml:mi> <mml:mi mathvariant="italic">y</mml:mi>
</mml:mfenced> </mml:mfenced>
</mml:math></inlineequation> </mml:math></inlineequation>
and with a length of and with a length of
<inlineequation><mml:math> <inlineequation><mml:math>
<mml:mi mathvariant="italic">width</mml:mi> <mml:mi mathvariant="italic">width</mml:mi>
</mml:math></inlineequation> </mml:math></inlineequation>
@ -149,7 +148,7 @@
The pixels in the row are processed exactly as if The pixels in the row are processed exactly as if
<citerefentry><refentrytitle>glReadPixels</refentrytitle></citerefentry> had been called, but the process stops just before <citerefentry><refentrytitle>glReadPixels</refentrytitle></citerefentry> had been called, but the process stops just before
final conversion. final conversion.
At this point all pixel component values are clamped to the range At this point all pixel component values are clamped to the range
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: [0,1]: --> <!-- eqn: [0,1]: -->
<mml:mfenced open="[" close="]"> <mml:mfenced open="[" close="]">
@ -161,7 +160,7 @@
array. array.
</para> </para>
<para> <para>
Pixel ordering is such that lower Pixel ordering is such that lower
<inlineequation><mml:math><mml:mi mathvariant="italic">x</mml:mi></mml:math></inlineequation> <inlineequation><mml:math><mml:mi mathvariant="italic">x</mml:mi></mml:math></inlineequation>
screen coordinates correspond to screen coordinates correspond to
lower texture coordinates. lower texture coordinates.
@ -200,7 +199,7 @@
</para> </para>
<para> <para>
<constant>GL_INVALID_VALUE</constant> may be generated if <parameter>level</parameter> is greater <constant>GL_INVALID_VALUE</constant> may be generated if <parameter>level</parameter> is greater
than than
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: log sub 2 max: --> <!-- eqn: log sub 2 max: -->
<mml:mrow> <mml:mrow>

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>
@ -96,7 +95,7 @@
<constant>GL_RGBA16</constant>, <constant>GL_RGBA16</constant>,
<constant>GL_SRGB</constant>, <constant>GL_SRGB</constant>,
<constant>GL_SRGB8</constant>, <constant>GL_SRGB8</constant>,
<constant>GL_SRGB_ALPHA</constant>, or <constant>GL_SRGB_ALPHA</constant>, or
<constant>GL_SRGB8_ALPHA8</constant>. <constant>GL_SRGB8_ALPHA8</constant>.
</para> </para>
</listitem> </listitem>
@ -145,7 +144,7 @@
</para> </para>
<para> <para>
The screen-aligned pixel rectangle with lower left corner at (<parameter>x</parameter>, The screen-aligned pixel rectangle with lower left corner at (<parameter>x</parameter>,
<parameter>y</parameter>) and with a width of <parameter>y</parameter>) and with a width of
<inlineequation><mml:math> <inlineequation><mml:math>
<mml:mi mathvariant="italic">width</mml:mi> <mml:mi mathvariant="italic">width</mml:mi>
</mml:math></inlineequation> </mml:math></inlineequation>
@ -161,7 +160,7 @@
The pixels in the rectangle are processed exactly as if The pixels in the rectangle are processed exactly as if
<citerefentry><refentrytitle>glReadPixels</refentrytitle></citerefentry> had been called, but the process stops just before <citerefentry><refentrytitle>glReadPixels</refentrytitle></citerefentry> had been called, but the process stops just before
final conversion. final conversion.
At this point all pixel component values are clamped to the range At this point all pixel component values are clamped to the range
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: [0,1]: --> <!-- eqn: [0,1]: -->
<mml:mfenced open="[" close="]"> <mml:mfenced open="[" close="]">
@ -173,14 +172,14 @@
array. array.
</para> </para>
<para> <para>
Pixel ordering is such that lower Pixel ordering is such that lower
<inlineequation><mml:math><mml:mi mathvariant="italic">x</mml:mi></mml:math></inlineequation> <inlineequation><mml:math><mml:mi mathvariant="italic">x</mml:mi></mml:math></inlineequation>
and and
<inlineequation><mml:math><mml:mi mathvariant="italic">y</mml:mi></mml:math></inlineequation> <inlineequation><mml:math><mml:mi mathvariant="italic">y</mml:mi></mml:math></inlineequation>
screen coordinates correspond to screen coordinates correspond to
lower lower
<inlineequation><mml:math><mml:mi mathvariant="italic">s</mml:mi></mml:math></inlineequation> <inlineequation><mml:math><mml:mi mathvariant="italic">s</mml:mi></mml:math></inlineequation>
and and
<inlineequation><mml:math><mml:mi mathvariant="italic">t</mml:mi></mml:math></inlineequation> <inlineequation><mml:math><mml:mi mathvariant="italic">t</mml:mi></mml:math></inlineequation>
texture coordinates. texture coordinates.
</para> </para>
@ -220,7 +219,7 @@
</para> </para>
<para> <para>
<constant>GL_INVALID_VALUE</constant> may be generated if <parameter>level</parameter> is greater <constant>GL_INVALID_VALUE</constant> may be generated if <parameter>level</parameter> is greater
than than
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: log sub 2 max: --> <!-- eqn: log sub 2 max: -->
<mml:mrow> <mml:mrow>
@ -231,7 +230,7 @@
<mml:mi mathvariant="italic">max</mml:mi> <mml:mi mathvariant="italic">max</mml:mi>
</mml:mrow> </mml:mrow>
</mml:math></inlineequation>, </mml:math></inlineequation>,
where where
<inlineequation><mml:math><mml:mi mathvariant="italic">max</mml:mi></mml:math></inlineequation> <inlineequation><mml:math><mml:mi mathvariant="italic">max</mml:mi></mml:math></inlineequation>
is the returned value of <constant>GL_MAX_TEXTURE_SIZE</constant>. is the returned value of <constant>GL_MAX_TEXTURE_SIZE</constant>.
</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="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>
@ -90,7 +87,7 @@
<para> <para>
The screen-aligned pixel row with left corner at (<parameter>x</parameter>,\ <parameter>y</parameter>), and with The screen-aligned pixel row with left corner at (<parameter>x</parameter>,\ <parameter>y</parameter>), and with
length <parameter>width</parameter> replaces the portion of the length <parameter>width</parameter> replaces the portion of the
texture array with x indices <parameter>xoffset</parameter> through texture array with x indices <parameter>xoffset</parameter> through
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: xoffset + width - 1: --> <!-- eqn: xoffset + width - 1: -->
<mml:mrow> <mml:mrow>
@ -109,7 +106,7 @@
The pixels in the row are processed exactly as if The pixels in the row are processed exactly as if
<citerefentry><refentrytitle>glReadPixels</refentrytitle></citerefentry> had been called, but the process stops just before <citerefentry><refentrytitle>glReadPixels</refentrytitle></citerefentry> had been called, but the process stops just before
final conversion. final conversion.
At this point, all pixel component values are clamped to the range At this point, all pixel component values are clamped to the range
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: [0,1]: --> <!-- eqn: [0,1]: -->
<mml:mfenced open="[" close="]"> <mml:mfenced open="[" close="]">
@ -149,7 +146,7 @@
<constant>GL_INVALID_VALUE</constant> is generated if <parameter>level</parameter> is less than 0. <constant>GL_INVALID_VALUE</constant> is generated if <parameter>level</parameter> is less than 0.
</para> </para>
<para> <para>
<constant>GL_INVALID_VALUE</constant> may be generated if <constant>GL_INVALID_VALUE</constant> may be generated if
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: level > log sub 2(max): --> <!-- eqn: level > log sub 2(max): -->
<mml:mrow> <mml:mrow>
@ -169,7 +166,7 @@
where <emphasis>max</emphasis> is the returned value of <constant>GL_MAX_TEXTURE_SIZE</constant>. where <emphasis>max</emphasis> is the returned value of <constant>GL_MAX_TEXTURE_SIZE</constant>.
</para> </para>
<para> <para>
<constant>GL_INVALID_VALUE</constant> is generated if <constant>GL_INVALID_VALUE</constant> is generated if
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: xoffset < -b: --> <!-- eqn: xoffset < -b: -->
<mml:mrow> <mml:mrow>
@ -193,7 +190,7 @@
<mml:mi mathvariant="italic">w</mml:mi> <mml:mi mathvariant="italic">w</mml:mi>
</mml:mrow> </mml:mrow>
</mml:math></inlineequation>, </mml:math></inlineequation>,
where where
<inlineequation><mml:math><mml:mi mathvariant="italic">w</mml:mi></mml:math></inlineequation> <inlineequation><mml:math><mml:mi mathvariant="italic">w</mml:mi></mml:math></inlineequation>
is the <constant>GL_TEXTURE_WIDTH</constant> is the <constant>GL_TEXTURE_WIDTH</constant>
of the texture image being modified. of the texture image being modified.

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>
@ -124,7 +121,7 @@
</mml:math></inlineequation> </mml:math></inlineequation>
and with and with
width <parameter>width</parameter> and height <parameter>height</parameter> replaces the portion of the width <parameter>width</parameter> and height <parameter>height</parameter> replaces the portion of the
texture array with x indices <parameter>xoffset</parameter> through texture array with x indices <parameter>xoffset</parameter> through
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: xoffset + width - 1: --> <!-- eqn: xoffset + width - 1: -->
<mml:mrow> <mml:mrow>
@ -135,7 +132,7 @@
<mml:mn>1</mml:mn> <mml:mn>1</mml:mn>
</mml:mrow> </mml:mrow>
</mml:math></inlineequation>, </mml:math></inlineequation>,
inclusive, and y indices <parameter>yoffset</parameter> through inclusive, and y indices <parameter>yoffset</parameter> through
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: yoffset + height - 1: --> <!-- eqn: yoffset + height - 1: -->
<mml:mrow> <mml:mrow>
@ -152,7 +149,7 @@
The pixels in the rectangle are processed exactly as if The pixels in the rectangle are processed exactly as if
<citerefentry><refentrytitle>glReadPixels</refentrytitle></citerefentry> had been called, but the process stops just before <citerefentry><refentrytitle>glReadPixels</refentrytitle></citerefentry> had been called, but the process stops just before
final conversion. final conversion.
At this point, all pixel component values are clamped to the range At this point, all pixel component values are clamped to the range
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: [0,1]: --> <!-- eqn: [0,1]: -->
<mml:mfenced open="[" close="]"> <mml:mfenced open="[" close="]">
@ -209,7 +206,7 @@
<constant>GL_INVALID_VALUE</constant> is generated if <parameter>level</parameter> is less than 0. <constant>GL_INVALID_VALUE</constant> is generated if <parameter>level</parameter> is less than 0.
</para> </para>
<para> <para>
<constant>GL_INVALID_VALUE</constant> may be generated if <constant>GL_INVALID_VALUE</constant> may be generated if
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: level > log sub 2(max): --> <!-- eqn: level > log sub 2(max): -->
<mml:mrow> <mml:mrow>
@ -226,12 +223,12 @@
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></inlineequation>, </mml:math></inlineequation>,
where where
<inlineequation><mml:math><mml:mi mathvariant="italic">max</mml:mi></mml:math></inlineequation> <inlineequation><mml:math><mml:mi mathvariant="italic">max</mml:mi></mml:math></inlineequation>
is the returned value of <constant>GL_MAX_TEXTURE_SIZE</constant>. is the returned value of <constant>GL_MAX_TEXTURE_SIZE</constant>.
</para> </para>
<para> <para>
<constant>GL_INVALID_VALUE</constant> is generated if <constant>GL_INVALID_VALUE</constant> is generated if
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: xoffset < -b: --> <!-- eqn: xoffset < -b: -->
<mml:mrow> <mml:mrow>
@ -277,7 +274,7 @@
<mml:mn>0</mml:mn> <mml:mn>0</mml:mn>
</mml:mrow> </mml:mrow>
</mml:math></inlineequation>, </mml:math></inlineequation>,
where where
<inlineequation><mml:math><mml:mi mathvariant="italic">w</mml:mi></mml:math></inlineequation> <inlineequation><mml:math><mml:mi mathvariant="italic">w</mml:mi></mml:math></inlineequation>
is the <constant>GL_TEXTURE_WIDTH</constant>, is the <constant>GL_TEXTURE_WIDTH</constant>,
<inlineequation><mml:math><mml:mi mathvariant="italic">h</mml:mi></mml:math></inlineequation> <inlineequation><mml:math><mml:mi mathvariant="italic">h</mml:mi></mml:math></inlineequation>

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>
@ -118,7 +115,7 @@
The screen-aligned pixel rectangle with lower left corner at The screen-aligned pixel rectangle with lower left corner at
(<parameter>x</parameter>, <parameter>y</parameter>) and with (<parameter>x</parameter>, <parameter>y</parameter>) and with
width <parameter>width</parameter> and height <parameter>height</parameter> replaces the portion of the width <parameter>width</parameter> and height <parameter>height</parameter> replaces the portion of the
texture array with x indices <parameter>xoffset</parameter> through texture array with x indices <parameter>xoffset</parameter> through
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: xoffset + width - 1: --> <!-- eqn: xoffset + width - 1: -->
<mml:mrow> <mml:mrow>
@ -129,7 +126,7 @@
<mml:mn>1</mml:mn> <mml:mn>1</mml:mn>
</mml:mrow> </mml:mrow>
</mml:math></inlineequation>, </mml:math></inlineequation>,
inclusive, and y indices <parameter>yoffset</parameter> through inclusive, and y indices <parameter>yoffset</parameter> through
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: yoffset + height - 1: --> <!-- eqn: yoffset + height - 1: -->
<mml:mrow> <mml:mrow>
@ -146,7 +143,7 @@
The pixels in the rectangle are processed exactly as if The pixels in the rectangle are processed exactly as if
<citerefentry><refentrytitle>glReadPixels</refentrytitle></citerefentry> had been called, but the process stops just before <citerefentry><refentrytitle>glReadPixels</refentrytitle></citerefentry> had been called, but the process stops just before
final conversion. final conversion.
At this point, all pixel component values are clamped to the range At this point, all pixel component values are clamped to the range
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: [0,1]: --> <!-- eqn: [0,1]: -->
<mml:mfenced open="[" close="]"> <mml:mfenced open="[" close="]">
@ -191,7 +188,7 @@
<constant>GL_INVALID_VALUE</constant> is generated if <parameter>level</parameter> is less than 0. <constant>GL_INVALID_VALUE</constant> is generated if <parameter>level</parameter> is less than 0.
</para> </para>
<para> <para>
<constant>GL_INVALID_VALUE</constant> may be generated if <constant>GL_INVALID_VALUE</constant> may be generated if
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: level > log sub 2(max): --> <!-- eqn: level > log sub 2(max): -->
<mml:mrow> <mml:mrow>
@ -208,14 +205,14 @@
</mml:mrow> </mml:mrow>
</mml:mrow> </mml:mrow>
</mml:math></inlineequation>, </mml:math></inlineequation>,
where where
<inlineequation><mml:math><mml:mi mathvariant="italic">max</mml:mi></mml:math></inlineequation> <inlineequation><mml:math><mml:mi mathvariant="italic">max</mml:mi></mml:math></inlineequation>
is the returned value of <constant>GL_MAX_3D_TEXTURE_SIZE</constant> if <parameter>target</parameter> is the returned value of <constant>GL_MAX_3D_TEXTURE_SIZE</constant> if <parameter>target</parameter>
is <constant>GL_TEXTURE_3D</constant> or the returned value of <constant>GL_MAX_ARRAY_TEXTURE_LAYERS</constant> is <constant>GL_TEXTURE_3D</constant> or the returned value of <constant>GL_MAX_ARRAY_TEXTURE_LAYERS</constant>
if <parameter>target</parameter> is <constant>GL_TEXTURE_2D_ARRAY</constant>. if <parameter>target</parameter> is <constant>GL_TEXTURE_2D_ARRAY</constant>.
</para> </para>
<para> <para>
<constant>GL_INVALID_VALUE</constant> is generated if <constant>GL_INVALID_VALUE</constant> is generated if
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: xoffset < -b: --> <!-- eqn: xoffset < -b: -->
<mml:mrow> <mml:mrow>
@ -268,7 +265,7 @@
<mml:mn>0</mml:mn> <mml:mn>0</mml:mn>
</mml:mrow> </mml:mrow>
</mml:math></inlineequation>, </mml:math></inlineequation>,
or or
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: (zoffset + 1) > (d - b): --> <!-- eqn: (zoffset + 1) > (d - b): -->
<mml:mrow> <mml:mrow>
@ -283,7 +280,7 @@
<mml:mi mathvariant="italic">d</mml:mi> <mml:mi mathvariant="italic">d</mml:mi>
</mml:mrow> </mml:mrow>
</mml:math></inlineequation>, </mml:math></inlineequation>,
where where
<inlineequation><mml:math><mml:mi mathvariant="italic">w</mml:mi></mml:math></inlineequation> <inlineequation><mml:math><mml:mi mathvariant="italic">w</mml:mi></mml:math></inlineequation>
is the <constant>GL_TEXTURE_WIDTH</constant>, is the <constant>GL_TEXTURE_WIDTH</constant>,
<inlineequation><mml:math><mml:mi mathvariant="italic">h</mml:mi></mml:math></inlineequation> <inlineequation><mml:math><mml:mi mathvariant="italic">h</mml:mi></mml:math></inlineequation>
@ -291,10 +288,10 @@
<inlineequation><mml:math><mml:mi mathvariant="italic">d</mml:mi></mml:math></inlineequation> <inlineequation><mml:math><mml:mi mathvariant="italic">d</mml:mi></mml:math></inlineequation>
is the <constant>GL_TEXTURE_DEPTH</constant> and is the <constant>GL_TEXTURE_DEPTH</constant> and
of the texture image being modified. of the texture image being modified.
Note that Note that
<inlineequation><mml:math><mml:mi mathvariant="italic">w</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>, <inlineequation><mml:math><mml:mi mathvariant="italic">h</mml:mi></mml:math></inlineequation>,
and and
<inlineequation><mml:math><mml:mi mathvariant="italic">d</mml:mi></mml:math></inlineequation> <inlineequation><mml:math><mml:mi mathvariant="italic">d</mml:mi></mml:math></inlineequation>
include twice the border width. include twice the border width.
</para> </para>

View file

@ -1,116 +1,127 @@
<?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.
This material may be distributed subject to the terms and conditions set forth in Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
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>.
</para> </para>

View file

@ -1,113 +1,124 @@
<?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.
This material may be distributed subject to the terms and conditions set forth in Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
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>.
</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="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,8 +115,8 @@
</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>.
</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="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>
@ -77,8 +81,9 @@
</refsect1> </refsect1>
<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.
This material may be distributed subject to the terms and conditions set forth in Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
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>.
</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="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,8 +69,8 @@
</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>.
</para> </para>

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>
@ -77,8 +87,9 @@
</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.
This material may be distributed subject to the terms and conditions set forth in Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
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>.
</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="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,8 +70,8 @@
</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>.
</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="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>
@ -77,8 +81,9 @@
</refsect1> </refsect1>
<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.
This material may be distributed subject to the terms and conditions set forth in Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
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>.
</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="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,8 +77,8 @@
</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>.
</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="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,8 +78,8 @@
</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>.
</para> </para>

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>
@ -73,8 +83,9 @@
</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.
This material may be distributed subject to the terms and conditions set forth in Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
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>.
</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="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,8 +71,8 @@
</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>.
</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="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,8 +72,8 @@
</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>.
</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="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,8 +67,8 @@
</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>.
</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="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>
@ -56,7 +55,7 @@
<refsect1 id="description"><title>Description</title> <refsect1 id="description"><title>Description</title>
<para> <para>
After clipping and division by <emphasis>w</emphasis>, After clipping and division by <emphasis>w</emphasis>,
depth coordinates range from depth coordinates range from
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: -1: --> <!-- eqn: -1: -->
<mml:mn>-1</mml:mn> <mml:mn>-1</mml:mn>
@ -82,7 +81,7 @@
<refsect1 id="notes"><title>Notes</title> <refsect1 id="notes"><title>Notes</title>
<para> <para>
It is not necessary that <parameter>nearVal</parameter> be less than <parameter>farVal</parameter>. It is not necessary that <parameter>nearVal</parameter> be less than <parameter>farVal</parameter>.
Reverse mappings such as Reverse mappings such as
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: nearVal = 1: --> <!-- eqn: nearVal = 1: -->
<mml:mrow> <mml:mrow>
@ -91,7 +90,7 @@
<mml:mn>1</mml:mn> <mml:mn>1</mml:mn>
</mml:mrow> </mml:mrow>
</mml:math></inlineequation>, </mml:math></inlineequation>,
and and
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: farVal = 0: --> <!-- eqn: farVal = 0: -->
<mml:mrow> <mml:mrow>

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>
@ -59,7 +58,7 @@
<refsect1 id="description"><title>Description</title> <refsect1 id="description"><title>Description</title>
<para> <para>
After clipping and division by <emphasis>w</emphasis>, After clipping and division by <emphasis>w</emphasis>,
depth coordinates range from depth coordinates range from
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: -1: --> <!-- eqn: -1: -->
<mml:mn>-1</mml:mn> <mml:mn>-1</mml:mn>
@ -97,7 +96,7 @@
<refsect1 id="notes"><title>Notes</title> <refsect1 id="notes"><title>Notes</title>
<para> <para>
It is not necessary that the near plane distance be less than the far plane distance. It is not necessary that the near plane distance be less than the far plane distance.
Reverse mappings such as Reverse mappings such as
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: nearVal = 1: --> <!-- eqn: nearVal = 1: -->
<mml:mrow> <mml:mrow>
@ -106,7 +105,7 @@
<mml:mn>1</mml:mn> <mml:mn>1</mml:mn>
</mml:mrow> </mml:mrow>
</mml:math></inlineequation>, </mml:math></inlineequation>,
and and
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: farVal = 0: --> <!-- eqn: farVal = 0: -->
<mml:mrow> <mml:mrow>
@ -153,8 +152,8 @@
</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>.
</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="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>
@ -60,7 +59,7 @@
<refsect1 id="description"><title>Description</title> <refsect1 id="description"><title>Description</title>
<para> <para>
After clipping and division by <emphasis>w</emphasis>, After clipping and division by <emphasis>w</emphasis>,
depth coordinates range from depth coordinates range from
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: -1: --> <!-- eqn: -1: -->
<mml:mn>-1</mml:mn> <mml:mn>-1</mml:mn>
@ -94,7 +93,7 @@
<refsect1 id="notes"><title>Notes</title> <refsect1 id="notes"><title>Notes</title>
<para> <para>
It is not necessary that the near plane distance be less than the far plane distance. It is not necessary that the near plane distance be less than the far plane distance.
Reverse mappings such as Reverse mappings such as
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: nearVal = 1: --> <!-- eqn: nearVal = 1: -->
<mml:mrow> <mml:mrow>
@ -103,7 +102,7 @@
<mml:mn>1</mml:mn> <mml:mn>1</mml:mn>
</mml:mrow> </mml:mrow>
</mml:math></inlineequation>, </mml:math></inlineequation>,
and and
<inlineequation><mml:math> <inlineequation><mml:math>
<!-- eqn: farVal = 0: --> <!-- eqn: farVal = 0: -->
<mml:mrow> <mml:mrow>
@ -147,8 +146,8 @@
</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>.
</para> </para>

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>
@ -83,8 +93,9 @@
</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.
This material may be distributed subject to the terms and conditions set forth in Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
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>.
</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="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,8 +132,8 @@
</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>.
</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="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>
@ -90,7 +90,7 @@
</refsect1> </refsect1>
<refsect1 id="errors"><title>Errors</title> <refsect1 id="errors"><title>Errors</title>
<para> <para>
<constant>GL_INVALID_ENUM</constant> is generated if <parameter>mode</parameter> is not one of <constant>GL_INVALID_ENUM</constant> is generated if <parameter>mode</parameter> is not one of
the accepted values. the accepted values.
</para> </para>
<para> <para>
@ -113,8 +113,8 @@
</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>.
</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="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,27 +101,31 @@
<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>
<para> <para>
<constant>GL_INVALID_ENUM</constant> is generated if <parameter>mode</parameter> is not one of <constant>GL_INVALID_ENUM</constant> is generated if <parameter>mode</parameter> is not one of
the accepted values. the accepted values.
</para> </para>
<para> <para>
@ -144,8 +148,8 @@
</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>.
</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="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>
@ -42,7 +41,7 @@
<constant>GL_BACK</constant>, <constant>GL_BACK</constant>,
<constant>GL_LEFT</constant>, <constant>GL_LEFT</constant>,
<constant>GL_RIGHT</constant>, and <constant>GL_RIGHT</constant>, and
<constant>GL_FRONT_AND_BACK</constant> <constant>GL_FRONT_AND_BACK</constant>
are accepted. are accepted.
The initial value is <constant>GL_FRONT</constant> for single-buffered contexts, The initial value is <constant>GL_FRONT</constant> for single-buffered contexts,
and <constant>GL_BACK</constant> for double-buffered contexts. and <constant>GL_BACK</constant> for double-buffered contexts.

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.
@ -129,16 +139,17 @@
<para><constant>GL_INVALID_ENUM</constant> is generated if one of the <para><constant>GL_INVALID_ENUM</constant> is generated if one of the
values in <parameter>bufs</parameter> is not an accepted values in <parameter>bufs</parameter> is not an accepted
value.</para> value.</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 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>
@ -175,8 +186,9 @@
</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.
This material may be distributed subject to the terms and conditions set forth in Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
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>.
</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="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,8 +124,8 @@
</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>.
</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="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,8 +163,8 @@
</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>.
</para> </para>

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