Updated OpenGL documentation to Khronos r24522

This commit is contained in:
Stefanos A 2013-12-15 22:32:32 +01:00
parent 14d815dc8b
commit 78acd27c4c
137 changed files with 2705 additions and 2516 deletions

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glActiveTexture</refentrytitle>
@ -31,12 +35,15 @@
<listitem>
<para>
Specifies which texture unit to make active. The number
of texture units is implementation dependent, but must be at least
80. <parameter>texture</parameter> must be one of
of texture units is implementation dependent, but must
be at least 80. <parameter>texture</parameter> must be
one of
<constant>GL_TEXTURE</constant><emphasis>i</emphasis>,
where
<emphasis>i</emphasis> ranges from 0 (<constant>GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS</constant> - 1).
The initial value is <constant>GL_TEXTURE0</constant>.
where <emphasis>i</emphasis> ranges from zero to the value
of
<constant>GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS</constant>
minus one. The initial value is
<constant>GL_TEXTURE0</constant>.
</para>
</listitem>
</varlistentry>
@ -51,9 +58,12 @@
</refsect1>
<refsect1 id="errors"><title>Errors</title>
<para>
<constant>GL_INVALID_ENUM</constant> is generated if <parameter>texture</parameter> is not one of
<constant>GL_TEXTURE</constant><emphasis>i</emphasis>,
where <emphasis>i</emphasis> ranges from 0 to (<constant>GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS</constant> - 1).
<constant>GL_INVALID_ENUM</constant> is generated if
<parameter>texture</parameter> is not one of
<constant>GL_TEXTURE</constant><emphasis>i</emphasis>, where
<emphasis>i</emphasis> ranges from zero to the value of
<constant>GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS</constant> minus
one.
</para>
</refsect1>
<refsect1 id="associatedgets"><title>Associated Gets</title>
@ -91,9 +101,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -55,45 +55,49 @@
<citerefentry><refentrytitle>glDrawArrays</refentrytitle></citerefentry> must match those specified
in the following table:
</para>
<informaltable frame="topbot">
<informaltable>
<tgroup cols="2" align="left">
<colspec colwidth="1.1*" />
<colspec colwidth="1*" />
<thead>
<row>
<entry rowsep="1" align="left"><emphasis role="bold">
Transform Feedback <parameter>primitiveMode</parameter>
</emphasis></entry>
<entry rowsep="1" align="left"><emphasis role="bold">
Allowed Render Primitive <parameter>modes</parameter>
</emphasis></entry>
<entry>
<emphasis role="bold">
Transform Feedback <parameter>primitiveMode</parameter>
</emphasis>
</entry>
<entry>
<emphasis role="bold">
Allowed Render Primitive <parameter>modes</parameter>
</emphasis>
</entry>
</row>
</thead>
<tbody>
<row>
<entry align="left">
<constant>GL_POINTS</constant>
</entry>
<entry align="left">
<constant>GL_POINTS</constant>
<entry> <constant>GL_POINTS</constant> </entry>
<entry> <constant>GL_POINTS</constant> </entry>
</row>
<row>
<entry> <constant>GL_LINES</constant> </entry>
<entry>
<constant>GL_LINES</constant>,
<constant>GL_LINE_LOOP</constant>,
<constant>GL_LINE_STRIP</constant>,
<constant>GL_LINES_ADJACENCY</constant>,
<constant>GL_LINE_STRIP_ADJACENCY</constant>
</entry>
</row>
<row>
<entry align="left">
<constant>GL_LINES</constant>
<entry>
<constant>GL_TRIANGLES</constant>
</entry>
<entry align="left">
<constant>GL_LINES</constant>, <constant>GL_LINE_LOOP</constant>, <constant>GL_LINE_STRIP</constant>,
<constant>GL_LINES_ADJACENCY</constant>, <constant>GL_LINE_STRIP_ADJACENCY</constant>
</entry>
</row>
<row>
<entry align="left">
<constant>GL_TRIANGLES</constant>
</entry>
<entry align="left">
<constant>GL_TRIANGLES</constant>, <constant>GL_TRIANGLE_STRIP</constant>, <constant>GL_TRIANGLE_FAN</constant>,
<constant>GL_TRIANGLES_ADJACENCY</constant>, <constant>GL_TRIANGLE_STRIP_ADJACENCY</constant>
<entry>
<constant>GL_TRIANGLES</constant>,
<constant>GL_TRIANGLE_STRIP</constant>,
<constant>GL_TRIANGLE_FAN</constant>,
<constant>GL_TRIANGLES_ADJACENCY</constant>,
<constant>GL_TRIANGLE_STRIP_ADJACENCY</constant>
</entry>
</row>
</tbody>
@ -102,49 +106,41 @@
<para>
If a geometry shader is present, the output primitive type from the geometry shader must match those
provided in the following table:
<informaltable frame="topbot">
</para>
<informaltable>
<tgroup cols="2" align="left">
<colspec colwidth="1.1*" />
<colspec colwidth="1*" />
<thead>
<row>
<entry rowsep="1" align="left"><emphasis role="bold">
Transform Feedback <parameter>primitiveMode</parameter>
</emphasis></entry>
<entry rowsep="1" align="left"><emphasis role="bold">
Allowed Geometry Shader Output Primitive Type
</emphasis></entry>
<entry>
<emphasis role="bold">
Transform Feedback <parameter>primitiveMode</parameter>
</emphasis>
</entry>
<entry>
<emphasis role="bold">
Allowed Geometry Shader Output Primitive Type
</emphasis>
</entry>
</row>
</thead>
<tbody>
<row>
<entry align="left">
<constant>GL_POINTS</constant>
</entry>
<entry align="left">
<constant>points</constant>
</entry>
<entry> <constant>GL_POINTS</constant> </entry>
<entry> <constant>points</constant> </entry>
</row>
<row>
<entry align="left">
<constant>GL_LINES</constant>
</entry>
<entry align="left">
<constant>line_strip</constant>
</entry>
<entry> <constant>GL_LINES</constant> </entry>
<entry> <constant>line_strip</constant> </entry>
</row>
<row>
<entry align="left">
<constant>GL_TRIANGLES</constant>
</entry>
<entry align="left">
<constant>triangle_strip</constant>
</entry>
<entry> <constant>GL_TRIANGLES</constant> </entry>
<entry> <constant>triangle_strip</constant> </entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
<refsect1 id="notes"><title>Notes</title>
<para>

View file

@ -84,8 +84,8 @@
<para>This command makes it possible for vertex shaders to use
descriptive names for attribute variables rather than generic
variables that are numbered from 0 to
<constant>GL_MAX_VERTEX_ATTRIBS</constant> -1. The values sent
variables that are numbered from zero to the value of
<constant>GL_MAX_VERTEX_ATTRIBS</constant> minus one. The values sent
to each generic attribute index are part of current state.
If a different program object is made current by calling
<citerefentry><refentrytitle>glUseProgram</refentrytitle></citerefentry>,

View file

@ -190,7 +190,7 @@
<constant>GL_TEXTURE_BUFFER</constant> targets are available only if the GL version is 3.1 or greater.
</para>
<para>
The <constant>GL_ATOMIC_COUNTER_BUFER</constant> target is available only if the GL version is 4.2 or greater.
The <constant>GL_ATOMIC_COUNTER_BUFFER</constant> target is available only if the GL version is 4.2 or greater.
</para>
<para>
The <constant>GL_DISPATCH_INDIRECT_BUFFER</constant> and <constant>GL_SHADER_STORAGE_BUFFER</constant> targets are available only if the GL version is 4.3 or greater.

View file

@ -76,7 +76,7 @@
zero and <parameter>size</parameter> equal to the size of the buffer.
</para>
<para>
The <constant>GL_ATOMIC_COUNTER_BUFER</constant> target is available only if the GL version is 4.2 or greater.
The <constant>GL_ATOMIC_COUNTER_BUFFER</constant> target is available only if the GL version is 4.2 or greater.
</para>
<para>
The <constant>GL_SHADER_STORAGE_BUFFER</constant> target is available only if the GL version is 4.3 or greater.

View file

@ -95,7 +95,7 @@
</refsect1>
<refsect1 id="notes"><title>Notes</title>
<para>
The <constant>GL_ATOMIC_COUNTER_BUFER</constant> target is available only if the GL version is 4.2 or greater.
The <constant>GL_ATOMIC_COUNTER_BUFFER</constant> target is available only if the GL version is 4.2 or greater.
</para>
<para>
The <constant>GL_SHADER_STORAGE_BUFFER</constant> target is available only if the GL version is 4.3 or greater.

View file

@ -19,7 +19,7 @@
<refsynopsisdiv><title>C Specification</title>
<funcsynopsis>
<funcprototype>
<funcdef>void <function>glBindBufferBase</function></funcdef>
<funcdef>void <function>glBindBuffersBase</function></funcdef>
<paramdef>GLenum <parameter>target</parameter></paramdef>
<paramdef>GLuint <parameter>first</parameter></paramdef>
<paramdef>GLsizei <parameter>count</parameter></paramdef>

View file

@ -120,137 +120,177 @@
be one of the formats listed in the following table.
</para>
<para>
<table frame="topbot"><title>Internal Image Formats</title>
<table>
<title>Internal Image Formats</title>
<tgroup cols="2" align="left">
<colspec align="left"/>
<colspec align="left"/>
<colspec/>
<colspec/>
<thead>
<row>
<entry rowsep="1" align="left"><emphasis role="bold">
Image Unit Format
</emphasis></entry>
<entry rowsep="1" align="left"><emphasis role="bold">
Format Qualifier
</emphasis></entry>
<entry>
<emphasis role="bold"> Image Unit Format </emphasis>
</entry>
<entry>
<emphasis role="bold"> Format Qualifier </emphasis>
</entry>
</row>
</thead>
<tbody>
<row>
<entry><constant>GL_RGBA32F</constant></entry><entry><code>rgba32f</code></entry>
<entry><constant>GL_RGBA32F</constant></entry>
<entry><code>rgba32f</code></entry>
</row>
<row>
<entry><constant>GL_RGBA16F</constant></entry><entry><code>rgba16f</code></entry>
<entry><constant>GL_RGBA16F</constant></entry>
<entry><code>rgba16f</code></entry>
</row>
<row>
<entry><constant>GL_RG32F</constant></entry><entry><code>rg32f</code></entry>
<entry><constant>GL_RG32F</constant></entry>
<entry><code>rg32f</code></entry>
</row>
<row>
<entry><constant>GL_RG16F</constant></entry><entry><code>rg16f</code></entry>
<entry><constant>GL_RG16F</constant></entry>
<entry><code>rg16f</code></entry>
</row>
<row>
<entry><constant>GL_R11F_G11F_B10F</constant></entry><entry><code>r11f_g11f_b10f</code></entry>
<entry><constant>GL_R11F_G11F_B10F</constant></entry>
<entry><code>r11f_g11f_b10f</code></entry>
</row>
<row>
<entry><constant>GL_R32F</constant></entry><entry><code>r32f</code></entry>
<entry><constant>GL_R32F</constant></entry>
<entry><code>r32f</code></entry>
</row>
<row>
<entry><constant>GL_R16F</constant></entry><entry><code>r16f</code></entry>
<entry><constant>GL_R16F</constant></entry>
<entry><code>r16f</code></entry>
</row>
<row>
<entry><constant>GL_RGBA32UI</constant></entry><entry><code>rgba32ui</code></entry>
<entry><constant>GL_RGBA32UI</constant></entry>
<entry><code>rgba32ui</code></entry>
</row>
<row>
<entry><constant>GL_RGBA16UI</constant></entry><entry><code>rgba16ui</code></entry>
<entry><constant>GL_RGBA16UI</constant></entry>
<entry><code>rgba16ui</code></entry>
</row>
<row>
<entry><constant>GL_RGB10_A2UI</constant></entry><entry><code>rgb10_a2ui</code></entry>
<entry><constant>GL_RGB10_A2UI</constant></entry>
<entry><code>rgb10_a2ui</code></entry>
</row>
<row>
<entry><constant>GL_RGBA8UI</constant></entry><entry><code>rgba8ui</code></entry>
<entry><constant>GL_RGBA8UI</constant></entry>
<entry><code>rgba8ui</code></entry>
</row>
<row>
<entry><constant>GL_RG32UI</constant></entry><entry><code>rg32ui</code></entry>
<entry><constant>GL_RG32UI</constant></entry>
<entry><code>rg32ui</code></entry>
</row>
<row>
<entry><constant>GL_RG16UI</constant></entry><entry><code>rg16ui</code></entry>
<entry><constant>GL_RG16UI</constant></entry>
<entry><code>rg16ui</code></entry>
</row>
<row>
<entry><constant>GL_RG8UI</constant></entry><entry><code>rg8ui</code></entry>
<entry><constant>GL_RG8UI</constant></entry>
<entry><code>rg8ui</code></entry>
</row>
<row>
<entry><constant>GL_R32UI</constant></entry><entry><code>r32ui</code></entry>
<entry><constant>GL_R32UI</constant></entry>
<entry><code>r32ui</code></entry>
</row>
<row>
<entry><constant>GL_R16UI</constant></entry><entry><code>r16ui</code></entry>
<entry><constant>GL_R16UI</constant></entry>
<entry><code>r16ui</code></entry>
</row>
<row>
<entry><constant>GL_R8UI</constant></entry><entry><code>r8ui</code></entry>
<entry><constant>GL_R8UI</constant></entry>
<entry><code>r8ui</code></entry>
</row>
<row>
<entry><constant>GL_RGBA32I</constant></entry><entry><code>rgba32i</code></entry>
<entry><constant>GL_RGBA32I</constant></entry>
<entry><code>rgba32i</code></entry>
</row>
<row>
<entry><constant>GL_RGBA16I</constant></entry><entry><code>rgba16i</code></entry>
<entry><constant>GL_RGBA16I</constant></entry>
<entry><code>rgba16i</code></entry>
</row>
<row>
<entry><constant>GL_RGBA8I</constant></entry><entry><code>rgba8i</code></entry>
<entry><constant>GL_RGBA8I</constant></entry>
<entry><code>rgba8i</code></entry>
</row>
<row>
<entry><constant>GL_RG32I</constant></entry><entry><code>rg32i</code></entry>
<entry><constant>GL_RG32I</constant></entry>
<entry><code>rg32i</code></entry>
</row>
<row>
<entry><constant>GL_RG16I</constant></entry><entry><code>rg16i</code></entry>
<entry><constant>GL_RG16I</constant></entry>
<entry><code>rg16i</code></entry>
</row>
<row>
<entry><constant>GL_RG8I</constant></entry><entry><code>rg8i</code></entry>
<entry><constant>GL_RG8I</constant></entry>
<entry><code>rg8i</code></entry>
</row>
<row>
<entry><constant>GL_R32I</constant></entry><entry><code>r32i</code></entry>
<entry><constant>GL_R32I</constant></entry>
<entry><code>r32i</code></entry>
</row>
<row>
<entry><constant>GL_R16I</constant></entry><entry><code>r16i</code></entry>
<entry><constant>GL_R16I</constant></entry>
<entry><code>r16i</code></entry>
</row>
<row>
<entry><constant>GL_R8I</constant></entry><entry><code>r8i</code></entry>
<entry><constant>GL_R8I</constant></entry>
<entry><code>r8i</code></entry>
</row>
<row>
<entry><constant>GL_RGBA16</constant></entry><entry><code>rgba16</code></entry>
<entry><constant>GL_RGBA16</constant></entry>
<entry><code>rgba16</code></entry>
</row>
<row>
<entry><constant>GL_RGB10_A2</constant></entry><entry><code>rgb10_a2</code></entry>
<entry><constant>GL_RGB10_A2</constant></entry>
<entry><code>rgb10_a2</code></entry>
</row>
<row>
<entry><constant>GL_RGBA8</constant></entry><entry><code>rgba8</code></entry>
<entry><constant>GL_RGBA8</constant></entry>
<entry><code>rgba8</code></entry>
</row>
<row>
<entry><constant>GL_RG16</constant></entry><entry><code>rg16</code></entry>
<entry><constant>GL_RG16</constant></entry>
<entry><code>rg16</code></entry>
</row>
<row>
<entry><constant>GL_RG8</constant></entry><entry><code>rg8</code></entry>
<entry><constant>GL_RG8</constant></entry>
<entry><code>rg8</code></entry>
</row>
<row>
<entry><constant>GL_R16</constant></entry><entry><code>r16</code></entry>
<entry><constant>GL_R16</constant></entry>
<entry><code>r16</code></entry>
</row>
<row>
<entry><constant>GL_R8</constant></entry><entry><code>r8</code></entry>
<entry><constant>GL_R8</constant></entry>
<entry><code>r8</code></entry>
</row>
<row>
<entry><constant>GL_RGBA16_SNORM</constant></entry><entry><code>rgba16_snorm</code></entry>
<entry><constant>GL_RGBA16_SNORM</constant></entry>
<entry><code>rgba16_snorm</code></entry>
</row>
<row>
<entry><constant>GL_RGBA8_SNORM</constant></entry><entry><code>rgba8_snorm</code></entry>
<entry><constant>GL_RGBA8_SNORM</constant></entry>
<entry><code>rgba8_snorm</code></entry>
</row>
<row>
<entry><constant>GL_RG16_SNORM</constant></entry><entry><code>rg16_snorm</code></entry>
<entry><constant>GL_RG16_SNORM</constant></entry>
<entry><code>rg16_snorm</code></entry>
</row>
<row>
<entry><constant>GL_RG8_SNORM</constant></entry><entry><code>rg8_snorm</code></entry>
<entry><constant>GL_RG8_SNORM</constant></entry>
<entry><code>rg8_snorm</code></entry>
</row>
<row>
<entry><constant>GL_R16_SNORM</constant></entry><entry><code>r16_snorm</code></entry>
<entry><constant>GL_R16_SNORM</constant></entry>
<entry><code>r16_snorm</code></entry>
</row>
<row>
<entry><constant>GL_R8_SNORM</constant></entry><entry><code>r8_snorm</code></entry>
<entry><constant>GL_R8_SNORM</constant></entry>
<entry><code>r8_snorm</code></entry>
</row>
</tbody>
</tgroup>

View file

@ -61,7 +61,7 @@
objects whose names are stored in the array <parameter>textures</parameter>. That number
of texture names are read from the array and bound to the <parameter>count</parameter> consecutive
texture units starting from <parameter>first</parameter>.
If the name zero appears in the <parameter>textures</parameter> array, any existing binding
to the image unit is reset. Any non-zero entry in <parameter>textures</parameter> must be the
name of an existing texture object. When a non-zero entry in <parameter>textures</parameter> is
@ -69,8 +69,8 @@
layer set to zero, and the image is bound for read-write access. The image unit format
parameter is taken from the internal format of the image at level zero of the texture object.
For cube map textures, the internal format of the positive X image of level zero is used.
If <parameter>textures</parameter> is <constant>NULL</constant> then it is as
if an appropriately sized array containing only zeros had been specified.
</para>
@ -152,7 +152,7 @@
<refsect1 id="Copyright"><title>Copyright</title>
<para>
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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -123,7 +123,7 @@
<refsect1 id="Copyright"><title>Copyright</title>
<para>
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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -148,7 +148,7 @@
<refsect1 id="Copyright"><title>Copyright</title>
<para>
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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -107,8 +107,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
Copyright <trademark class="copyright"></trademark> 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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -143,7 +143,7 @@
<refsect1 id="Copyright"><title>Copyright</title>
<para>
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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glBlendColor</refentrytitle>
@ -84,9 +88,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glBlendEquation</refentrytitle>
@ -172,30 +176,30 @@
</mml:mfenced>
</mml:math></inlineequation>.
<informaltable frame="topbot">
<informaltable>
<tgroup cols="3" align="left">
<colspec colwidth="1.1*" />
<colspec colwidth="1*" />
<colspec colwidth="1*" />
<thead>
<row>
<entry rowsep="1" align="left"><emphasis role="bold">
Mode
</emphasis></entry>
<entry rowsep="1" align="left"><emphasis role="bold">
RGB Components
</emphasis></entry>
<entry rowsep="1" align="left"><emphasis role="bold">
Alpha Component
</emphasis></entry>
<entry>
<emphasis role="bold"> Mode </emphasis>
</entry>
<entry>
<emphasis role="bold"> RGB Components </emphasis>
</entry>
<entry>
<emphasis role="bold"> Alpha Component </emphasis>
</entry>
</row>
</thead>
<tbody>
<row>
<entry align="left">
<entry>
<constant>GL_FUNC_ADD</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: Rr = R sub s s sub R + R sub d d sub R : -->
<mml:mrow>
@ -269,7 +273,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: Ar = A sub s s sub A + A sub d d sub A : -->
<mml:mrow>
@ -297,10 +301,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_FUNC_SUBTRACT</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: Rr = R sub s s sub R - R sub d d sub R : -->
<mml:mrow>
@ -374,7 +378,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: Ar = A sub s s sub A - A sub d d sub A : -->
<mml:mrow>
@ -402,10 +406,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_FUNC_REVERSE_SUBTRACT</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: Rr = R sub d d sub R - R sub s s sub R : -->
<mml:mrow>
@ -479,7 +483,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: Ar = A sub d d sub A - A sub s s sub A : -->
<mml:mrow>
@ -507,10 +511,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_MIN</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: Rr = min ( R sub s, R sub d): -->
<mml:mrow>
@ -581,7 +585,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: Ar = min ( A sub s, A sub d): -->
<mml:mrow>
@ -608,10 +612,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_MAX</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: Rr = max ( R sub s, R sub d): -->
<mml:mrow>
@ -682,7 +686,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: Ar = max ( A sub s, A sub d): -->
<mml:mrow>
@ -769,9 +773,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -188,51 +188,51 @@
</mml:mfenced>
</mml:math></inlineequation>.
<informaltable frame="topbot">
<informaltable>
<tgroup cols="3" align="left">
<colspec colwidth="1.1*" />
<colspec colwidth="1*" />
<colspec colwidth="1*" />
<thead>
<row>
<entry rowsep="1" align="left"><emphasis role="bold">
Mode
</emphasis></entry>
<entry rowsep="1" align="left"><emphasis role="bold">
RGB Components
</emphasis></entry>
<entry rowsep="1" align="left"><emphasis role="bold">
Alpha Component
</emphasis></entry>
<entry>
<emphasis role="bold"> Mode </emphasis>
</entry>
<entry>
<emphasis role="bold"> RGB Components </emphasis>
</entry>
<entry>
<emphasis role="bold"> Alpha Component </emphasis>
</entry>
</row>
</thead>
<tbody>
<row>
<entry align="left">
<entry>
<constant>GL_FUNC_ADD</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: Rr = R sub s s sub R + R sub d d sub R :-->
<mml:mrow>
<mml:mi mathvariant="italic">Rr</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:msub><mml:mi mathvariant="italic">R</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:msub>
<mml:mo>+</mml:mo>
<mml:msub><mml:mi mathvariant="italic">R</mml:mi>
<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:msub><mml:mi mathvariant="italic">R</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:msub>
<mml:mo>+</mml:mo>
<mml:msub><mml:mi mathvariant="italic">R</mml:mi>
<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:mrow>
</mml:math></inlineequation>
@ -242,21 +242,21 @@
<mml:mi mathvariant="italic">Gr</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:msub><mml:mi mathvariant="italic">G</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:msub>
<mml:mo>+</mml:mo>
<mml:msub><mml:mi mathvariant="italic">G</mml:mi>
<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:msub><mml:mi mathvariant="italic">G</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:msub>
<mml:mo>+</mml:mo>
<mml:msub><mml:mi mathvariant="italic">G</mml:mi>
<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:mrow>
</mml:math></inlineequation>
@ -266,78 +266,78 @@
<mml:mi mathvariant="italic">Br</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:msub><mml:mi mathvariant="italic">B</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:msub>
<mml:mo>+</mml:mo>
<mml:msub><mml:mi mathvariant="italic">B</mml:mi>
<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:msub><mml:mi mathvariant="italic">B</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:msub>
<mml:mo>+</mml:mo>
<mml:msub><mml:mi mathvariant="italic">B</mml:mi>
<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:mrow>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: Ar = A sub s s sub A + A sub d d sub A :-->
<mml:mrow>
<mml:mi mathvariant="italic">Ar</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:msub><mml:mi mathvariant="italic">A</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:msub>
<mml:mo>+</mml:mo>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi>
<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:msub><mml:mi mathvariant="italic">A</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:msub>
<mml:mo>+</mml:mo>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi>
<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:mrow>
</mml:math></inlineequation>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_FUNC_SUBTRACT</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: Rr = R sub s s sub R - R sub d d sub R :-->
<mml:mrow>
<mml:mi mathvariant="italic">Rr</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:msub><mml:mi mathvariant="italic">R</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:msub>
<mml:mo>-</mml:mo>
<mml:msub><mml:mi mathvariant="italic">R</mml:mi>
<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:msub><mml:mi mathvariant="italic">R</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:msub>
<mml:mo>-</mml:mo>
<mml:msub><mml:mi mathvariant="italic">R</mml:mi>
<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:mrow>
</mml:math></inlineequation>
@ -347,21 +347,21 @@
<mml:mi mathvariant="italic">Gr</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:msub><mml:mi mathvariant="italic">G</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:msub>
<mml:mo>-</mml:mo>
<mml:msub><mml:mi mathvariant="italic">G</mml:mi>
<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:msub><mml:mi mathvariant="italic">G</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:msub>
<mml:mo>-</mml:mo>
<mml:msub><mml:mi mathvariant="italic">G</mml:mi>
<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:mrow>
</mml:math></inlineequation>
@ -371,78 +371,78 @@
<mml:mi mathvariant="italic">Br</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:msub><mml:mi mathvariant="italic">B</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:msub>
<mml:mo>-</mml:mo>
<mml:msub><mml:mi mathvariant="italic">B</mml:mi>
<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:msub><mml:mi mathvariant="italic">B</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:msub>
<mml:mo>-</mml:mo>
<mml:msub><mml:mi mathvariant="italic">B</mml:mi>
<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:mrow>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: Ar = A sub s s sub A - A sub d d sub A :-->
<mml:mrow>
<mml:mi mathvariant="italic">Ar</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:msub><mml:mi mathvariant="italic">A</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:msub>
<mml:mo>-</mml:mo>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi>
<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:msub><mml:mi mathvariant="italic">A</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:msub>
<mml:mo>-</mml:mo>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi>
<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:mrow>
</mml:math></inlineequation>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_FUNC_REVERSE_SUBTRACT</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: Rr = R sub d d sub R - R sub s s sub R :-->
<mml:mrow>
<mml:mi mathvariant="italic">Rr</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:msub><mml:mi mathvariant="italic">R</mml:mi>
<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:mo>-</mml:mo>
<mml:msub><mml:mi mathvariant="italic">R</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:msub>
<mml:msub><mml:mi mathvariant="italic">R</mml:mi>
<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:mo>-</mml:mo>
<mml:msub><mml:mi mathvariant="italic">R</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:msub>
</mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
@ -452,21 +452,21 @@
<mml:mi mathvariant="italic">Gr</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:msub><mml:mi mathvariant="italic">G</mml:mi>
<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:mo>-</mml:mo>
<mml:msub><mml:mi mathvariant="italic">G</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:msub>
<mml:msub><mml:mi mathvariant="italic">G</mml:mi>
<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:mo>-</mml:mo>
<mml:msub><mml:mi mathvariant="italic">G</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:msub>
</mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
@ -476,57 +476,57 @@
<mml:mi mathvariant="italic">Br</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:msub><mml:mi mathvariant="italic">B</mml:mi>
<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:mo>-</mml:mo>
<mml:msub><mml:mi mathvariant="italic">B</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:msub>
<mml:msub><mml:mi mathvariant="italic">B</mml:mi>
<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:mo>-</mml:mo>
<mml:msub><mml:mi mathvariant="italic">B</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:msub>
</mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: Ar = A sub d d sub A - A sub s s sub A :-->
<mml:mrow>
<mml:mi mathvariant="italic">Ar</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi>
<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:mo>-</mml:mo>
<mml:msub><mml:mi mathvariant="italic">A</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:msub>
<mml:msub><mml:mi mathvariant="italic">A</mml:mi>
<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:mo>-</mml:mo>
<mml:msub><mml:mi mathvariant="italic">A</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:msub>
</mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_MIN</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: Rr = min ( R sub s, R sub d):-->
<mml:mrow>
@ -597,7 +597,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: Ar = min ( A sub s, A sub d):-->
<mml:mrow>
@ -624,10 +624,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_MAX</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: Rr = max ( R sub s, R sub d):-->
<mml:mrow>
@ -698,7 +698,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: Ar = max ( A sub s, A sub d):-->
<mml:mrow>
@ -786,7 +786,7 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glBlendFunc</refentrytitle>
@ -325,42 +329,42 @@
</para>
<para>
</para>
<informaltable frame="topbot">
<informaltable>
<tgroup cols="2" align="left">
<colspec/>
<colspec/>
<thead>
<row>
<entry rowsep="1" align="left"><emphasis role="bold">
Parameter
</emphasis></entry>
<entry rowsep="1" align="left"><emphasis role="bold">
<inlineequation><mml:math>
<!-- eqn: ( f sub R , f sub G , f sub B , f sub A ): -->
<mml:mfenced open="(" close=")">
<mml:msub><mml:mi mathvariant="italic">f</mml:mi>
<mml:mi mathvariant="italic">R</mml:mi>
</mml:msub>
<mml:msub><mml:mi mathvariant="italic">f</mml:mi>
<mml:mi mathvariant="italic">G</mml:mi>
</mml:msub>
<mml:msub><mml:mi mathvariant="italic">f</mml:mi>
<mml:mi mathvariant="italic">B</mml:mi>
</mml:msub>
<mml:msub><mml:mi mathvariant="italic">f</mml:mi>
<mml:mi mathvariant="italic">A</mml:mi>
</mml:msub>
</mml:mfenced>
</mml:math></inlineequation>
</emphasis></entry>
<entry>
<emphasis role="bold"> Parameter </emphasis>
</entry>
<entry>
<inlineequation><mml:math>
<!-- eqn: ( f sub R , f sub G , f sub B , f sub A ): -->
<mml:mfenced open="(" close=")">
<mml:msub><mml:mi mathvariant="italic">f</mml:mi>
<mml:mi mathvariant="italic">R</mml:mi>
</mml:msub>
<mml:msub><mml:mi mathvariant="italic">f</mml:mi>
<mml:mi mathvariant="italic">G</mml:mi>
</mml:msub>
<mml:msub><mml:mi mathvariant="italic">f</mml:mi>
<mml:mi mathvariant="italic">B</mml:mi>
</mml:msub>
<mml:msub><mml:mi mathvariant="italic">f</mml:mi>
<mml:mi mathvariant="italic">A</mml:mi>
</mml:msub>
</mml:mfenced>
</mml:math></inlineequation>
</entry>
</row>
</thead>
<tbody>
<row>
<entry align="left">
<constant>GL_ZERO</constant>
<entry>
<constant>GL_ZERO</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: ( 0, 0, 0, 0 ): -->
<mml:mfenced open="(" close=")">
@ -373,10 +377,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_ONE</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1, 1 ): -->
<mml:mfenced open="(" close=")">
@ -389,10 +393,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_SRC_COLOR</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: ( R sub s0 / k sub R , G sub s0 / k sub G , B sub s0 / k sub B , A sub s0 / k sub A ): -->
<mml:mfenced open="(" close=")">
@ -433,10 +437,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_ONE_MINUS_SRC_COLOR</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1, 1 ) - (R sub s0 / k sub R , G sub s0 / k sub G , B sub s0 / k sub B , A sub s0 / k sub A ): -->
<mml:mrow>
@ -486,10 +490,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_DST_COLOR</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: ( R sub d / k sub R , G sub d / k sub G , B sub d / k sub B , A sub d / k sub A ): -->
<mml:mfenced open="(" close=")">
@ -530,10 +534,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_ONE_MINUS_DST_COLOR</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1, 1 ) - (R sub d / k sub R , G sub d / k sub G , B sub d / k sub B , A sub d / k sub A ): -->
<mml:mrow>
@ -583,10 +587,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_SRC_ALPHA</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: ( A sub s0 / k sub A , A sub s0 / k sub A , A sub s0 / k sub A , A sub s0 / k sub A ): -->
<mml:mfenced open="(" close=")">
@ -627,10 +631,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_ONE_MINUS_SRC_ALPHA</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1, 1 ) - (A sub s0 / k sub A , A sub s0 / k sub A , A sub s0 / k sub A , A sub s0 / k sub A ): -->
<mml:mrow>
@ -680,10 +684,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_DST_ALPHA</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: ( A sub d / k sub A , A sub d / k sub A , A sub d / k sub A , A sub d / k sub A ): -->
<mml:mfenced open="(" close=")">
@ -724,10 +728,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_ONE_MINUS_DST_ALPHA</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1, 1 ) - ( A sub d / k sub A , A sub d / k sub A , A sub d / k sub A , A sub d / k sub A ): -->
<mml:mrow>
@ -777,10 +781,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_CONSTANT_COLOR</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: ( R sub c, G sub c, B sub c, A sub c ): -->
<mml:mfenced open="(" close=")">
@ -801,10 +805,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_ONE_MINUS_CONSTANT_COLOR</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1, 1 ) - ( R sub c, G sub c, B sub c, A sub c ): -->
<mml:mrow>
@ -834,10 +838,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_CONSTANT_ALPHA</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: ( A sub c, A sub c, A sub c, A sub c ): -->
<mml:mfenced open="(" close=")">
@ -858,10 +862,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_ONE_MINUS_CONSTANT_ALPHA</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1, 1 ) - ( A sub c, A sub c, A sub c, A sub c ): -->
<mml:mrow>
@ -891,10 +895,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_SRC_ALPHA_SATURATE</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: ( i, i, i, 1 ): -->
<mml:mfenced open="(" close=")">
@ -907,10 +911,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_SRC1_COLOR</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: ( R sub s1 / k sub R , G sub s1 / k sub G , B sub s1 / k sub B , A sub s1 / k sub A ): -->
<mml:mfenced open="(" close=")">
@ -951,10 +955,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_ONE_MINUS_SRC1_COLOR</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1, 1 ) - (R sub s1 / k sub R , G sub s1 / k sub G , B sub s1 / k sub B , A sub s1 / k sub A ): -->
<mml:mrow>
@ -1004,10 +1008,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_SRC1_ALPHA</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: ( A sub s1 / k sub A , A sub s1 / k sub A , A sub s1 / k sub A , A sub s1 / k sub A ): -->
<mml:mfenced open="(" close=")">
@ -1048,10 +1052,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_ONE_MINUS_SRC1_ALPHA</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1, 1 ) - (A sub s1 / k sub A , A sub s1 / k sub A , A sub s1 / k sub A , A sub s1 / k sub A ): -->
<mml:mrow>
@ -1461,9 +1465,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glBlendFuncSeparate</refentrytitle>
@ -296,30 +300,28 @@
</para>
<para>
</para>
<informaltable frame="topbot">
<informaltable>
<tgroup cols="3" align="left">
<colspec colwidth="3*" />
<colspec colwidth="2*" />
<colspec colwidth="1*" />
<thead>
<row>
<entry rowsep="1" align="left"><emphasis role="bold">
Parameter
</emphasis></entry>
<entry rowsep="1" align="left"><emphasis role="bold">
RGB Factor
</emphasis></entry>
<entry rowsep="1" align="left"><emphasis role="bold">
Alpha Factor
</emphasis></entry>
<entry>
<emphasis role="bold"> Parameter </emphasis>
</entry>
<entry>
<emphasis role="bold"> RGB Factor </emphasis>
</entry>
<entry>
<emphasis role="bold"> Alpha Factor </emphasis>
</entry>
</row>
</thead>
<tbody>
<row>
<entry align="left">
<constant>GL_ZERO</constant>
</entry>
<entry align="left">
<entry> <constant>GL_ZERO</constant> </entry>
<entry>
<inlineequation><mml:math>
<!-- eqn: ( 0, 0, 0 ): -->
<mml:mfenced open="(" close=")">
@ -329,7 +331,7 @@
</mml:mfenced>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: 0: -->
<mml:mn>0</mml:mn>
@ -337,10 +339,8 @@
</entry>
</row>
<row>
<entry align="left">
<constant>GL_ONE</constant>
</entry>
<entry align="left">
<entry> <constant>GL_ONE</constant> </entry>
<entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1 ): -->
<mml:mfenced open="(" close=")">
@ -350,7 +350,7 @@
</mml:mfenced>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: 1: -->
<mml:mn>1</mml:mn>
@ -358,10 +358,8 @@
</entry>
</row>
<row>
<entry align="left">
<constant>GL_SRC_COLOR</constant>
</entry>
<entry align="left">
<entry> <constant>GL_SRC_COLOR</constant> </entry>
<entry>
<inlineequation><mml:math>
<!-- eqn: ( R sub s0 / k sub R , G sub s0 / k sub G , B sub s0 / k sub B ): -->
<mml:mfenced open="(" close=")">
@ -392,7 +390,7 @@
</mml:mfenced>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: A sub s0 / k sub A: -->
<mml:mfrac>
@ -407,10 +405,8 @@
</entry>
</row>
<row>
<entry align="left">
<constant>GL_ONE_MINUS_SRC_COLOR</constant>
</entry>
<entry align="left">
<entry> <constant>GL_ONE_MINUS_SRC_COLOR</constant> </entry>
<entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1, 1 ) - ( R sub s0 / k sub R , G sub s0 / k sub G , B sub 0s / k sub B ): -->
<mml:mrow>
@ -450,7 +446,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: 1 - A sub s0 / k sub A: -->
<mml:mrow>
@ -469,10 +465,8 @@
</entry>
</row>
<row>
<entry align="left">
<constant>GL_DST_COLOR</constant>
</entry>
<entry align="left">
<entry> <constant>GL_DST_COLOR</constant> </entry>
<entry>
<inlineequation><mml:math>
<!-- eqn: ( R sub d / k sub R , G sub d / k sub G , B sub d / k sub B ): -->
<mml:mfenced open="(" close=")">
@ -503,7 +497,7 @@
</mml:mfenced>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: A sub d / k sub A: -->
<mml:mfrac>
@ -518,10 +512,8 @@
</entry>
</row>
<row>
<entry align="left">
<constant>GL_ONE_MINUS_DST_COLOR</constant>
</entry>
<entry align="left">
<entry> <constant>GL_ONE_MINUS_DST_COLOR</constant> </entry>
<entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1 ) - ( R sub d / k sub R , G sub d / k sub G , B sub d / k sub B ): -->
<mml:mrow>
@ -560,7 +552,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: 1 - A sub d / k sub A: -->
<mml:mrow>
@ -579,10 +571,8 @@
</entry>
</row>
<row>
<entry align="left">
<constant>GL_SRC_ALPHA</constant>
</entry>
<entry align="left">
<entry> <constant>GL_SRC_ALPHA</constant> </entry>
<entry>
<inlineequation><mml:math>
<!-- eqn: ( A sub s0 / k sub A , A sub s0 / k sub A , A sub s0 / k sub A ): -->
<mml:mfenced open="(" close=")">
@ -613,7 +603,7 @@
</mml:mfenced>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: A sub s / k sub A: -->
<mml:mfrac>
@ -628,10 +618,8 @@
</entry>
</row>
<row>
<entry align="left">
<constant>GL_ONE_MINUS_SRC_ALPHA</constant>
</entry>
<entry align="left">
<entry> <constant>GL_ONE_MINUS_SRC_ALPHA</constant> </entry>
<entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1 ) - ( A sub s0 / k sub A , A sub s0 / k sub A , A sub s0 / k sub A ): -->
<mml:mrow>
@ -670,7 +658,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: 1 - A sub s / k sub A: -->
<mml:mrow>
@ -689,10 +677,8 @@
</entry>
</row>
<row>
<entry align="left">
<constant>GL_DST_ALPHA</constant>
</entry>
<entry align="left">
<entry> <constant>GL_DST_ALPHA</constant> </entry>
<entry>
<inlineequation><mml:math>
<!-- eqn: ( A sub d / k sub A , A sub d / k sub A , A sub d / k sub A ): -->
<mml:mfenced open="(" close=")">
@ -723,7 +709,7 @@
</mml:mfenced>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: A sub d / k sub A: -->
<mml:mfrac>
@ -738,10 +724,8 @@
</entry>
</row>
<row>
<entry align="left">
<constant>GL_ONE_MINUS_DST_ALPHA</constant>
</entry>
<entry align="left">
<entry> <constant>GL_ONE_MINUS_DST_ALPHA</constant> </entry>
<entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1 ) - ( A sub d / k sub A , A sub d / k sub A , A sub d / k sub A ): -->
<mml:mrow>
@ -780,7 +764,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: 1 - A sub d / k sub A: -->
<mml:mrow>
@ -799,10 +783,8 @@
</entry>
</row>
<row>
<entry align="left">
<constant>GL_CONSTANT_COLOR</constant>
</entry>
<entry align="left">
<entry> <constant>GL_CONSTANT_COLOR</constant> </entry>
<entry>
<inlineequation><mml:math>
<!-- eqn: ( R sub c, G sub c, B sub c ): -->
<mml:mfenced open="(" close=")">
@ -818,7 +800,7 @@
</mml:mfenced>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: A sub c: -->
<mml:msub><mml:mi mathvariant="italic">A</mml:mi>
@ -828,10 +810,8 @@
</entry>
</row>
<row>
<entry align="left">
<constant>GL_ONE_MINUS_CONSTANT_COLOR</constant>
</entry>
<entry align="left">
<entry> <constant>GL_ONE_MINUS_CONSTANT_COLOR</constant> </entry>
<entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1 ) - ( R sub c, G sub c, B sub c ): -->
<mml:mrow>
@ -855,7 +835,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: 1 - A sub c: -->
<mml:mrow>
@ -869,10 +849,8 @@
</entry>
</row>
<row>
<entry align="left">
<constant>GL_CONSTANT_ALPHA</constant>
</entry>
<entry align="left">
<entry> <constant>GL_CONSTANT_ALPHA</constant> </entry>
<entry>
<inlineequation><mml:math>
<!-- eqn: ( A sub c, A sub c, A sub c ): -->
<mml:mfenced open="(" close=")">
@ -888,7 +866,7 @@
</mml:mfenced>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: A sub c: -->
<mml:msub><mml:mi mathvariant="italic">A</mml:mi>
@ -898,10 +876,8 @@
</entry>
</row>
<row>
<entry align="left">
<constant>GL_ONE_MINUS_CONSTANT_ALPHA</constant>
</entry>
<entry align="left">
<entry> <constant>GL_ONE_MINUS_CONSTANT_ALPHA</constant> </entry>
<entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1 ) - ( A sub c, A sub c, A sub c ): -->
<mml:mrow>
@ -925,7 +901,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: 1 - A sub c: -->
<mml:mrow>
@ -939,10 +915,8 @@
</entry>
</row>
<row>
<entry align="left">
<constant>GL_SRC_ALPHA_SATURATE</constant>
</entry>
<entry align="left">
<entry> <constant>GL_SRC_ALPHA_SATURATE</constant> </entry>
<entry>
<inlineequation><mml:math>
<!-- eqn: ( i, i, i ): -->
<mml:mfenced open="(" close=")">
@ -952,7 +926,7 @@
</mml:mfenced>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: 1: -->
<mml:mn>1</mml:mn>
@ -960,10 +934,8 @@
</entry>
</row>
<row>
<entry align="left">
<constant>GL_SRC1_COLOR</constant>
</entry>
<entry align="left">
<entry> <constant>GL_SRC1_COLOR</constant> </entry>
<entry>
<inlineequation><mml:math>
<!-- eqn: ( R sub s1 / k sub R , G sub s1 / k sub G , B sub s1 / k sub B ): -->
<mml:mfenced open="(" close=")">
@ -994,7 +966,7 @@
</mml:mfenced>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: A sub s0 / k sub A: -->
<mml:mfrac>
@ -1009,10 +981,8 @@
</entry>
</row>
<row>
<entry align="left">
<constant>GL_ONE_MINUS_SRC_COLOR</constant>
</entry>
<entry align="left">
<entry> <constant>GL_ONE_MINUS_SRC_COLOR</constant> </entry>
<entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1, 1 ) - ( R sub s1 / k sub R , G sub s1 / k sub G , B sub s1 / k sub B ): -->
<mml:mrow>
@ -1052,7 +1022,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: 1 - A sub s0 / k sub A: -->
<mml:mrow>
@ -1071,10 +1041,8 @@
</entry>
</row>
<row>
<entry align="left">
<constant>GL_SRC1_ALPHA</constant>
</entry>
<entry align="left">
<entry> <constant>GL_SRC1_ALPHA</constant> </entry>
<entry>
<inlineequation><mml:math>
<!-- eqn: ( A sub s1 / k sub A , A sub s1 / k sub A , A sub s1 / k sub A ): -->
<mml:mfenced open="(" close=")">
@ -1105,7 +1073,7 @@
</mml:mfenced>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: A sub s1 / k sub A: -->
<mml:mfrac>
@ -1120,10 +1088,8 @@
</entry>
</row>
<row>
<entry align="left">
<constant>GL_ONE_MINUS_SRC_ALPHA</constant>
</entry>
<entry align="left">
<entry> <constant>GL_ONE_MINUS_SRC_ALPHA</constant> </entry>
<entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1 ) - ( A sub s1 / k sub A , A sub s1 / k sub A , A sub s1 / k sub A ): -->
<mml:mrow>
@ -1162,7 +1128,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: 1 - A sub s1 / k sub A: -->
<mml:mrow>
@ -1505,9 +1471,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -182,7 +182,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_CLIENT_STORAGE_BIT</constant></term>
<term><constant>GL_CLIENT_STORAGE_BIT</constant></term>
<listitem>
<para>
When all other criteria for the buffer storage
@ -274,7 +274,7 @@
<refsect1 id="Copyright"><title>Copyright</title>
<para>
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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glClear</refentrytitle>
@ -136,9 +140,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -119,8 +119,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
Copyright <trademark class="copyright"></trademark> 2011-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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -140,8 +140,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
Copyright <trademark class="copyright"></trademark> 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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glClearColor</refentrytitle>
@ -84,9 +88,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glClearDepth</refentrytitle>
@ -79,9 +83,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glClearStencil</refentrytitle>
@ -77,9 +81,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -163,7 +163,7 @@
<refsect1 id="Copyright"><title>Copyright</title>
<para>
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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -168,7 +168,7 @@
<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>
<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
depth of the texel array and taking
@ -188,7 +188,7 @@
<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>
<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,
@ -398,7 +398,7 @@
<refsect1 id="Copyright"><title>Copyright</title>
<para>
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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -99,7 +99,7 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI
Free Software B License. For details, see

View file

@ -121,7 +121,7 @@
format using <citerefentry><refentrytitle>glGetTexLevelParameter</refentrytitle></citerefentry>.
</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
specified, <parameter>data</parameter> is treated as a byte offset into the buffer object's data store.
</para>
@ -129,7 +129,7 @@
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.
These pixel storage modes operate in the same way as they do for <citerefentry><refentrytitle>glTexImage1D</refentrytitle></citerefentry>.
In the following description, denote by
In the following description, denote by
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>,
@ -147,8 +147,8 @@
and <constant>GL_UNPACK_COMPRESSED_BLOCK_DEPTH</constant>, respectively.
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
is the compressed block size in bytes;
</inlineequation>
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>,
@ -156,8 +156,8 @@
<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>
<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>
@ -165,21 +165,21 @@
<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>
are ignored for compressed images. To enable <constant>GL_UNPACK_SKIP_PIXELS</constant>
and <constant>GL_UNPACK_ROW_LENGTH</constant>,
and <constant>GL_UNPACK_ROW_LENGTH</constant>,
<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
and
<inlineequation>
<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>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>,
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</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>,
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>
@ -190,7 +190,7 @@
<itemizedlist>
<listitem>
<para>
the value of <constant>GL_UNPACK_SKIP_PIXELS</constant> must be a multiple of
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>
@ -254,7 +254,7 @@
</para>
<para>
<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.
</para>
<para>
@ -308,8 +308,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
This document is licensed under the SGI
Free Software B License. For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.

View file

@ -151,7 +151,7 @@
size and format using <citerefentry><refentrytitle>glGetTexLevelParameter</refentrytitle></citerefentry>.
</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
specified, <parameter>data</parameter> is treated as a byte offset into the buffer object's data store.
</para>
@ -159,7 +159,7 @@
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.
These pixel storage modes operate in the same way as they do for <citerefentry><refentrytitle>glTexImage2D</refentrytitle></citerefentry>.
In the following description, denote by
In the following description, denote by
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>,
@ -177,7 +177,7 @@
and <constant>GL_UNPACK_COMPRESSED_BLOCK_DEPTH</constant>, respectively.
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation> is the compressed block size in bytes;
</inlineequation> 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>,
@ -185,7 +185,7 @@
<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>
<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>
@ -193,21 +193,21 @@
<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>
are ignored for compressed images. To enable <constant>GL_UNPACK_SKIP_PIXELS</constant>
and <constant>GL_UNPACK_ROW_LENGTH</constant>,
and <constant>GL_UNPACK_ROW_LENGTH</constant>,
<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
and
<inlineequation>
<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>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>,
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</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>,
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>
@ -220,7 +220,7 @@
<para>
The value of
<constant>GL_UNPACK_SKIP_PIXELS</constant> must be a
multiple of
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>;
@ -331,7 +331,7 @@
</para>
<para>
<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.
</para>
<para>
@ -378,8 +378,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
This document is licensed under the SGI
Free Software B License. For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.

View file

@ -154,7 +154,7 @@
size and format using <citerefentry><refentrytitle>glGetTexLevelParameter</refentrytitle></citerefentry>.
</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
specified, <parameter>data</parameter> is treated as a byte offset into the buffer object's data store.
</para>
@ -162,7 +162,7 @@
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.
These pixel storage modes operate in the same way as they do for <citerefentry><refentrytitle>glTexImage1D</refentrytitle></citerefentry>.
In the following description, denote by
In the following description, denote by
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>,
@ -179,7 +179,7 @@
<constant>GL_UNPACK_COMPRESSED_BLOCK_WIDTH</constant>, <constant>GL_UNPACK_COMPRESSED_BLOCK_HEIGHT</constant>,
and <constant>GL_UNPACK_COMPRESSED_BLOCK_DEPTH</constant>, respectively.
<inlineequation>
<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>s</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
is the compressed block size in bytes;
<inlineequation>
@ -188,9 +188,9 @@
<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
and
<inlineequation>
<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>d</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
are the compressed block width, height, and depth in pixels.
</para>
@ -199,21 +199,21 @@
<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>
are ignored for compressed images. To enable <constant>GL_UNPACK_SKIP_PIXELS</constant>
and <constant>GL_UNPACK_ROW_LENGTH</constant>,
and <constant>GL_UNPACK_ROW_LENGTH</constant>,
<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
and
<inlineequation>
<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>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>,
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</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>,
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>
@ -224,7 +224,7 @@
<itemizedlist>
<listitem>
<para>
the value of <constant>GL_UNPACK_SKIP_PIXELS</constant> must be a multiple of
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>;
@ -232,7 +232,7 @@
</listitem>
<listitem>
<para>
the value of <constant>GL_UNPACK_SKIP_ROWS</constant> must be a multiple of
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>;
@ -240,7 +240,7 @@
</listitem>
<listitem>
<para>
the value of <constant>GL_UNPACK_SKIP_IMAGES</constant> must be a multiple of
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>.
@ -323,7 +323,7 @@
</para>
<para>
<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.
</para>
<para>
@ -368,8 +368,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
This document is licensed under the SGI
Free Software B License. For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glCompressedTexSubImage1D</refentrytitle>
@ -206,9 +210,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glCompressedTexSubImage2D</refentrytitle>
@ -241,9 +245,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glCompressedTexSubImage3D</refentrytitle>
@ -255,9 +259,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -166,7 +166,7 @@
the formats are compatible.
</para>
<para>
<function>glCopyImageSubData</function> also allows copying between certain
<function>glCopyImageSubData</function> also allows copying between certain
types of compressed and uncompressed internal formats. This copy does not perform on-the-fly compression
or decompression. When copying from an uncompressed internal format
to a compressed internal format, each texel of uncompressed data
@ -200,8 +200,8 @@
</para>
<para>
<parameter>srcX</parameter>, <parameter>srcY</parameter>, and <parameter>srcZ</parameter> specify the lower left texel
coordinates of a <parameter>srcWidth</parameter>-wide by <parameter>srcHeight</parameter>-high by
<parameter>srcDepth</parameter>-deep rectangular subregion of the source texel array.
coordinates of a <parameter>srcWidth</parameter>-wide by <parameter>srcHeight</parameter>-high by
<parameter>srcDepth</parameter>-deep rectangular subregion of the source texel array.
Similarly, <parameter>dstX</parameter>, <parameter>dstY</parameter> and <parameter>dstZ</parameter> specify the coordinates of a subregion of the
destination texel array. The source and destination subregions
must be contained entirely within the specified level of the
@ -216,7 +216,7 @@
</para>
<para>
Slices of a <constant>GL_TEXTURE_1D_ARRAY</constant>, <constant>GL_TEXTURE_2D_ARRAY</constant>, <constant>GL_TEXTURE_CUBE_MAP_ARRAY</constant>
<constant>GL_TEXTURE_3D</constant> and faces of <constant>GL_TEXTURE_CUBE_MAP</constant> are all compatible provided
<constant>GL_TEXTURE_3D</constant> and faces of <constant>GL_TEXTURE_CUBE_MAP</constant> are all compatible provided
they share a compatible internal format, and multiple slices or faces
may be copied between these objects with a single call by specifying the
starting slice with <parameter>srcZ</parameter> and <parameter>dstZ</parameter>, and the number of slices to
@ -224,34 +224,52 @@
which are selected by a zero-based face index.
</para>
<para>
For the purposes of CopyImageSubData, two internal formats
are considered compatible if any of the following conditions are
met:
* the formats are the same,
* the formats are considered compatible according to the
compatibility rules used for texture views as defined in
section 3.9.X. In particular, if both internal formats are listed
in the same entry of Table 3.X.2, they are considered compatible, or
* one format is compressed and the other is uncompressed and
Table 4.X.1 lists the two formats in the same row.
If the formats are not compatible INVALID_OPERATION is generated.
For the purposes of CopyImageSubData, two internal formats are considered compatible if
any of the following conditions are met:
<itemizedlist>
<listitem>
<para>
the formats are the same,
</para>
</listitem>
<listitem>
<para>
the formats are considered compatible according
to the compatibility rules used for texture
views as defined in section 3.9.X. In
particular, if both internal formats are listed
in the same entry of Table 3.X.2, they are
considered compatible, or
</para>
</listitem>
<listitem>
<para>
one format is compressed and the other is
uncompressed and Table 4.X.1 lists the two
formats in the same row.
</para>
</listitem>
</itemizedlist>
If the formats are not compatible, an INVALID_OPERATION error is generated.
</para>
<table frame="topbot"><title>Sized Internal Formats</title>
<table><title>Sized Internal Formats</title>
<tgroup cols="3" align="left">
<colspec align="left"/>
<colspec align="left"/>
<colspec align="left"/>
<colspec colwidth="1*" />
<colspec colwidth="2*" />
<colspec colwidth="4*" />
<thead>
<row>
<entry rowsep="1" align="left"><emphasis role="bold">
Texel / Block Size
</emphasis></entry>
<entry rowsep="1" align="left"><emphasis role="bold">
Uncompressed Internal Format
</emphasis></entry>
<entry rowsep="1" align="left"><emphasis role="bold">
Compressed Internal Format(s)
</emphasis></entry>
<entry>
<emphasis role="bold"> Texel / Block Size </emphasis>
</entry>
<entry>
<emphasis role="bold"> Uncompressed Internal Format </emphasis>
</entry>
<entry>
<emphasis role="bold"> Compressed Internal Format(s) </emphasis>
</entry>
</row>
</thead>
<tbody>
@ -309,7 +327,7 @@
not complete.
</para>
<para>
<constant>GL_INVALID_OPERATION</constant> is generated if the source and
<constant>GL_INVALID_OPERATION</constant> is generated if the source and
destination internal formats are not compatible, or if the number of samples do not match.
</para>
<para>
@ -341,8 +359,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
Copyright <trademark class="copyright"></trademark> 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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -83,7 +83,7 @@
<para>Applications are responsible for providing the
synchronization across API calls when objects are accessed from
different execution threads.</para>
<para><constant>GL_COMPUTE_SHADER</constant> is available only if the GL version is 4.3 or higher.</para>
</refsect1>
<refsect1 id="errors"><title>Errors</title>

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glCullFace</refentrytitle>
@ -85,9 +89,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -88,8 +88,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
Copyright <trademark class="copyright"></trademark> 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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -158,8 +158,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
Copyright <trademark class="copyright"></trademark> 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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -129,8 +129,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
Copyright <trademark class="copyright"></trademark> 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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glDeleteTextures</refentrytitle>
@ -83,9 +87,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glDepthFunc</refentrytitle>
@ -161,9 +165,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -76,7 +76,7 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI
This document is licensed under the SGI

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glDepthRange</refentrytitle>
@ -127,9 +131,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -88,8 +88,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
Copyright <trademark class="copyright"></trademark> 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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glDrawArrays</refentrytitle>
@ -124,9 +128,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glDrawBuffer</refentrytitle>
@ -202,9 +206,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -105,7 +105,7 @@
<listitem>
<para>The fragment shader output value is written into the
<emphasis>n</emphasis>th color attachment of the current framebuffer.
<emphasis>n</emphasis> may range from 0 to the value of
<emphasis>n</emphasis> may range from zero to the value of
<constant>GL_MAX_COLOR_ATTACHMENTS</constant>.</para>
</listitem>
</varlistentry>

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glDrawElements</refentrytitle>
@ -136,9 +140,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glDrawRangeElements</refentrytitle>
@ -212,9 +216,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -530,8 +530,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
This document is licensed under the SGI
Free Software B License. For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glFinish</refentrytitle>
@ -45,9 +49,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glFlush</refentrytitle>
@ -59,9 +63,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -170,8 +170,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
Copyright <trademark class="copyright"></trademark> 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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -111,14 +111,23 @@
<constant>GL_FRAMEBUFFER</constant> is equivalent to <constant>GL_DRAW_FRAMEBUFFER</constant>.
</para>
<para>
<parameter>attachment</parameter> specifies the logical attachment of the framebuffer and must be
<constant>GL_COLOR_ATTACHMENT</constant><emphasis>i</emphasis>, <constant>GL_DEPTH_ATTACHMENT</constant>,
<constant>GL_STENCIL_ATTACHMENT</constant> or <constant>GL_DEPTH_STENCIL_ATTACHMENT</constant>.
<emphasis>i</emphasis> in <constant>GL_COLOR_ATTACHMENT</constant><emphasis>i</emphasis> may range from zero to
the value of <constant>GL_MAX_COLOR_ATTACHMENTS</constant> - 1. Attaching a level of a texture to
<constant>GL_DEPTH_STENCIL_ATTACHMENT</constant> is equivalent to attaching that level to both the
<constant>GL_DEPTH_ATTACHMENT</constant> <emphasis>and</emphasis> the <constant>GL_STENCIL_ATTACHMENT</constant>
attachment points simultaneously.
<parameter>attachment</parameter> specifies the logical
attachment of the framebuffer and must be
<constant>GL_COLOR_ATTACHMENT</constant><emphasis>i</emphasis>,
<constant>GL_DEPTH_ATTACHMENT</constant>,
<constant>GL_STENCIL_ATTACHMENT</constant> or
<constant>GL_DEPTH_STENCIL_ATTACHMENT</constant>.
<emphasis>i</emphasis> in
<constant>GL_COLOR_ATTACHMENT</constant><emphasis>i</emphasis>
may range from zero to the value of
<constant>GL_MAX_COLOR_ATTACHMENTS</constant> minus one.
Attaching a level of a texture to
<constant>GL_DEPTH_STENCIL_ATTACHMENT</constant> is equivalent
to attaching that level to both the
<constant>GL_DEPTH_ATTACHMENT</constant>
<emphasis>and</emphasis> the
<constant>GL_STENCIL_ATTACHMENT</constant> attachment points
simultaneously.
</para>
<para>
<parameter>textarget</parameter> specifies what type of texture is named by <parameter>texture</parameter>, and for

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glFrontFace</refentrytitle>
@ -85,9 +89,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glGenTextures</refentrytitle>
@ -89,9 +93,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -100,8 +100,8 @@
with the value <constant>GL_ACTIVE_ATTRIBUTES</constant>. A
value of 0 for <parameter>index</parameter> selects the first
active attribute variable. Permissible values for
<parameter>index</parameter> range from 0 to the number of
active attribute variables minus 1.</para>
<parameter>index</parameter> range from zero to the number of
active attribute variables minus one.</para>
<para>A vertex shader may use either built-in attribute
variables, user-defined attribute variables, or both. Built-in

File diff suppressed because it is too large Load diff

View file

@ -91,8 +91,11 @@
the number of active uniforms exceeded the limit.
</para>
<para>
<parameter>uniformIndex</parameter> must be an active uniform index of the program <parameter>program</parameter>, in the range zero to
<constant>GL_ACTIVE_UNIFORMS</constant> - 1. The value of <constant>GL_ACTIVE_UNIFORMS</constant> can be queried with
<parameter>uniformIndex</parameter> must be an active uniform
index of the program <parameter>program</parameter>, in the
range zero to the value of
<constant>GL_ACTIVE_UNIFORMS</constant> minus one. The value of
<constant>GL_ACTIVE_UNIFORMS</constant> can be queried with
<citerefentry><refentrytitle>glGetProgram</refentrytitle></citerefentry>.
</para>
</refsect1>

View file

@ -92,610 +92,610 @@
the types of uniforms specified by the corresponding array of
<parameter>uniformIndices</parameter> is returned. The returned
types can be any of the values from the following table:
<informaltable frame="topbot">
<informaltable>
<tgroup cols="2" align="left">
<colspec colwidth="1.1*" />
<colspec colwidth="1*" />
<thead>
<row>
<entry rowsep="1" align="left"><emphasis role="bold">
Returned Symbolic Contant
</emphasis></entry>
<entry rowsep="1" align="left"><emphasis role="bold">
Shader Uniform Type
</emphasis></entry>
<entry>
<emphasis role="bold"> Returned Symbolic Contant </emphasis>
</entry>
<entry>
<emphasis role="bold"> Shader Uniform Type </emphasis>
</entry>
</row>
</thead>
<tbody>
<row>
<entry align="left">
<entry>
<constant>GL_FLOAT</constant>
</entry>
<entry align="left">
<entry>
<constant>float</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_FLOAT_VEC2</constant>
</entry>
<entry align="left">
<entry>
<constant>vec2</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_FLOAT_VEC3</constant>
</entry>
<entry align="left">
<entry>
<constant>vec3</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_FLOAT_VEC4</constant>
</entry>
<entry align="left">
<entry>
<constant>vec4</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_DOUBLE</constant>
</entry>
<entry align="left">
<entry>
<constant>double</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_DOUBLE_VEC2</constant>
</entry>
<entry align="left">
<entry>
<constant>dvec2</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_DOUBLE_VEC3</constant>
</entry>
<entry align="left">
<entry>
<constant>dvec3</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_DOUBLE_VEC4</constant>
</entry>
<entry align="left">
<entry>
<constant>dvec4</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_INT</constant>
</entry>
<entry align="left">
<entry>
<constant>int</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_INT_VEC2</constant>
</entry>
<entry align="left">
<entry>
<constant>ivec2</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_INT_VEC3</constant>
</entry>
<entry align="left">
<entry>
<constant>ivec3</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_INT_VEC4</constant>
</entry>
<entry align="left">
<entry>
<constant>ivec4</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_INT</constant>
</entry>
<entry align="left">
<entry>
<constant>unsigned int</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_INT_VEC2</constant>
</entry>
<entry align="left">
<entry>
<constant>uvec2</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_INT_VEC3</constant>
</entry>
<entry align="left">
<entry>
<constant>uvec3</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_INT_VEC4</constant>
</entry>
<entry align="left">
<entry>
<constant>uvec4</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_BOOL</constant>
</entry>
<entry align="left">
<entry>
<constant>bool</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_BOOL_VEC2</constant>
</entry>
<entry align="left">
<entry>
<constant>bvec2</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_BOOL_VEC3</constant>
</entry>
<entry align="left">
<entry>
<constant>bvec3</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_BOOL_VEC4</constant>
</entry>
<entry align="left">
<entry>
<constant>bvec4</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_FLOAT_MAT2</constant>
</entry>
<entry align="left">
<entry>
<constant>mat2</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_FLOAT_MAT3</constant>
</entry>
<entry align="left">
<entry>
<constant>mat3</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_FLOAT_MAT4</constant>
</entry>
<entry align="left">
<entry>
<constant>mat4</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_FLOAT_MAT2x3</constant>
</entry>
<entry align="left">
<entry>
<constant>mat2x3</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_FLOAT_MAT2x4</constant>
</entry>
<entry align="left">
<entry>
<constant>mat2x4</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_FLOAT_MAT3x2</constant>
</entry>
<entry align="left">
<entry>
<constant>mat3x2</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_FLOAT_MAT3x4</constant>
</entry>
<entry align="left">
<entry>
<constant>mat3x4</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_FLOAT_MAT4x2</constant>
</entry>
<entry align="left">
<entry>
<constant>mat4x2</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_FLOAT_MAT4x3</constant>
</entry>
<entry align="left">
<entry>
<constant>mat4x3</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_DOUBLE_MAT2</constant>
</entry>
<entry align="left">
<entry>
<constant>dmat2</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_DOUBLE_MAT3</constant>
</entry>
<entry align="left">
<entry>
<constant>dmat3</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_DOUBLE_MAT4</constant>
</entry>
<entry align="left">
<entry>
<constant>dmat4</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_DOUBLE_MAT2x3</constant>
</entry>
<entry align="left">
<entry>
<constant>dmat2x3</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_DOUBLE_MAT2x4</constant>
</entry>
<entry align="left">
<entry>
<constant>dmat2x4</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_DOUBLE_MAT3x2</constant>
</entry>
<entry align="left">
<entry>
<constant>dmat3x2</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_DOUBLE_MAT3x4</constant>
</entry>
<entry align="left">
<entry>
<constant>dmat3x4</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_DOUBLE_MAT4x2</constant>
</entry>
<entry align="left">
<entry>
<constant>dmat4x2</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_DOUBLE_MAT4x3</constant>
</entry>
<entry align="left">
<entry>
<constant>dmat4x3</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_SAMPLER_1D</constant>
</entry>
<entry align="left">
<entry>
<constant>sampler1D</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_SAMPLER_2D</constant>
</entry>
<entry align="left">
<entry>
<constant>sampler2D</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_SAMPLER_3D</constant>
</entry>
<entry align="left">
<entry>
<constant>sampler3D</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_SAMPLER_CUBE</constant>
</entry>
<entry align="left">
<entry>
<constant>samplerCube</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_SAMPLER_1D_SHADOW</constant>
</entry>
<entry align="left">
<entry>
<constant>sampler1DShadow</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_SAMPLER_2D_SHADOW</constant>
</entry>
<entry align="left">
<entry>
<constant>sampler2DShadow</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_SAMPLER_1D_ARRAY</constant>
</entry>
<entry align="left">
<entry>
<constant>sampler1DArray</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_SAMPLER_2D_ARRAY</constant>
</entry>
<entry align="left">
<entry>
<constant>sampler2DArray</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_SAMPLER_1D_ARRAY_SHADOW</constant>
</entry>
<entry align="left">
<entry>
<constant>sampler1DArrayShadow</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_SAMPLER_2D_ARRAY_SHADOW</constant>
</entry>
<entry align="left">
<entry>
<constant>sampler2DArrayShadow</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_SAMPLER_2D_MULTISAMPLE</constant>
</entry>
<entry align="left">
<entry>
<constant>sampler2DMS</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_SAMPLER_2D_MULTISAMPLE_ARRAY</constant>
</entry>
<entry align="left">
<entry>
<constant>sampler2DMSArray</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_SAMPLER_CUBE_SHADOW</constant>
</entry>
<entry align="left">
<entry>
<constant>samplerCubeShadow</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_SAMPLER_BUFFER</constant>
</entry>
<entry align="left">
<entry>
<constant>samplerBuffer</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_SAMPLER_2D_RECT</constant>
</entry>
<entry align="left">
<entry>
<constant>sampler2DRect</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_SAMPLER_2D_RECT_SHADOW</constant>
</entry>
<entry align="left">
<entry>
<constant>sampler2DRectShadow</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_INT_SAMPLER_1D</constant>
</entry>
<entry align="left">
<entry>
<constant>isampler1D</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_INT_SAMPLER_2D</constant>
</entry>
<entry align="left">
<entry>
<constant>isampler2D</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_INT_SAMPLER_3D</constant>
</entry>
<entry align="left">
<entry>
<constant>isampler3D</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_INT_SAMPLER_CUBE</constant>
</entry>
<entry align="left">
<entry>
<constant>isamplerCube</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_INT_SAMPLER_1D_ARRAY</constant>
</entry>
<entry align="left">
<entry>
<constant>isampler1DArray</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_INT_SAMPLER_2D_ARRAY</constant>
</entry>
<entry align="left">
<entry>
<constant>isampler2DArray</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_INT_SAMPLER_2D_MULTISAMPLE</constant>
</entry>
<entry align="left">
<entry>
<constant>isampler2DMS</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY</constant>
</entry>
<entry align="left">
<entry>
<constant>isampler2DMSArray</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_INT_SAMPLER_BUFFER</constant>
</entry>
<entry align="left">
<entry>
<constant>isamplerBuffer</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_INT_SAMPLER_2D_RECT</constant>
</entry>
<entry align="left">
<entry>
<constant>isampler2DRect</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_INT_SAMPLER_1D</constant>
</entry>
<entry align="left">
<entry>
<constant>usampler1D</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_INT_SAMPLER_2D</constant>
</entry>
<entry align="left">
<entry>
<constant>usampler2D</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_INT_SAMPLER_3D</constant>
</entry>
<entry align="left">
<entry>
<constant>usampler3D</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_INT_SAMPLER_CUBE</constant>
</entry>
<entry align="left">
<entry>
<constant>usamplerCube</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_INT_SAMPLER_1D_ARRAY</constant>
</entry>
<entry align="left">
<entry>
<constant>usampler2DArray</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_INT_SAMPLER_2D_ARRAY</constant>
</entry>
<entry align="left">
<entry>
<constant>usampler2DArray</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE</constant>
</entry>
<entry align="left">
<entry>
<constant>usampler2DMS</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY</constant>
</entry>
<entry align="left">
<entry>
<constant>usampler2DMSArray</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_INT_SAMPLER_BUFFER</constant>
</entry>
<entry align="left">
<entry>
<constant>usamplerBuffer</constant>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_INT_SAMPLER_2D_RECT</constant>
</entry>
<entry align="left">
<entry>
<constant>usampler2DRect</constant>
</entry>
</row>

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glGetBufferParameteriv">
<refentry id="glGetBufferParameter">
<refentryinfo>
<copyright>
<year>2005</year>
@ -136,7 +136,7 @@
no change is made to the contents of <parameter>data</parameter>.
</para>
<para>
The <constant>GL_ATOMIC_COUNTER_BUFER</constant> target is available only if the GL version is 4.2 or greater.
The <constant>GL_ATOMIC_COUNTER_BUFFER</constant> target is available only if the GL version is 4.2 or greater.
</para>
<para>
The <constant>GL_DISPATCH_INDIRECT_BUFFER</constant> and <constant>GL_SHADER_STORAGE_BUFFER</constant> targets are available only if the GL version is 4.3 or greater.

View file

@ -90,7 +90,7 @@
The initial value for the pointer is <constant>NULL</constant>.
</para>
<para>
The <constant>GL_ATOMIC_COUNTER_BUFER</constant> target is available only if the GL version is 4.2 or greater.
The <constant>GL_ATOMIC_COUNTER_BUFFER</constant> target is available only if the GL version is 4.2 or greater.
</para>
<para>
The <constant>GL_DISPATCH_INDIRECT_BUFFER</constant> and <constant>GL_SHADER_STORAGE_BUFFER</constant> targets are available only if the GL version is 4.3 or greater.

View file

@ -98,7 +98,7 @@
no change is made to the contents of <parameter>data</parameter>.
</para>
<para>
The <constant>GL_ATOMIC_COUNTER_BUFER</constant> target is available only if the GL version is 4.2 or greater.
The <constant>GL_ATOMIC_COUNTER_BUFFER</constant> target is available only if the GL version is 4.2 or greater.
</para>
<para>
The <constant>GL_DISPATCH_INDIRECT_BUFFER</constant> target is available only if the GL version is 4.3 or greater.

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glGetCompressedTexImage</refentrytitle>
@ -151,9 +155,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -162,8 +162,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
Copyright <trademark class="copyright"></trademark> 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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -152,7 +152,7 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI
This document is licensed under the SGI

View file

@ -77,10 +77,16 @@
or <constant>GL_STENCIL</constant>, identifying the stencil buffer.
</para>
<para>
If a framebuffer object is bound, then <parameter>attachment</parameter> must be one of <constant>GL_COLOR_ATTACHMENT</constant><emphasis>i</emphasis>,
<constant>GL_DEPTH_ATTACHMENT</constant>, <constant>GL_STENCIL_ATTACHMENT</constant>, or <constant>GL_DEPTH_STENCIL_ATTACHMENT</constant>.
<emphasis>i</emphasis> in <constant>GL_COLOR_ATTACHMENT</constant><emphasis>i</emphasis> must be in the range zero to the value of
<constant>GL_MAX_COLOR_ATTACHMENTS</constant> - 1.
If a framebuffer object is bound, then
<parameter>attachment</parameter> must be one of
<constant>GL_COLOR_ATTACHMENT</constant><emphasis>i</emphasis>,
<constant>GL_DEPTH_ATTACHMENT</constant>,
<constant>GL_STENCIL_ATTACHMENT</constant>, or
<constant>GL_DEPTH_STENCIL_ATTACHMENT</constant>.
<emphasis>i</emphasis> in
<constant>GL_COLOR_ATTACHMENT</constant><emphasis>i</emphasis>
must be in the range zero to the value of
<constant>GL_MAX_COLOR_ATTACHMENTS</constant> minus one.
</para>
<para>
If <parameter>attachment</parameter> is <constant>GL_DEPTH_STENCIL_ATTACHMENT</constant> and different objects are bound

View file

@ -147,8 +147,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
Copyright <trademark class="copyright"></trademark> 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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -0,0 +1,480 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glGetInternalformat">
<refentryinfo>
<copyright>
<year>2011-2013</year>
<holder>Khronos Group.</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glGetInternalformat</refentrytitle>
<manvolnum>3G</manvolnum>
</refmeta>
<refnamediv>
<refname>glGetInternalformat</refname>
<refpurpose>retrieve information about implementation-dependent support for internal formats</refpurpose>
</refnamediv>
<refsynopsisdiv><title>C Specification</title>
<funcsynopsis>
<funcprototype>
<funcdef>void <function>glGetInternalformativ</function></funcdef>
<paramdef>GLenum <parameter>target</parameter></paramdef>
<paramdef>GLenum <parameter>internalformat</parameter></paramdef>
<paramdef>GLenum <parameter>pname</parameter></paramdef>
<paramdef>GLsizei <parameter>bufSize</parameter></paramdef>
<paramdef>GLint *<parameter>params</parameter></paramdef>
</funcprototype>
<funcprototype>
<funcdef>void <function>glGetInternalformati64v</function></funcdef>
<paramdef>GLenum <parameter>target</parameter></paramdef>
<paramdef>GLenum <parameter>internalformat</parameter></paramdef>
<paramdef>GLenum <parameter>pname</parameter></paramdef>
<paramdef>GLsizei <parameter>bufSize</parameter></paramdef>
<paramdef>GLint64 *<parameter>params</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="parameters"><title>Parameters</title>
<variablelist>
<varlistentry>
<term><parameter>target</parameter></term>
<listitem>
<para>
Indicates the usage of the internal format. <parameter>target</parameter> must be <constant>GL_TEXTURE_1D</constant>, <constant>GL_TEXTURE_1D_ARRAY</constant>,
<constant>GL_TEXTURE_2D</constant>, <constant>GL_TEXTURE_2D_ARRAY</constant>, <constant>GL_TEXTURE_3D</constant>,
<constant>GL_TEXTURE_CUBE_MAP</constant>, <constant>GL_TEXTURE_CUBE_MAP_ARRAY</constant>, <constant>GL_TEXTURE_RECTANGLE</constant>,
<constant>GL_TEXTURE_BUFFER</constant>,
<constant>GL_RENDERBUFFER</constant>, <constant>GL_TEXTURE_2D_MULTISAMPLE</constant> or <constant>GL_TEXTURE_2D_MULTISAMPLE_ARRAY</constant>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>internalformat</parameter></term>
<listitem>
<para>
Specifies the internal format about which to retrieve information.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>pname</parameter></term>
<listitem>
<para>
Specifies the type of information to query.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>bufSize</parameter></term>
<listitem>
<para>
Specifies the maximum number of basic machine units that may be written to <parameter>params</parameter> by the function.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>params</parameter></term>
<listitem>
<para>
Specifies the address of a variable into which to write the retrieved information.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 id="description"><title>Description</title>
<para>
<function>glGetInternalformativ</function> and <function>glGetInternalformati64v</function> retrieve information about implementation-dependent support for
internal formats. <parameter>target</parameter> indicates the target with which the internal format will
be used and must be one of <constant>GL_RENDERBUFFER</constant>, <constant>GL_TEXTURE_2D_MULTISAMPLE</constant>,
or <constant>GL_TEXTURE_2D_MULTISAMPLE_ARRAY</constant>, corresponding to usage as a renderbuffer, two-dimensional
multisample texture or two-dimensional multisample array texture, respectively.
</para>
<para>
<parameter>internalformat</parameter> specifies the internal format about which to retrieve information and
must be a color-renderable, depth-renderable or stencil-renderable format.
</para>
<para>
The information retrieved will be written to memory addressed by the pointer specified in <parameter>params</parameter>. No
more than <parameter>bufSize</parameter> basic machine units will be written to this memory.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_NUM_SAMPLE_COUNTS</constant>, the number of sample counts that would be
returned by querying <constant>GL_SAMPLES</constant> will be returned in <parameter>params</parameter>.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_SAMPLES</constant>, the sample counts supported for <parameter>internalformat</parameter>
and <parameter>target</parameter> are written into <parameter>params</parameter> in descending numeric order. Only positive values are returned.
Querying <constant>GL_SAMPLES</constant> with <parameter>bufSize</parameter> of one will return just the maximum supported number of
samples for this format. The maximum value in <constant>GL_SAMPLES</constant> is guaranteed to be at least the lowest of the following:
<itemizedlist>
<listitem>
<para>
The value of
<constant>GL_MAX_INTEGER_SAMPLES</constant> if
<parameter>internalformat</parameter> is a signed or
unsigned integer format.
</para>
</listitem>
<listitem>
<para>
The value of
<constant>GL_MAX_DEPTH_TEXTURE_SAMPLES</constant> if
<parameter>internalformat</parameter> is a depth- or
stencil-renderable format and
<parameter>target</parameter> is
<constant>GL_TEXTURE_2D_MULTISAMPLE</constant>,
<constant>GL_TEXTURE_2D_MULTISAMPLE_ARRAY</constant>.
</para>
</listitem>
<listitem>
<para>
The value of
<constant>GL_MAX_COLOR_TEXTURE_SAMPLES</constant> if
<parameter>internalformat</parameter> is a
color-renderable format and
<parameter>target</parameter> is
<constant>GL_TEXTURE_2D_MULTISAMPLE</constant> or
<constant>GL_TEXTURE_2D_MULTISAMPLE_ARRAY</constant>.
</para>
</listitem>
<listitem>
<para>The value of <constant>GL_MAX_SAMPLES</constant>.</para>
</listitem>
</itemizedlist>
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_INTERNALFORMAT_SUPPORTED</constant>, <parameter>params</parameter> is set to <constant>GL_TRUE</constant> if <parameter>internalFormat</parameter>
is a supported internal format for <parameter>target</parameter> and to <constant>GL_FALSE</constant> otherwise.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_INTERNALFORMAT_PREFERRED</constant>, <parameter>params</parameter> is set to <constant>GL_TRUE</constant> if <parameter>internalFormat</parameter>
is an format for <parameter>target</parameter> that is preferred by the implementation and to <constant>GL_FALSE</constant> otherwise.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_INTERNALFORMAT_RED_SIZE</constant>, <constant>GL_INTERNALFORMAT_GREEN_SIZE</constant>,
<constant>GL_INTERNALFORMAT_BLUE_SIZE</constant>, <constant>GL_INTERNALFORMAT_ALPHA_SIZE</constant>, <constant>GL_INTERNALFORMAT_DEPTH_SIZE</constant>,
<constant>GL_INTERNALFORMAT_STENCIL_SIZE</constant>, or <constant>GL_INTERNALFORMAT_SHARED_SIZE</constant> then
<parameter>params</parameter> is set to the actual resolutions that would be used for storing image array components
for the resource for the red, green, blue, alpha, depth, stencil and shared channels respectively. If <parameter>internalFormat</parameter>
is a compressed internal format, then <parameter>params</parameter> is set to the component resolution of an uncompressed internal format that produces
an image of roughly the same quality as the compressed algorithm. If the internal format is unsupported, or if a particular component is
not present in the format, 0 is written to <parameter>params</parameter>.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_INTERNALFORMAT_RED_TYPE</constant>, <constant>GL_INTERNALFORMAT_GREEN_TYPE</constant>,
<constant>GL_INTERNALFORMAT_BLUE_TYPE</constant>, <constant>GL_INTERNALFORMAT_ALPHA_TYPE</constant>, <constant>GL_INTERNALFORMAT_DEPTH_TYPE</constant>,
or <constant>GL_INTERNALFORMAT_STENCIL_TYPE</constant> then <parameter>params</parameter> is set to a token identifying the data type used
to store the respective component. If the <parameter>internalFormat</parameter> represents a compressed internal format then
the types returned specify how components are interpreted after decompression.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_MAX_WIDTH</constant>, <constant>GL_MAX_HEIGHT</constant>, <constant>GL_MAX_DEPTH</constant>,
or <constant>GL_MAX_LAYERS</constant> then <parameter>pname</parameter> is filled with the maximum width, height, depth or layer count
for textures with internal format <parameter>internalFormat</parameter>, respectively. If <parameter>pname</parameter> is <constant>GL_MAX_COMBINED_DIMENSIONS</constant>
then <parameter>pname</parameter> is filled with the maximum combined dimensions of a texture of the specified internal format.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_COLOR_COMPONENTS</constant> then <parameter>params</parameter> is set to the value <constant>GL_TRUE</constant>
if the internal format contains any color component (i.e., red, green, blue or alpha) and to <constant>GL_FALSE</constant> otherwise. If
<parameter>pname</parameter> is <constant>GL_DEPTH_COMPONENTS</constant> or <constant>GL_STENCIL_COMPONENTS</constant> then <parameter>params</parameter>
is set to <constant>GL_TRUE</constant> if the internal format contains a depth or stencil component, respectively, and to <constant>GL_FALSE</constant>
otherwise.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_COLOR_RENDERABLE</constant>, <constant>GL_DEPTH_RENDERABLE</constant> or <constant>GL_STENCIL_RENDERABLE</constant>
then <parameter>params</parameter> is set to <constant>GL_TRUE</constant> if the specified internal format is color, depth or stencil renderable, respectively,
and to <constant>GL_FALSE</constant> otherwise.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_FRAMEBUFFER_RENDERABLE</constant> or <constant>GL_FRAMEBUFFER_RENDERABLE_LAYERED</constant>
then <parameter>params</parameter> is set to one of <constant>GL_FULL_SUPPORT</constant>,
<constant>GL_CAVEAT_SUPPORT</constant> or <constant>GL_NONE</constant> to indicate that framebuffer attachments (layered attachments in the
case of <constant>GL_FRAMEBUFFER_RENDERABLE_LAYERED</constant>) with that internal format are either
renderable with no restrictions, renderable with some restrictions or not renderable at all.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_FRAMEBUFFER_BLEND</constant>, <parameter>params</parameter> is set to <constant>GL_TRUE</constant>
to indicate that the internal format is supported for blending operations when attached to a framebuffer, and to <constant>GL_FALSE</constant> otherwise.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_READ_PIXELS</constant> then <parameter>params</parameter> is set to <constant>GL_FULL_SUPPORT</constant>,
<constant>GL_CAVEAT_SUPPORT</constant> or <constant>GL_NONE</constant> to that either full support, limited support or no support at all is supplied
for reading pixels from framebuffer attachments in the specified internal format.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_READ_PIXELS_FORMAT</constant> or <constant>GL_READ_PIXELS_TYPE</constant> then <parameter>params</parameter>
is filled with the format or type, respectively, most recommended to obtain the highest image quality and performance. For
<constant>GL_READ_PIXELS_FORMAT</constant>, the value returned in <parameter>params</parameter> is a token that is accepted for
the <parameter>format</parameter> argument to <citerefentry><refentrytitle>glReadPixels</refentrytitle></citerefentry>. For
<constant>GL_READ_PIXELS_TYPE</constant>, the value returned in <parameter>params</parameter> is a token that is accepted for
the <parameter>type</parameter> argument to <citerefentry><refentrytitle>glReadPixels</refentrytitle></citerefentry>.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_TEXTURE_IMAGE_FORMAT</constant> or <constant>GL_TEXTURE_IMAGE_TYPE</constant> then
<parameter>params</parameter> is filled with the implementation-recommended format or type to be used in calls to
<citerefentry><refentrytitle>glTexImage2D</refentrytitle></citerefentry> and other similar functions. For <constant>GL_TEXTURE_IMAGE_FORMAT</constant>,
<parameter>params</parameter> is filled with a token suitable for use as the <parameter>format</parameter> argument to
<citerefentry><refentrytitle>glTexImage2D</refentrytitle></citerefentry>. For <constant>GL_TEXTURE_IMAGE_TYPE</constant>,
<parameter>params</parameter> is filled with a token suitable for use as the <parameter>type</parameter> argument to
<citerefentry><refentrytitle>glTexImage2D</refentrytitle></citerefentry>.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_GET_TEXTURE_IMAGE_FORMAT</constant> or <constant>GL_GET_TEXTURE_IMAGE_TYPE</constant> then
<parameter>params</parameter> is filled with the implementation-recommended format or type to be used in calls to
<citerefentry><refentrytitle>glGetTexImage2D</refentrytitle></citerefentry> and other similar functions. For <constant>GL_GET_TEXTURE_IMAGE_FORMAT</constant>,
<parameter>params</parameter> is filled with a token suitable for use as the <parameter>format</parameter> argument to
<citerefentry><refentrytitle>glGetTexImage2D</refentrytitle></citerefentry>. For <constant>GL_GET_TEXTURE_IMAGE_TYPE</constant>,
<parameter>params</parameter> is filled with a token suitable for use as the <parameter>type</parameter> argument to
<citerefentry><refentrytitle>glGetTexImage2D</refentrytitle></citerefentry>.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_MIPMAP</constant> then <parameter>pname</parameter> is set to <constant>GL_TRUE</constant>
to indicate that the specified internal format supports mipmaps and to <constant>GL_FALSE</constant> otherwise.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_GENERATE_MIPMAP</constant> or <constant>GL_AUTO_GENERATE_MIPMAP</constant> then <parameter>params</parameter>
is indicates the level of support for manual or automatic mipmap generation for the specified internal format, respectively. Returned values
may be one of <constant>GL_FULL_SUPPORT</constant>, <constant>GL_CAVEAT_SUPPORT</constant> and <constant>GL_NONE</constant> to indicate
either full support, limited support or no support at all.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_COLOR_ENCODING</constant> then the color encoding for the resource is returned in
<parameter>params</parameter>. Possible values for color buffers are <constant>GL_LINEAR</constant> or <constant>GL_SRGB</constant>,
for linear or sRGB-encoded color components, respectively. For non-color
formats (such as depth or stencil), or for unsupported resources,
the value <constant>GL_NONE</constant> is returned.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_SRGB_READ</constant>, or <constant>GL_SRGB_WRITE</constant> then <parameter>params</parameter>
indicates the level of support for reading and writing to sRGB encoded images, respectively. For <constant>GL_SRGB_READ</constant>,
support for converting from sRGB colorspace on read operations is returned in <parameter>params</parameter> and for <constant>GL_SRGB_WRITE</constant>,
support for converting to sRGB colorspace on write operations to the resource is returned in <parameter>params</parameter>. <parameter>params</parameter> may be
set to <constant>GL_FULL_SUPPORT</constant>, <constant>GL_CAVEAT_SUPPORT</constant>, or <constant>GL_NONE</constant> to indicate
full support, limited support or no support at all, respecitively.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_FILTER</constant> the <parameter>params</parameter> is set to either <constant>GL_TRUE</constant>
or <constant>GL_FALSE</constant> to indicate support or lack thereof for filter modes other than <constant>GL_NEAREST</constant> or <constant>GL_NEAREST_MIPMAP</constant>
for the specified internal format.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_VERTEX_TEXTURE</constant>, <constant>GL_TESS_CONTROL_TEXTURE</constant>, <constant>GL_TESS_EVALUATION_TEXTURE</constant>,
<constant>GL_GEOMETRY_TEXTURE</constant>, <constant>GL_FRAGMENT_TEXTURE</constant>, or <constant>GL_COMPUTE_TEXTURE</constant>, then the value
written to <parameter>params</parameter> indicates support for use of the resource as a source of texturing in the vertex, tessellation control,
tessellation evaluation, geometry, fragment and compute shader stages, respectively. <parameter>params</parameter> may be set to
<constant>GL_FULL_SUPPORT</constant>, <constant>GL_CAVEAT_SUPPORT</constant> or <constant>GL_NONE</constant> to indicate full support,
limited support or no support at all, respectively.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_TEXTURE_SHADOW</constant>, <constant>GL_TEXTURE_GATHER</constant> or <constant>GL_TEXTURE_GATHER_SHADOW</constant> then the value written to
<parameter>params</parameter> indicates the level of support for using the resource with a shadow sampler, in gather operations or as a shadow sampler in gather operations, respectively. Returned values
may be <constant>GL_FULL_SUPPORT</constant>, <constant>GL_CAVEAT_SUPPORT</constant> or <constant>GL_NONE</constant> to indicate full support,
limited support or no support at all, respectively.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_SHADER_IMAGE_LOAD</constant>, <constant>GL_SHADER_IMAGE_STORE</constant> or <constant>GL_SHADER_IMAGE_ATOMIC</constant>
then the value returned in <parameter>params</parameter> indicates the level of support for image loads, stores and atomics for resources of the specified internal
format. Returned values
may be <constant>GL_FULL_SUPPORT</constant>, <constant>GL_CAVEAT_SUPPORT</constant> or <constant>GL_NONE</constant> to indicate full support,
limited support or no support at all, respectively.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_IMAGE_TEXEL_SIZE</constant> then the size of a texel when the resource when used as
an image texture is returned in <parameter>params</parameter>. If the resource is not supported for image
textures zero is returned.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_IMAGE_COMPATIBILITY_CLASS</constant> then the compatibility class of the resource when
used as an image texture is returned in <parameter>params</parameter>. The possible values
returned are <constant>GL_IMAGE_CLASS_4_X_32</constant>, <constant>GL_IMAGE_CLASS_2_X_32</constant>, <constant>GL_IMAGE_CLASS_1_X_32</constant>,
<constant>GL_IMAGE_CLASS_4_X_16</constant>, <constant>GL_IMAGE_CLASS_2_X_16</constant>, <constant>GL_IMAGE_CLASS_1_X_16</constant>,
<constant>GL_IMAGE_CLASS_4_X_8</constant>, <constant>GL_IMAGE_CLASS_2_X_8</constant>, <constant>GL_IMAGE_CLASS_1_X_8</constant>,
<constant>GL_IMAGE_CLASS_11_11_10</constant>, and <constant>GL_IMAGE_CLASS_10_10_10_2</constant>, which correspond to
the 4x32, 2x32, 1x32, 4x16, 2x16, 1x16, 4x8, 2x8, 1x8, the class
(a) 11/11/10 packed floating-point format, and the class (b)
10/10/10/2 packed formats, respectively.
If the resource is not supported for image textures, <constant>GL_NONE</constant> is returned.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_IMAGE_PIXEL_FORMAT</constant> or <constant>GL_IMAGE_PIXEL_TYPE</constant> then
the pixel format or type of the resource when used as an image texture is returned in <parameter>params</parameter>, respectively.
In either case, the resource is not supported for image textures <constant>GL_NONE</constant> is returned.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_IMAGE_FORMAT_COMPATIBILITY_TYPE</constant>, the matching criteria use for the
resource when used as an image textures is returned in <parameter>params</parameter>. Possible values returned in <parameter>params</parameter> are
<constant>GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE</constant> or <constant>GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS</constant>.
If the resource is not supported for image textures, <constant>GL_NONE</constant> is returned.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST</constant> or <constant>GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST</constant>,
support for using the resource both as a source for texture sampling while it is bound as a buffer for depth or stencil test, respectively, is written to <parameter>params</parameter>.
Possible values returned are <constant>GL_FULL_SUPPORT</constant>, <constant>GL_CAVEAT_SUPPORT</constant>, or <constant>GL_NONE</constant> to indicate
full support, limited support or no support at all. If the resource or operation is not supported, <constant>GL_NONE</constant> is returned.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE</constant> or <constant>GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE</constant>,
support for using the resource both as a source for texture sampling while performing depth or stencil writes to the resources, respectively, is written to <parameter>params</parameter>.
Possible values returned are <constant>GL_FULL_SUPPORT</constant>, <constant>GL_CAVEAT_SUPPORT</constant>, or <constant>GL_NONE</constant> to indicate
full support, limited support or no support at all. If the resource or operation is not supported, <constant>GL_NONE</constant> is returned.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_TEXTURE_COMPRESSED</constant> then <constant>GL_TRUE</constant> is returned in <parameter>params</parameter>
if <parameter>internalformat</parameter> is a compressed internal format. <constant>GL_FALSE</constant> is returned in <parameter>params</parameter>
otherwise.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_TEXTURE_COMPRESSED_BLOCK_WIDTH</constant>, <constant>GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT</constant> or
<constant>GL_TEXTURE_COMPRESSED_BLOCK_SIZE</constant> then the width, height or total size, respectively of a block (in basic machine units) is returned in
<parameter>params</parameter>. If the internal format is not compressed, or the resource is not supported, 0 is returned.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_CLEAR_BUFFER</constant>, the level of support for using the resource with <citerefentry><refentrytitle>glClearBufferData</refentrytitle></citerefentry>
and <citerefentry><refentrytitle>glClearBufferSubData</refentrytitle></citerefentry> is returned in <parameter>params</parameter>. Possible values returned are <constant>GL_FULL_SUPPORT</constant>,
<constant>GL_CAVEAT_SUPPORT</constant>, or <constant>GL_NONE</constant> to indicate
full support, limited support or no support at all, respectively. If the resource or operation is not supported, <constant>GL_NONE</constant> is returned.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_TEXTURE_VIEW</constant>, the level of support for using the resource with the <citerefentry><refentrytitle>glTextureView</refentrytitle></citerefentry>
command is returned in <parameter>params</parameter>. Possible values returned are <constant>GL_FULL_SUPPORT</constant>,
<constant>GL_CAVEAT_SUPPORT</constant>, or <constant>GL_NONE</constant> to indicate
full support, limited support or no support at all, respectively. If the resource or operation is not supported, <constant>GL_NONE</constant> is returned.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_VIEW_COMPATIBILITY_CLASS</constant> then the compatibility class of the resource when
used as a texture view is returned in <parameter>params</parameter>. The possible values
returned are <constant>GL_VIEW_CLASS_128_BITS</constant>, <constant>GL_VIEW_CLASS_96_BITS</constant>,
<constant>GL_VIEW_CLASS_64_BITS</constant>, <constant>GL_VIEW_CLASS_48_BITS</constant>, <constant>GL_VIEW_CLASS_32_BITS</constant>,
<constant>GL_VIEW_CLASS_24_BITS</constant>, <constant>GL_VIEW_CLASS_16_BITS</constant>, <constant>GL_VIEW_CLASS_8_BITS</constant>,
<constant>GL_VIEW_CLASS_S3TC_DXT1_RGB</constant>, <constant>GL_VIEW_CLASS_S3TC_DXT1_RGBA</constant>,
<constant>GL_VIEW_CLASS_S3TC_DXT3_RGBA</constant>, <constant>GL_VIEW_CLASS_S3TC_DXT5_RGBA</constant>,
<constant>GL_VIEW_CLASS_RGTC1_RED</constant>, <constant>GL_VIEW_CLASS_RGTC2_RG</constant>, <constant>GL_VIEW_CLASS_BPTC_UNORM</constant>, and
<constant>GL_VIEW_CLASS_BPTC_FLOAT</constant>.
</para>
<para>
If <parameter>pname</parameter> is <constant>GL_CLEAR_TEXTURE</constant> then the presence of support for using the
<citerefentry><refentrytitle>glClearTexImage</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glClearTexSubImage</refentrytitle></citerefentry>
commands with the resource is written to <parameter>params</parameter>. Possible values written are <constant>GL_FULL_SUPPORT</constant>,
<constant>GL_CAVEAT_SUPPORT</constant>, or <constant>GL_NONE</constant> to indicate
full support, limited support or no support at all, respectively. If the resource or operation is not supported, <constant>GL_NONE</constant> is returned.
</para>
</refsect1>
<refsect1 id="notes"><title>Notes</title>
<para>
<function>glGetInternalformativ</function> is available only if the
GL version is 4.2 or higher.
</para>
<para>
The tokens
<constant>GL_INTERNALFORMAT_SUPPORTED</constant>,
<constant>GL_INTERNALFORMAT_PREFERRED</constant>,
<constant>GL_INTERNALFORMAT_RED_SIZE</constant>,
<constant>GL_INTERNALFORMAT_GREEN_SIZE</constant>,
<constant>GL_INTERNALFORMAT_BLUE_SIZE</constant>,
<constant>GL_INTERNALFORMAT_ALPHA_SIZE</constant>,
<constant>GL_INTERNALFORMAT_DEPTH_SIZE</constant>,
<constant>GL_INTERNALFORMAT_STENCIL_SIZE</constant>,
<constant>GL_INTERNALFORMAT_SHARED_SIZE</constant>,
<constant>GL_INTERNALFORMAT_RED_TYPE</constant>,
<constant>GL_INTERNALFORMAT_GREEN_TYPE</constant>,
<constant>GL_INTERNALFORMAT_BLUE_TYPE</constant>,
<constant>GL_INTERNALFORMAT_ALPHA_TYPE</constant>,
<constant>GL_INTERNALFORMAT_DEPTH_TYPE</constant>,
<constant>GL_INTERNALFORMAT_STENCIL_TYPE</constant>,
<constant>GL_MAX_WIDTH</constant>,
<constant>GL_MAX_HEIGHT</constant>,
<constant>GL_MAX_DEPTH</constant>,
<constant>GL_MAX_LAYERS</constant>,
<constant>GL_MAX_COMBINED_DIMENSIONS</constant>,
<constant>GL_COLOR_COMPONENTS</constant>,
<constant>GL_DEPTH_COMPONENTS</constant>,
<constant>GL_STENCIL_COMPONENTS</constant>,
<constant>GL_COLOR_RENDERABLE</constant>,
<constant>GL_DEPTH_RENDERABLE</constant>,
<constant>GL_STENCIL_RENDERABLE</constant>,
<constant>GL_FRAMEBUFFER_RENDERABLE</constant>,
<constant>GL_FRAMEBUFFER_RENDERABLE_LAYERED</constant>,
<constant>GL_FRAMEBUFFER_BLEND</constant>,
<constant>GL_READ_PIXELS</constant>,
<constant>GL_READ_PIXELS_FORMAT</constant>,
<constant>GL_READ_PIXELS_TYPE</constant>,
<constant>GL_TEXTURE_IMAGE_FORMAT</constant>,
<constant>GL_TEXTURE_IMAGE_TYPE</constant>,
<constant>GL_GET_TEXTURE_IMAGE_FORMAT</constant>,
<constant>GL_GET_TEXTURE_IMAGE_TYPE</constant>,
<constant>GL_MIPMAP</constant>,
<constant>GL_GENERATE_MIPMAP</constant>,
<constant>GL_AUTO_GENERATE_MIPMAP</constant>,
<constant>GL_COLOR_ENCODING</constant>,
<constant>GL_SRGB_READ</constant>,
<constant>GL_SRGB_WRITE</constant>,
<constant>GL_SRGB_DECODE_ARB</constant>,
<constant>GL_FILTER</constant>,
<constant>GL_VERTEX_TEXTURE</constant>,
<constant>GL_TESS_CONTROL_TEXTURE</constant>,
<constant>GL_TESS_EVALUATION_TEXTURE</constant>,
<constant>GL_GEOMETRY_TEXTURE</constant>,
<constant>GL_FRAGMENT_TEXTURE</constant>,
<constant>GL_COMPUTE_TEXTURE</constant>,
<constant>GL_TEXTURE_SHADOW</constant>,
<constant>GL_TEXTURE_GATHER</constant>,
<constant>GL_TEXTURE_GATHER_SHADOW</constant>,
<constant>GL_SHADER_IMAGE_LOAD</constant>,
<constant>GL_SHADER_IMAGE_STORE</constant>,
<constant>GL_SHADER_IMAGE_ATOMIC</constant>,
<constant>GL_IMAGE_TEXEL_SIZE</constant>,
<constant>GL_IMAGE_COMPATIBILITY_CLASS</constant>,
<constant>GL_IMAGE_PIXEL_FORMAT</constant>,
<constant>GL_IMAGE_PIXEL_TYPE</constant>,
<constant>GL_IMAGE_FORMAT_COMPATIBILITY_TYPE</constant>,
<constant>GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST</constant>,
<constant>GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST</constant>,
<constant>GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE</constant>,
<constant>GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE</constant>,
<constant>GL_TEXTURE_COMPRESSED</constant>,
<constant>GL_TEXTURE_COMPRESSED_BLOCK_WIDTH</constant>,
<constant>GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT</constant>,
<constant>GL_TEXTURE_COMPRESSED_BLOCK_SIZE</constant>,
<constant>GL_CLEAR_BUFFER</constant>,
<constant>GL_TEXTURE_VIEW</constant>, and
<constant>GL_VIEW_COMPATIBILITY_CLASS</constant> are supported only if the GL
version is 4.3 or higher.
</para>
<para>
The <constant>GL_CLEAR_TEXTURE</constant> token is accepted for <parameter>pname</parameter> only
if the GL version is 4.4 or higher.
</para>
</refsect1>
<refsect1 id="errors"><title>Errors</title>
<para>
<constant>GL_INVALID_VALUE</constant> is generated if <parameter>bufSize</parameter> is negative.
</para>
<para>
<constant>GL_INVALID_ENUM</constant> is generated if <parameter>pname</parameter> is not <constant>GL_SAMPLES</constant> or <constant>GL_NUM_SAMPLE_COUNTS</constant>.
</para>
<para>
<constant>GL_INVALID_ENUM</constant> is generated if <parameter>internalformat</parameter> is not color-, depth-, or stencil-renderable.
</para>
<para>
<constant>GL_INVALID_ENUM</constant> is generated if <parameter>target</parameter> is not one of <constant>GL_TEXTURE_2D_MULTISAMPLE</constant>,
<constant>GL_TEXTURE_2D_MULTISAMPLE_ARRAY</constant> or <constant>GL_RENDERBUFFER</constant>.
</para>
</refsect1>
<refsect1 id="seealso"><title>See Also</title>
<para>
<citerefentry><refentrytitle>glGet</refentrytitle></citerefentry>
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2011-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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
</refsect1>
</refentry>

View file

@ -56,12 +56,19 @@
</refsect1>
<refsect1 id="description"><title>Description</title>
<para>
<function>glGetMultisamplefv</function> queries the location of a given sample. <parameter>pname</parameter>
specifies the sample parameter to retrieve and must be <constant>GL_SAMPLE_POSITION</constant>. <parameter>index</parameter>
corresponds to the sample for which the location should be returned. The sample location is returned as two floating-point
values in <parameter>val[0]</parameter> and <parameter>val[1]</parameter>, each between 0 and 1, corresponding to the <parameter>x</parameter>
and <parameter>y</parameter> locations respectively in the GL pixel space of that sample. (0.5, 0.5) this corresponds to the
pixel center. <parameter>index</parameter> must be between zero and the value of <constant>GL_SAMPLES</constant> - 1.
<function>glGetMultisamplefv</function> queries the location of
a given sample. <parameter>pname</parameter> specifies the
sample parameter to retrieve and must be
<constant>GL_SAMPLE_POSITION</constant>.
<parameter>index</parameter> corresponds to the sample for which
the location should be returned. The sample location is returned
as two floating-point values in <parameter>val[0]</parameter>
and <parameter>val[1]</parameter>, each between 0 and 1,
corresponding to the <parameter>x</parameter> and
<parameter>y</parameter> locations respectively in the GL pixel
space of that sample. (0.5, 0.5) this corresponds to the pixel
center. <parameter>index</parameter> must be between zero and
the value of <constant>GL_SAMPLES</constant> minus one.
</para>
<para>
If the multisample mode does not have fixed sample locations, the returned values may only reflect the locations of samples

View file

@ -126,8 +126,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
Copyright <trademark class="copyright"></trademark> 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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -110,8 +110,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
Copyright <trademark class="copyright"></trademark> 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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -265,8 +265,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
Copyright <trademark class="copyright"></trademark> 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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -62,158 +62,158 @@
allowed for <parameter>programInterface</parameter>. The set of allowed <parameter>programInterface</parameter>
values for each property can be found in the following table:
</para>
<informaltable frame="topbot">
<informaltable>
<tgroup cols="2" align="left">
<colspec colnum="1" colname="col1" colwidth="1*"/>
<colspec colnum="2" colname="col2" colwidth="2*"/>
<thead>
<row>
<entry morerows="1" rowsep="1" align="center">Property</entry>
<entry morerows="1" rowsep="1" align="center">Supported Interfaces</entry>
<entry>Property</entry>
<entry>Supported Interfaces</entry>
</row>
</thead>
<tbody>
<row>
<entry align="left"><constant>GL_NAME_LENGTH</constant></entry>
<entry align="left">Any except <constant>GL_ATOMIC_COUNTER_BUFFER</constant> and <constant>GL_TRANSFORM_FEEDBACK_BUFFER</constant></entry>
<entry><constant>GL_NAME_LENGTH</constant></entry>
<entry>Any except <constant>GL_ATOMIC_COUNTER_BUFFER</constant> and <constant>GL_TRANSFORM_FEEDBACK_BUFFER</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_TYPE</constant></entry>
<entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant>, <constant>GL_TRANSFORM_FEEDBACK_VARYING</constant>, <constant>GL_BUFFER_VARIABLE</constant></entry>
<entry><constant>GL_TYPE</constant></entry>
<entry><constant>GL_UNIFORM</constant>, <constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant>, <constant>GL_TRANSFORM_FEEDBACK_VARYING</constant>, <constant>GL_BUFFER_VARIABLE</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_ARRAY_SIZE</constant></entry>
<entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_BUFFER_VARIABLE</constant>, <constant>GL_PROGRAM_INPUT</constant>,
<entry><constant>GL_ARRAY_SIZE</constant></entry>
<entry><constant>GL_UNIFORM</constant>, <constant>GL_BUFFER_VARIABLE</constant>, <constant>GL_PROGRAM_INPUT</constant>,
<constant>GL_PROGRAM_OUTPUT, VERTEX_SUBROUTINE_UNIFORM</constant>, <constant>GL_TESS_CONTROL_SUBROUTINE_UNIFORM</constant>,
<constant>GL_TESS_EVALUATION_SUBROUTINE_UNIFORM</constant>, <constant>GL_GEOMETRY_SUBROUTINE_UNIFORM</constant>,
<constant>GL_FRAGMENT_SUBROUTINE_UNIFORM</constant>, <constant>GL_COMPUTE_SUBROUTINE_UNIFORM</constant>, <constant>GL_TRANSFORM_FEEDBACK_VARYING</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_OFFSET</constant></entry>
<entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_BUFFER_VARIABLE</constant>, <constant>GL_TRANSFORM_FEEDBACK_VARYING</constant></entry>
<entry><constant>GL_OFFSET</constant></entry>
<entry><constant>GL_UNIFORM</constant>, <constant>GL_BUFFER_VARIABLE</constant>, <constant>GL_TRANSFORM_FEEDBACK_VARYING</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_BLOCK_INDEX</constant></entry>
<entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_BUFFER_VARIABLE</constant></entry>
<entry><constant>GL_BLOCK_INDEX</constant></entry>
<entry><constant>GL_UNIFORM</constant>, <constant>GL_BUFFER_VARIABLE</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_ARRAY_STRIDE</constant></entry>
<entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_BUFFER_VARIABLE</constant></entry>
<entry><constant>GL_ARRAY_STRIDE</constant></entry>
<entry><constant>GL_UNIFORM</constant>, <constant>GL_BUFFER_VARIABLE</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_MATRIX_STRIDE</constant></entry>
<entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_BUFFER_VARIABLE</constant></entry>
<entry><constant>GL_MATRIX_STRIDE</constant></entry>
<entry><constant>GL_UNIFORM</constant>, <constant>GL_BUFFER_VARIABLE</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_IS_ROW_MAJOR</constant></entry>
<entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_BUFFER_VARIABLE</constant></entry>
<entry><constant>GL_IS_ROW_MAJOR</constant></entry>
<entry><constant>GL_UNIFORM</constant>, <constant>GL_BUFFER_VARIABLE</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_ATOMIC_COUNTER_BUFFER_INDEX</constant></entry>
<entry align="left"><constant>GL_UNIFORM</constant></entry>
<entry><constant>GL_ATOMIC_COUNTER_BUFFER_INDEX</constant></entry>
<entry><constant>GL_UNIFORM</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_TEXTURE_BUFFER</constant></entry>
<entry align="left"><emphasis>none</emphasis></entry>
<entry><constant>GL_TEXTURE_BUFFER</constant></entry>
<entry><emphasis>none</emphasis></entry>
</row>
<row>
<entry align="left"><constant>GL_BUFFER_BINDING</constant></entry>
<entry align="left"><constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant>, <constant>GL_TRANSFORM_FEEDBACK_BUFFER</constant></entry>
<entry><constant>GL_BUFFER_BINDING</constant></entry>
<entry><constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant>, <constant>GL_TRANSFORM_FEEDBACK_BUFFER</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_BUFFER_DATA_SIZE</constant></entry>
<entry align="left"><constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant></entry>
<entry><constant>GL_BUFFER_DATA_SIZE</constant></entry>
<entry><constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_NUM_ACTIVE_VARIABLES</constant></entry>
<entry align="left"><constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant>, <constant>GL_TRANSFORM_FEEDBACK_BUFFER</constant></entry>
<entry><constant>GL_NUM_ACTIVE_VARIABLES</constant></entry>
<entry><constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant>, <constant>GL_TRANSFORM_FEEDBACK_BUFFER</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_ACTIVE_VARIABLES</constant></entry>
<entry align="left"><constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant>, <constant>GL_TRANSFORM_FEEDBACK_BUFFER</constant></entry>
<entry><constant>GL_ACTIVE_VARIABLES</constant></entry>
<entry><constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant>, <constant>GL_TRANSFORM_FEEDBACK_BUFFER</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_REFERENCED_BY_VERTEX_SHADER</constant></entry>
<entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_SHADER</constant>,
<entry><constant>GL_REFERENCED_BY_VERTEX_SHADER</constant></entry>
<entry><constant>GL_UNIFORM</constant>, <constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_SHADER</constant>,
<constant>GL_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant>, <constant>GL_BUFFER_VARIABLE</constant>,
<constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_REFERENCED_BY_TESS_CONTROL_SHADER</constant></entry>
<entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_SHADER</constant>,
<entry><constant>GL_REFERENCED_BY_TESS_CONTROL_SHADER</constant></entry>
<entry><constant>GL_UNIFORM</constant>, <constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_SHADER</constant>,
<constant>GL_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant>, <constant>GL_BUFFER_VARIABLE</constant>,
<constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_REFERENCED_BY_TESS_EVALUATION_SHADER</constant></entry>
<entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_SHADER</constant>,
<entry><constant>GL_REFERENCED_BY_TESS_EVALUATION_SHADER</constant></entry>
<entry><constant>GL_UNIFORM</constant>, <constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_SHADER</constant>,
<constant>GL_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant>, <constant>GL_BUFFER_VARIABLE</constant>,
<constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_REFERENCED_BY_GEOMETRY_SHADER</constant></entry>
<entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_SHADER</constant>,
<entry><constant>GL_REFERENCED_BY_GEOMETRY_SHADER</constant></entry>
<entry><constant>GL_UNIFORM</constant>, <constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_SHADER</constant>,
<constant>GL_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant>, <constant>GL_BUFFER_VARIABLE</constant>,
<constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_REFERENCED_BY_FRAGMENT_SHADER</constant></entry>
<entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_SHADER</constant>,
<entry><constant>GL_REFERENCED_BY_FRAGMENT_SHADER</constant></entry>
<entry><constant>GL_UNIFORM</constant>, <constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_SHADER</constant>,
<constant>GL_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant>, <constant>GL_BUFFER_VARIABLE</constant>,
<constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_REFERENCED_BY_COMPUTE_SHADER</constant></entry>
<entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_SHADER</constant>,
<entry><constant>GL_REFERENCED_BY_COMPUTE_SHADER</constant></entry>
<entry><constant>GL_UNIFORM</constant>, <constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_SHADER</constant>,
<constant>GL_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant>, <constant>GL_BUFFER_VARIABLE</constant>,
<constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_NUM_COMPATIBLE_SUBROUTINES</constant></entry>
<entry align="left"><constant>GL_VERTEX_SUBROUTINE_UNIFORM</constant>, <constant>GL_TESS_CONTROL_SUBROUTINE_UNIFORM</constant>,
<entry><constant>GL_NUM_COMPATIBLE_SUBROUTINES</constant></entry>
<entry><constant>GL_VERTEX_SUBROUTINE_UNIFORM</constant>, <constant>GL_TESS_CONTROL_SUBROUTINE_UNIFORM</constant>,
<constant>GL_TESS_EVALUATION_SUBROUTINE_UNIFORM</constant>, <constant>GL_GEOMETRY_SUBROUTINE_UNIFORM</constant>,
<constant>GL_FRAGMENT_SUBROUTINE_UNIFORM</constant>, <constant>GL_COMPUTE_SUBROUTINE_UNIFORM</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_COMPATIBLE_SUBROUTINES</constant></entry>
<entry align="left"><constant>GL_VERTEX_SUBROUTINE_UNIFORM</constant>, <constant>GL_TESS_CONTROL_SUBROUTINE_UNIFORM</constant>,
<entry><constant>GL_COMPATIBLE_SUBROUTINES</constant></entry>
<entry><constant>GL_VERTEX_SUBROUTINE_UNIFORM</constant>, <constant>GL_TESS_CONTROL_SUBROUTINE_UNIFORM</constant>,
<constant>GL_TESS_EVALUATION_SUBROUTINE_UNIFORM</constant>, <constant>GL_GEOMETRY_SUBROUTINE_UNIFORM</constant>,
<constant>GL_FRAGMENT_SUBROUTINE_UNIFORM</constant>, <constant>GL_COMPUTE_SUBROUTINE_UNIFORM</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_TOP_LEVEL_ARRAY_SIZE</constant></entry>
<entry align="left"><constant>GL_BUFFER_VARIABLE</constant></entry>
<entry><constant>GL_TOP_LEVEL_ARRAY_SIZE</constant></entry>
<entry><constant>GL_BUFFER_VARIABLE</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_TOP_LEVEL_ARRAY_STRIDE</constant></entry>
<entry align="left"><constant>GL_BUFFER_VARIABLE</constant></entry>
<entry><constant>GL_TOP_LEVEL_ARRAY_STRIDE</constant></entry>
<entry><constant>GL_BUFFER_VARIABLE</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_LOCATION</constant></entry>
<entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant>,
<entry><constant>GL_LOCATION</constant></entry>
<entry><constant>GL_UNIFORM</constant>, <constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant>,
<constant>GL_VERTEX_SUBROUTINE_UNIFORM</constant>, <constant>GL_TESS_CONTROL_SUBROUTINE_UNIFORM</constant>,
<constant>GL_TESS_EVALUATION_SUBROUTINE_UNIFORM</constant>, <constant>GL_GEOMETRY_SUBROUTINE_UNIFORM</constant>,
<constant>GL_FRAGMENT_SUBROUTINE_UNIFORM</constant>, <constant>GL_COMPUTE_SUBROUTINE_UNIFORM</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_LOCATION_INDEX</constant></entry>
<entry align="left"><constant>GL_PROGRAM_OUTPUT</constant></entry>
<entry><constant>GL_LOCATION_INDEX</constant></entry>
<entry><constant>GL_PROGRAM_OUTPUT</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_IS_PER_PATCH</constant></entry>
<entry align="left"><constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant></entry>
<entry><constant>GL_IS_PER_PATCH</constant></entry>
<entry><constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_LOCATION_COMPONENT</constant></entry>
<entry align="left"><constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant></entry>
<entry><constant>GL_LOCATION_COMPONENT</constant></entry>
<entry><constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_TRANSFORM_FEEDBACK_BUFFER_INDEX</constant></entry>
<entry align="left"><constant>GL_TRANSFORM_FEEDBACK_VARYING</constant></entry>
<entry><constant>GL_TRANSFORM_FEEDBACK_BUFFER_INDEX</constant></entry>
<entry><constant>GL_TRANSFORM_FEEDBACK_VARYING</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE</constant></entry>
<entry align="left"><constant>GL_TRANSFORM_FEEDBACK_BUFFER</constant></entry>
<entry><constant>GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE</constant></entry>
<entry><constant>GL_TRANSFORM_FEEDBACK_BUFFER</constant></entry>
</row>
</tbody>
</tgroup>
@ -420,8 +420,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
Copyright <trademark class="copyright"></trademark> 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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -206,8 +206,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
Copyright <trademark class="copyright"></trademark> 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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -133,8 +133,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
Copyright <trademark class="copyright"></trademark> 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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -130,8 +130,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
Copyright <trademark class="copyright"></trademark> 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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -231,8 +231,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
Copyright <trademark class="copyright"></trademark> 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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -163,8 +163,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI
Free Software B License. For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.

View file

@ -316,7 +316,7 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI
Free Software B License. For details, see

View file

@ -407,7 +407,7 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI
Free Software B License. For details, see

View file

@ -99,7 +99,8 @@
variable selected by <parameter>index</parameter>. An <parameter>index</parameter> of 0 selects
the first varying variable specified in the <parameter>varyings</parameter> array passed
to <citerefentry><refentrytitle>glTransformFeedbackVaryings</refentrytitle></citerefentry>, and
an <parameter>index</parameter> of <constant>GL_TRANSFORM_FEEDBACK_VARYINGS</constant> - 1 selects
an <parameter>index</parameter> of the value of
<constant>GL_TRANSFORM_FEEDBACK_VARYINGS</constant> minus one selects
the last such variable.
</para>
<para>

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glHint</refentrytitle>
@ -174,9 +178,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -69,8 +69,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
Copyright <trademark class="copyright"></trademark> 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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -95,8 +95,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
Copyright <trademark class="copyright"></trademark> 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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -114,8 +114,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
Copyright <trademark class="copyright"></trademark> 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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -160,8 +160,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
Copyright <trademark class="copyright"></trademark> 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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -92,8 +92,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
Copyright <trademark class="copyright"></trademark> 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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -164,8 +164,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
Copyright <trademark class="copyright"></trademark> 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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -69,219 +69,223 @@
</para>
<para>
</para>
<informaltable frame="topbot">
<informaltable>
<tgroup cols="2" align="left">
<colspec/>
<colspec/>
<thead>
<row>
<entry rowsep="1" align="left"><emphasis role="bold">
Constant
</emphasis></entry>
<entry rowsep="1" align="left"><emphasis role="bold">
See
</emphasis></entry>
<entry>
<emphasis role="bold"> Constant </emphasis>
</entry>
<entry>
<emphasis role="bold"> See </emphasis>
</entry>
</row>
</thead>
<tbody>
<row>
<entry align="left">
<constant>GL_BLEND</constant>
<entry>
<constant>GL_BLEND</constant>
</entry>
<entry align="left">
<citerefentry><refentrytitle>glBlendFunc</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glLogicOp</refentrytitle></citerefentry>
<entry>
<citerefentry><refentrytitle>glBlendFunc</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glLogicOp</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<constant>GL_CLIP_DISTANCE</constant><emphasis>i</emphasis>
<entry>
<constant>GL_CLIP_DISTANCE</constant><emphasis>i</emphasis>
</entry>
<entry align="left">
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
<entry>
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<constant>GL_COLOR_LOGIC_OP</constant>
<entry>
<constant>GL_COLOR_LOGIC_OP</constant>
</entry>
<entry align="left">
<citerefentry><refentrytitle>glLogicOp</refentrytitle></citerefentry>
<entry>
<citerefentry><refentrytitle>glLogicOp</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<constant>GL_CULL_FACE</constant>
<entry>
<constant>GL_CULL_FACE</constant>
</entry>
<entry align="left">
<citerefentry><refentrytitle>glCullFace</refentrytitle></citerefentry>
<entry>
<citerefentry><refentrytitle>glCullFace</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<constant>GL_DEPTH_CLAMP</constant>
<entry>
<constant>GL_DEPTH_CLAMP</constant>
</entry>
<entry align="left">
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
<entry>
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<constant>GL_DEBUG_OUTPUT</constant>
<entry>
<constant>GL_DEBUG_OUTPUT</constant>
</entry>
<entry align="left">
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
<entry>
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<constant>GL_DEBUG_OUTPUT_SYNCHRONOUS</constant>
<entry>
<constant>GL_DEBUG_OUTPUT_SYNCHRONOUS</constant>
</entry>
<entry align="left">
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
<entry>
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<constant>GL_DEPTH_TEST</constant>
<entry>
<constant>GL_DEPTH_TEST</constant>
</entry>
<entry align="left">
<citerefentry><refentrytitle>glDepthFunc</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glDepthRange</refentrytitle></citerefentry>
<entry>
<citerefentry><refentrytitle>glDepthFunc</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glDepthRange</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<constant>GL_DITHER</constant>
<entry>
<constant>GL_DITHER</constant>
</entry>
<entry align="left">
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
<entry>
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<constant>GL_FRAMEBUFFER_SRGB</constant>
<entry>
<constant>GL_FRAMEBUFFER_SRGB</constant>
</entry>
<entry align="left">
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
<entry>
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<constant>GL_LINE_SMOOTH</constant>
<entry>
<constant>GL_LINE_SMOOTH</constant>
</entry>
<entry align="left">
<citerefentry><refentrytitle>glLineWidth</refentrytitle></citerefentry>
<entry>
<citerefentry><refentrytitle>glLineWidth</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<constant>GL_MULTISAMPLE</constant>
<entry>
<constant>GL_MULTISAMPLE</constant>
</entry>
<entry align="left">
<citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>
<entry>
<citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<constant>GL_POLYGON_SMOOTH</constant>
<entry>
<constant>GL_POLYGON_SMOOTH</constant>
</entry>
<entry align="left">
<citerefentry><refentrytitle>glPolygonMode</refentrytitle></citerefentry>
<entry>
<citerefentry><refentrytitle>glPolygonMode</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<constant>GL_POLYGON_OFFSET_FILL</constant>
<entry>
<constant>GL_POLYGON_OFFSET_FILL</constant>
</entry>
<entry align="left">
<citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>
<entry>
<citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<constant>GL_POLYGON_OFFSET_LINE</constant>
<entry>
<constant>GL_POLYGON_OFFSET_LINE</constant>
</entry>
<entry align="left">
<citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>
<entry>
<citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<constant>GL_POLYGON_OFFSET_POINT</constant>
<entry>
<constant>GL_POLYGON_OFFSET_POINT</constant>
</entry>
<entry align="left">
<citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>
<entry>
<citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<constant>GL_PROGRAM_POINT_SIZE</constant>
<entry>
<constant>GL_PROGRAM_POINT_SIZE</constant>
</entry>
<entry align="left">
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
<entry>
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<constant>GL_PRIMITIVE_RESTART</constant>
<entry>
<constant>GL_PRIMITIVE_RESTART</constant>
</entry>
<entry align="left">
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glPrimitiveRestartIndex</refentrytitle></citerefentry>
<entry>
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glPrimitiveRestartIndex</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<constant>GL_SAMPLE_ALPHA_TO_COVERAGE</constant>
<entry>
<constant>GL_SAMPLE_ALPHA_TO_COVERAGE</constant>
</entry>
<entry align="left">
<citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>
<entry>
<citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<constant>GL_SAMPLE_ALPHA_TO_ONE</constant>
<entry>
<constant>GL_SAMPLE_ALPHA_TO_ONE</constant>
</entry>
<entry align="left">
<citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>
<entry>
<citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<constant>GL_SAMPLE_COVERAGE</constant>
<entry>
<constant>GL_SAMPLE_COVERAGE</constant>
</entry>
<entry align="left">
<citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>
<entry>
<citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<constant>GL_SAMPLE_MASK</constant>
<entry>
<constant>GL_SAMPLE_MASK</constant>
</entry>
<entry align="left">
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
<entry>
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<constant>GL_SCISSOR_TEST</constant>
<entry>
<constant>GL_SCISSOR_TEST</constant>
</entry>
<entry align="left">
<citerefentry><refentrytitle>glScissor</refentrytitle></citerefentry>
<entry>
<citerefentry><refentrytitle>glScissor</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<constant>GL_STENCIL_TEST</constant>
<entry>
<constant>GL_STENCIL_TEST</constant>
</entry>
<entry align="left">
<citerefentry><refentrytitle>glStencilFunc</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glStencilOp</refentrytitle></citerefentry>
<entry>
<citerefentry><refentrytitle>glStencilFunc</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glStencilOp</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<constant>GL_TEXTURE_CUBE_MAP_SEAMLESS</constant>
<entry>
<constant>GL_TEXTURE_CUBE_MAP_SEAMLESS</constant>
</entry>
<entry align="left">
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
<entry>
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>
</tbody>
@ -317,8 +321,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI
Free Software B License. For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glIsTexture</refentrytitle>
@ -64,9 +68,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glLineWidth</refentrytitle>
@ -145,9 +149,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -7,6 +7,10 @@
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
<copyright>
<year>2010-2013</year>
<holder>Khronos Group</holder>
</copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glLogicOp</refentrytitle>
@ -67,147 +71,147 @@
</para>
<para>
</para>
<informaltable frame="topbot">
<tgroup cols="2" align="left">
<colspec/>
<colspec/>
<informaltable>
<tgroup cols="2">
<colspec align="left" />
<colspec align="center" />
<thead>
<row>
<entry rowsep="1" align="left"><emphasis role="bold">
Opcode
</emphasis></entry>
<entry rowsep="1" align="left"><emphasis role="bold">
Resulting Operation
</emphasis></entry>
<entry>
<emphasis role="bold"> Opcode </emphasis>
</entry>
<entry>
<emphasis role="bold"> Resulting Operation </emphasis>
</entry>
</row>
</thead>
<tbody>
<row>
<entry align="left">
<constant>GL_CLEAR</constant>
<entry>
<constant>GL_CLEAR</constant>
</entry>
<entry align="center">
0
<entry>
0
</entry>
</row>
<row>
<entry align="left">
<constant>GL_SET</constant>
<entry>
<constant>GL_SET</constant>
</entry>
<entry align="center">
1
<entry>
1
</entry>
</row>
<row>
<entry align="left">
<constant>GL_COPY</constant>
<entry>
<constant>GL_COPY</constant>
</entry>
<entry align="center">
s
<entry>
s
</entry>
</row>
<row>
<entry align="left">
<constant>GL_COPY_INVERTED</constant>
<entry>
<constant>GL_COPY_INVERTED</constant>
</entry>
<entry align="center">
~s
<entry>
~s
</entry>
</row>
<row>
<entry align="left">
<constant>GL_NOOP</constant>
<entry>
<constant>GL_NOOP</constant>
</entry>
<entry align="center">
d
<entry>
d
</entry>
</row>
<row>
<entry align="left">
<constant>GL_INVERT</constant>
<entry>
<constant>GL_INVERT</constant>
</entry>
<entry align="center">
~d
<entry>
~d
</entry>
</row>
<row>
<entry align="left">
<constant>GL_AND</constant>
<entry>
<constant>GL_AND</constant>
</entry>
<entry align="center">
s &amp; d
<entry>
s &amp; d
</entry>
</row>
<row>
<entry align="left">
<constant>GL_NAND</constant>
<entry>
<constant>GL_NAND</constant>
</entry>
<entry align="center">
~(s &amp; d)
<entry>
~(s &amp; d)
</entry>
</row>
<row>
<entry align="left">
<constant>GL_OR</constant>
<entry>
<constant>GL_OR</constant>
</entry>
<entry align="center">
s | d
<entry>
s | d
</entry>
</row>
<row>
<entry align="left">
<constant>GL_NOR</constant>
<entry>
<constant>GL_NOR</constant>
</entry>
<entry align="center">
~(s | d)
<entry>
~(s | d)
</entry>
</row>
<row>
<entry align="left">
<constant>GL_XOR</constant>
<entry>
<constant>GL_XOR</constant>
</entry>
<entry align="center">
s ^ d
<entry>
s ^ d
</entry>
</row>
<row>
<entry align="left">
<constant>GL_EQUIV</constant>
<entry>
<constant>GL_EQUIV</constant>
</entry>
<entry align="center">
~(s ^ d)
<entry>
~(s ^ d)
</entry>
</row>
<row>
<entry align="left">
<constant>GL_AND_REVERSE</constant>
<entry>
<constant>GL_AND_REVERSE</constant>
</entry>
<entry align="center">
s &amp; ~d
<entry>
s &amp; ~d
</entry>
</row>
<row>
<entry align="left">
<constant>GL_AND_INVERTED</constant>
<entry>
<constant>GL_AND_INVERTED</constant>
</entry>
<entry align="center">
~s &amp; d
<entry>
~s &amp; d
</entry>
</row>
<row>
<entry align="left">
<constant>GL_OR_REVERSE</constant>
<entry>
<constant>GL_OR_REVERSE</constant>
</entry>
<entry align="center">
s | ~d
<entry>
s | ~d
</entry>
</row>
<row>
<entry align="left">
<constant>GL_OR_INVERTED</constant>
<entry>
<constant>GL_OR_INVERTED</constant>
</entry>
<entry align="center">
~s | d
<entry>
~s | d
</entry>
</row>
</tbody>
@ -260,9 +264,10 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>

View file

@ -181,7 +181,7 @@
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2012-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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -201,8 +201,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -112,8 +112,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
Copyright <trademark class="copyright"></trademark> 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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -92,8 +92,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
Copyright <trademark class="copyright"></trademark> 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.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>

View file

@ -1016,310 +1016,310 @@
</para>
<para>
</para>
<informaltable frame="topbot">
<tgroup cols="4" align="left">
<colspec colwidth="2.5*" />
<colspec colwidth="1*" align="center"/>
<colspec colwidth="1*" align="center"/>
<colspec colwidth="2*" align="center"/>
<informaltable>
<tgroup cols="4">
<colspec colwidth="2.5*" align="left" />
<colspec colwidth="1*" align="center" />
<colspec colwidth="1*" align="center" />
<colspec colwidth="2*" align="center" />
<thead>
<row>
<entry rowsep="1" align="left"><emphasis role="bold">
<parameter>pname</parameter>
</emphasis></entry>
<entry rowsep="1" align="center"><emphasis role="bold">
Type
</emphasis></entry>
<entry rowsep="1" align="center"><emphasis role="bold">
Initial Value
</emphasis></entry>
<entry rowsep="1" align="center"><emphasis role="bold">
Valid Range
</emphasis></entry>
<entry>
<emphasis role="bold"> <parameter>pname</parameter> </emphasis>
</entry>
<entry>
<emphasis role="bold"> Type </emphasis>
</entry>
<entry>
<emphasis role="bold"> Initial Value </emphasis>
</entry>
<entry>
<emphasis role="bold"> Valid Range </emphasis>
</entry>
</row>
</thead>
<tbody>
<row>
<entry align="left">
<entry>
<constant>GL_PACK_SWAP_BYTES</constant>
</entry>
<entry align="center">
<entry>
boolean
</entry>
<entry align="center">
<entry>
false
</entry>
<entry align="center">
<entry>
true or false
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_PACK_LSB_FIRST</constant>
</entry>
<entry align="center">
<entry>
boolean
</entry>
<entry align="center">
<entry>
false
</entry>
<entry align="center">
<entry>
true or false
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_PACK_ROW_LENGTH</constant>
</entry>
<entry align="center">
<entry>
integer
</entry>
<entry align="center">
<entry>
0
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: left [ 0,\(if right ): -->
<mml:mfenced open="[" close=")">
<mml:mn>0</mml:mn>
<mml:infinity/>
<mml:mn>&infin;</mml:mn>
</mml:mfenced>
</mml:math></inlineequation>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_PACK_IMAGE_HEIGHT</constant>
</entry>
<entry align="center">
<entry>
integer
</entry>
<entry align="center">
<entry>
0
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: left [ 0, \(if right ): -->
<mml:mfenced open="[" close=")">
<mml:mn>0</mml:mn>
<mml:infinity/>
<mml:mn>&infin;</mml:mn>
</mml:mfenced>
</mml:math></inlineequation>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_PACK_SKIP_ROWS</constant>
</entry>
<entry align="center">
<entry>
integer
</entry>
<entry align="center">
<entry>
0
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: left [ 0,\(if right ): -->
<mml:mfenced open="[" close=")">
<mml:mn>0</mml:mn>
<mml:infinity/>
<mml:mn>&infin;</mml:mn>
</mml:mfenced>
</mml:math></inlineequation>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_PACK_SKIP_PIXELS</constant>
</entry>
<entry align="center">
<entry>
integer
</entry>
<entry align="center">
<entry>
0
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: left [ 0,\(if right ): -->
<mml:mfenced open="[" close=")">
<mml:mn>0</mml:mn>
<mml:infinity/>
<mml:mn>&infin;</mml:mn>
</mml:mfenced>
</mml:math></inlineequation>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_PACK_SKIP_IMAGES</constant>
</entry>
<entry align="center">
<entry>
integer
</entry>
<entry align="center">
<entry>
0
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: left [ 0,\(if right ): -->
<mml:mfenced open="[" close=")">
<mml:mn>0</mml:mn>
<mml:infinity/>
<mml:mn>&infin;</mml:mn>
</mml:mfenced>
</mml:math></inlineequation>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_PACK_ALIGNMENT</constant>
</entry>
<entry align="center">
<entry>
integer
</entry>
<entry align="center">
<entry>
4
</entry>
<entry align="center">
<entry>
1, 2, 4, or 8
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNPACK_SWAP_BYTES</constant>
</entry>
<entry align="center">
<entry>
boolean
</entry>
<entry align="center">
<entry>
false
</entry>
<entry align="center">
<entry>
true or false
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNPACK_LSB_FIRST</constant>
</entry>
<entry align="center">
<entry>
boolean
</entry>
<entry align="center">
<entry>
false
</entry>
<entry align="center">
<entry>
true or false
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNPACK_ROW_LENGTH</constant>
</entry>
<entry align="center">
<entry>
integer
</entry>
<entry align="center">
<entry>
0
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: left [ 0,\(if right ): -->
<mml:mfenced open="[" close=")">
<mml:mn>0</mml:mn>
<mml:infinity/>
<mml:mn>&infin;</mml:mn>
</mml:mfenced>
</mml:math></inlineequation>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNPACK_IMAGE_HEIGHT</constant>
</entry>
<entry align="center">
<entry>
integer
</entry>
<entry align="center">
<entry>
0
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: left [ 0,\(if right ): -->
<mml:mfenced open="[" close=")">
<mml:mn>0</mml:mn>
<mml:infinity/>
<mml:mn>&infin;</mml:mn>
</mml:mfenced>
</mml:math></inlineequation>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNPACK_SKIP_ROWS</constant>
</entry>
<entry align="center">
<entry>
integer
</entry>
<entry align="center">
<entry>
0
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: left [ 0,\(if right ): -->
<mml:mfenced open="[" close=")">
<mml:mn>0</mml:mn>
<mml:infinity/>
<mml:mn>&infin;</mml:mn>
</mml:mfenced>
</mml:math></inlineequation>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNPACK_SKIP_PIXELS</constant>
</entry>
<entry align="center">
<entry>
integer
</entry>
<entry align="center">
<entry>
0
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: left [ 0,\(if right ): -->
<mml:mfenced open="[" close=")">
<mml:mn>0</mml:mn>
<mml:infinity/>
<mml:mn>&infin;</mml:mn>
</mml:mfenced>
</mml:math></inlineequation>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNPACK_SKIP_IMAGES</constant>
</entry>
<entry align="center">
<entry>
integer
</entry>
<entry align="center">
<entry>
0
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: left [ 0,\(if right ): -->
<mml:mfenced open="[" close=")">
<mml:mn>0</mml:mn>
<mml:infinity/>
<mml:mn>&infin;</mml:mn>
</mml:mfenced>
</mml:math></inlineequation>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNPACK_ALIGNMENT</constant>
</entry>
<entry align="center">
<entry>
integer
</entry>
<entry align="center">
<entry>
4
</entry>
<entry align="center">
<entry>
1, 2, 4, or 8
</entry>
</row>
@ -1421,8 +1421,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI
Free Software B License. For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.

View file

@ -141,8 +141,8 @@
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI
Free Software B License. For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.

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