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">
<entry>
<emphasis role="bold">
Transform Feedback <parameter>primitiveMode</parameter>
</emphasis></entry>
<entry rowsep="1" align="left"><emphasis role="bold">
</emphasis>
</entry>
<entry>
<emphasis role="bold">
Allowed Render Primitive <parameter>modes</parameter>
</emphasis></entry>
</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>
<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">
<entry>
<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">
<entry>
<emphasis role="bold">
Transform Feedback <parameter>primitiveMode</parameter>
</emphasis></entry>
<entry rowsep="1" align="left"><emphasis role="bold">
</emphasis>
</entry>
<entry>
<emphasis role="bold">
Allowed Geometry Shader Output Primitive Type
</emphasis></entry>
</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

@ -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,30 +188,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>
@ -285,7 +285,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>
@ -313,10 +313,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>
@ -390,7 +390,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>
@ -418,10 +418,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>
@ -495,7 +495,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>
@ -523,10 +523,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>
@ -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>

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,16 +329,16 @@
</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">
<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=")">
@ -352,15 +356,15 @@
</mml:msub>
</mml:mfenced>
</mml:math></inlineequation>
</emphasis></entry>
</entry>
</row>
</thead>
<tbody>
<row>
<entry align="left">
<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

@ -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

@ -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

@ -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

@ -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>
<table frame="topbot"><title>Sized Internal Formats</title>
</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><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>

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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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>

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,218 +69,222 @@
</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">
<entry>
<constant>GL_BLEND</constant>
</entry>
<entry align="left">
<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>
<entry align="left">
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<constant>GL_COLOR_LOGIC_OP</constant>
</entry>
<entry align="left">
<entry>
<citerefentry><refentrytitle>glBlendFunc</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glLogicOp</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_CLIP_DISTANCE</constant><emphasis>i</emphasis>
</entry>
<entry>
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry>
<constant>GL_COLOR_LOGIC_OP</constant>
</entry>
<entry>
<citerefentry><refentrytitle>glLogicOp</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry>
<constant>GL_CULL_FACE</constant>
</entry>
<entry align="left">
<entry>
<citerefentry><refentrytitle>glCullFace</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_DEPTH_CLAMP</constant>
</entry>
<entry align="left">
<entry>
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_DEBUG_OUTPUT</constant>
</entry>
<entry align="left">
<entry>
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_DEBUG_OUTPUT_SYNCHRONOUS</constant>
</entry>
<entry align="left">
<entry>
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<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">
<entry>
<constant>GL_DITHER</constant>
</entry>
<entry align="left">
<entry>
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_FRAMEBUFFER_SRGB</constant>
</entry>
<entry align="left">
<entry>
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_LINE_SMOOTH</constant>
</entry>
<entry align="left">
<entry>
<citerefentry><refentrytitle>glLineWidth</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_MULTISAMPLE</constant>
</entry>
<entry align="left">
<entry>
<citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_POLYGON_SMOOTH</constant>
</entry>
<entry align="left">
<entry>
<citerefentry><refentrytitle>glPolygonMode</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_POLYGON_OFFSET_FILL</constant>
</entry>
<entry align="left">
<entry>
<citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_POLYGON_OFFSET_LINE</constant>
</entry>
<entry align="left">
<entry>
<citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_POLYGON_OFFSET_POINT</constant>
</entry>
<entry align="left">
<entry>
<citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_PROGRAM_POINT_SIZE</constant>
</entry>
<entry align="left">
<entry>
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<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">
<entry>
<constant>GL_SAMPLE_ALPHA_TO_COVERAGE</constant>
</entry>
<entry align="left">
<entry>
<citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_SAMPLE_ALPHA_TO_ONE</constant>
</entry>
<entry align="left">
<entry>
<citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_SAMPLE_COVERAGE</constant>
</entry>
<entry align="left">
<entry>
<citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_SAMPLE_MASK</constant>
</entry>
<entry align="left">
<entry>
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_SCISSOR_TEST</constant>
</entry>
<entry align="left">
<entry>
<citerefentry><refentrytitle>glScissor</refentrytitle></citerefentry>
</entry>
</row>
<row>
<entry align="left">
<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">
<entry>
<constant>GL_TEXTURE_CUBE_MAP_SEAMLESS</constant>
</entry>
<entry align="left">
<entry>
<citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>

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,146 +71,146 @@
</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">
<entry>
<constant>GL_CLEAR</constant>
</entry>
<entry align="center">
<entry>
0
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_SET</constant>
</entry>
<entry align="center">
<entry>
1
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_COPY</constant>
</entry>
<entry align="center">
<entry>
s
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_COPY_INVERTED</constant>
</entry>
<entry align="center">
<entry>
~s
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_NOOP</constant>
</entry>
<entry align="center">
<entry>
d
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_INVERT</constant>
</entry>
<entry align="center">
<entry>
~d
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_AND</constant>
</entry>
<entry align="center">
<entry>
s &amp; d
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_NAND</constant>
</entry>
<entry align="center">
<entry>
~(s &amp; d)
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_OR</constant>
</entry>
<entry align="center">
<entry>
s | d
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_NOR</constant>
</entry>
<entry align="center">
<entry>
~(s | d)
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_XOR</constant>
</entry>
<entry align="center">
<entry>
s ^ d
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_EQUIV</constant>
</entry>
<entry align="center">
<entry>
~(s ^ d)
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_AND_REVERSE</constant>
</entry>
<entry align="center">
<entry>
s &amp; ~d
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_AND_INVERTED</constant>
</entry>
<entry align="center">
<entry>
~s &amp; d
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_OR_REVERSE</constant>
</entry>
<entry align="center">
<entry>
s | ~d
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_OR_INVERTED</constant>
</entry>
<entry align="center">
<entry>
~s | d
</entry>
</row>
@ -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

@ -1016,310 +1016,310 @@
</para>
<para>
</para>
<informaltable frame="topbot">
<tgroup cols="4" align="left">
<colspec colwidth="2.5*" />
<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>

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>glPointSize</refentrytitle>
@ -81,9 +85,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>glPolygonMode</refentrytitle>
@ -138,9 +142,10 @@ glPolygonMode(<constant>GL_FRONT_AND_BACK</constant>, <constant>GL_LINE</constan
</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>glPolygonOffset</refentrytitle>
@ -110,9 +114,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

@ -46,22 +46,21 @@
<parameter>provokeMode</parameter> must be either <constant>GL_FIRST_VERTEX_CONVENTION</constant> or
<constant>GL_LAST_VERTEX_CONVENTION</constant>, and controls the selection of the vertex whose values are assigned to flatshaded
varying outputs. The interpretation of these values for the supported primitive types is:
<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">
Primitive Type of Polygon <emphasis>i</emphasis>
</emphasis></entry>
<entry rowsep="1" align="left"><emphasis role="bold">
First Vertex Convention
</emphasis></entry>
<entry rowsep="1" align="left"><emphasis role="bold">
Last Vertex Convention
</emphasis></entry>
<entry>
<emphasis role="bold"> Primitive Type of Polygon <emphasis>i</emphasis> </emphasis>
</entry>
<entry><emphasis role="bold"> First Vertex Convention </emphasis>
</entry>
<entry>
<emphasis role="bold"> Last Vertex Convention </emphasis>
</entry>
</row>
</thead>
<tbody>

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>glReadPixels</refentrytitle>
@ -259,30 +263,30 @@
</para>
<para>
</para>
<informaltable frame="topbot">
<tgroup cols="3" align="left">
<colspec/>
<informaltable>
<tgroup cols="3">
<colspec align="left" />
<colspec align="center" />
<colspec align="center" />
<thead>
<row>
<entry rowsep="1" align="left">
<entry>
<parameter>type</parameter>
</entry>
<entry rowsep="1" align="center"><emphasis role="bold">
Index Mask
</emphasis></entry>
<entry rowsep="1" align="center"><emphasis role="bold">
Component Conversion
</emphasis></entry>
<entry>
<emphasis role="bold"> Index Mask </emphasis>
</entry>
<entry>
<emphasis role="bold"> Component Conversion </emphasis>
</entry>
</row>
</thead>
<tbody>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_BYTE</constant>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup 8 - 1: -->
<mml:mrow>
@ -294,7 +298,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup 8 - 1) c: -->
<mml:mrow>
@ -314,10 +318,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_BYTE</constant>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup 7 - 1: -->
<mml:mrow>
@ -329,7 +333,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: {(2 sup 8 - 1) c - 1} / 2: -->
<mml:mfrac>
@ -356,10 +360,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_SHORT</constant>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup 16 - 1: -->
<mml:mrow>
@ -371,7 +375,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup 16 - 1) c: -->
<mml:mrow>
@ -391,10 +395,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_SHORT</constant>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup 15 - 1: -->
<mml:mrow>
@ -406,7 +410,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: {(2 sup 16 - 1) c - 1} / 2: -->
<mml:mfrac>
@ -433,10 +437,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_INT</constant>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup 32 - 1: -->
<mml:mrow>
@ -448,7 +452,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup 32 - 1) c: -->
<mml:mrow>
@ -468,10 +472,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_INT</constant>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup 31 - 1: -->
<mml:mrow>
@ -483,7 +487,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: {(2 sup 32 - 1) c - 1} / 2: -->
<mml:mfrac>
@ -510,32 +514,32 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_HALF_FLOAT</constant>
</entry>
<entry align="center">
<entry>
none
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math><mml:mi mathvariant="italic">c</mml:mi></mml:math></inlineequation>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_FLOAT</constant>
</entry>
<entry align="center">
<entry>
none
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math><mml:mi mathvariant="italic">c</mml:mi></mml:math></inlineequation>
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_BYTE_3_3_2</constant>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup N - 1: -->
<mml:mrow>
@ -547,7 +551,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup N - 1) c: -->
<mml:mrow>
@ -567,10 +571,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_BYTE_2_3_3_REV</constant>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup N - 1: -->
<mml:mrow>
@ -582,7 +586,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup N - 1) c: -->
<mml:mrow>
@ -602,10 +606,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_SHORT_5_6_5</constant>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup N - 1: -->
<mml:mrow>
@ -617,7 +621,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup N - 1) c: -->
<mml:mrow>
@ -637,10 +641,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_SHORT_5_6_5_REV</constant>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup N - 1: -->
<mml:mrow>
@ -652,7 +656,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup N - 1) c: -->
<mml:mrow>
@ -672,10 +676,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_SHORT_4_4_4_4</constant>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup N - 1: -->
<mml:mrow>
@ -687,7 +691,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup N - 1) c: -->
<mml:mrow>
@ -707,10 +711,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_SHORT_4_4_4_4_REV</constant>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup N - 1: -->
<mml:mrow>
@ -722,7 +726,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup N - 1) c: -->
<mml:mrow>
@ -742,10 +746,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_SHORT_5_5_5_1</constant>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup N - 1: -->
<mml:mrow>
@ -757,7 +761,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup N - 1) c: -->
<mml:mrow>
@ -777,10 +781,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_SHORT_1_5_5_5_REV</constant>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup N - 1: -->
<mml:mrow>
@ -792,7 +796,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup N - 1) c: -->
<mml:mrow>
@ -812,10 +816,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_INT_8_8_8_8</constant>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup N - 1: -->
<mml:mrow>
@ -827,7 +831,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup N - 1) c: -->
<mml:mrow>
@ -847,10 +851,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_INT_8_8_8_8_REV</constant>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup N - 1: -->
<mml:mrow>
@ -862,7 +866,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup N - 1) c: -->
<mml:mrow>
@ -882,10 +886,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_INT_10_10_10_2</constant>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup N - 1: -->
<mml:mrow>
@ -897,7 +901,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup N - 1) c: -->
<mml:mrow>
@ -917,10 +921,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_INT_2_10_10_10_REV</constant>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup N - 1: -->
<mml:mrow>
@ -932,7 +936,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup N - 1) c: -->
<mml:mrow>
@ -952,10 +956,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_INT_24_8</constant>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup N - 1: -->
<mml:mrow>
@ -967,7 +971,7 @@
</mml:mrow>
</mml:math></inlineequation>
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup N - 1) c: -->
<mml:mrow>
@ -987,35 +991,35 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_INT_10F_11F_11F_REV</constant>
</entry>
<entry align="center">
<entry>
--
</entry>
<entry align="left">
<entry>
Special
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_UNSIGNED_INT_5_9_9_9_REV</constant>
</entry>
<entry align="center">
<entry>
--
</entry>
<entry align="left">
<entry>
Special
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_FLOAT_32_UNSIGNED_INT_24_8_REV</constant>
</entry>
<entry align="center">
<entry>
none
</entry>
<entry align="center">
<entry>
<inlineequation><mml:math><mml:mi mathvariant="italic">c</mml:mi></mml:math></inlineequation> (Depth Only)
</entry>
</row>
@ -1145,9 +1149,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>glSampleCoverage</refentrytitle>
@ -119,9 +123,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

@ -703,26 +703,26 @@
<para>
Specifies the comparison operator used when <constant>GL_TEXTURE_COMPARE_MODE</constant> is
set to <constant>GL_COMPARE_REF_TO_TEXTURE</constant>. Permissible values are:
<informaltable frame="topbot">
<informaltable>
<tgroup cols="2" align="left">
<colspec/>
<colspec/>
<thead>
<row>
<entry rowsep="1" align="left"><emphasis role="bold">
Texture Comparison Function
</emphasis></entry>
<entry rowsep="1" align="left"><emphasis role="bold">
Computed result
</emphasis></entry>
<entry>
<emphasis role="bold"> Texture Comparison Function </emphasis>
</entry>
<entry>
<emphasis role="bold"> Computed result </emphasis>
</entry>
</row>
</thead>
<tbody>
<row>
<entry align="left">
<entry>
<constant>GL_LEQUAL</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: result = left { cpile {1.0 above 0.0} lpile {r <= {D sub t} above r > {D sub t}}: -->
<mml:mrow>
@ -770,10 +770,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_GEQUAL</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: result = left { cpile {1.0 above 0.0} lpile {r <= {D sub t} above r > {D sub t}}: -->
<mml:mrow>
@ -821,10 +821,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_LESS</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: result = left { cpile {1.0 above 0.0} lpile {r <= {D sub t} above r > {D sub t}}: -->
<mml:mrow>
@ -872,10 +872,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_GREATER</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: result = left { cpile {1.0 above 0.0} lpile {r <= {D sub t} above r > {D sub t}}: -->
<mml:mrow>
@ -923,10 +923,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_EQUAL</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: result = left { cpile {1.0 above 0.0} lpile {r <= {D sub t} above r > {D sub t}}: -->
<mml:mrow>
@ -974,10 +974,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_NOTEQUAL</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: result = left { cpile {1.0 above 0.0} lpile {r <= {D sub t} above r > {D sub t}}: -->
<mml:mrow>
@ -1025,10 +1025,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_ALWAYS</constant>
</entry>
<entry align="left">
<entry>
<inlineequation>
<mml:math>
<mml:mrow>
@ -1041,10 +1041,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_NEVER</constant>
</entry>
<entry align="left">
<entry>
<inlineequation>
<mml:math>
<mml:mrow>

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>glScissor</refentrytitle>
@ -100,9 +104,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>glStencilFunc</refentrytitle>
@ -283,9 +287,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>glStencilMask</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

@ -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>glStencilOp</refentrytitle>
@ -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

@ -62,371 +62,7 @@
is non-zero, it must be the name of an existing buffer object. <parameter>target</parameter> must be <constant>GL_TEXTURE_BUFFER</constant>.
<parameter>internalformat</parameter> specifies the storage format, and must be one of the following sized internal formats:
</para>
<informaltable frame="topbot">
<tgroup cols="8" align="left">
<colspec colnum="1" colname="col1" colwidth="1*"/>
<colspec colnum="2" colname="col2" colwidth="2*"/>
<colspec colnum="3" colname="col3" colwidth="1.5*"/>
<colspec colnum="4" colname="col4" colwidth="1*"/>
<colspec colnum="5" colname="col5" colwidth="1*"/>
<colspec colnum="6" colname="col6" colwidth="2*"/>
<colspec colnum="7" colname="col7" colwidth="1.5*"/>
<colspec colnum="8" colname="col8" colwidth="1*"/>
<thead>
<row>
<entry morerows="1" rowsep="1" align="center"></entry>
<entry morerows="1" rowsep="1" align="center"></entry>
<entry morerows="1" rowsep="1" align="center"></entry>
<entry morerows="1" rowsep="1" align="center"></entry>
<entry namest="col5" nameend="col8" rowsep="1" align="left"><emphasis role="bold">
Component
</emphasis></entry>
</row>
</thead>
<tbody>
<row>
<entry align="left"><emphasis role="bold">Sized Internal Format</emphasis></entry>
<entry align="left"><emphasis role="bold">Base Type</emphasis></entry>
<entry align="left"><emphasis role="bold">Components</emphasis></entry>
<entry align="left"><emphasis role="bold">Norm</emphasis></entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
<entry align="center">2</entry>
<entry align="center">3</entry>
</row>
<row>
<entry align="left"><constant>GL_R8</constant></entry>
<entry align="left">ubyte</entry>
<entry align="left">1</entry>
<entry align="left">YES</entry>
<entry align="center">R</entry>
<entry align="center">0</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_R16</constant></entry>
<entry align="left">ushort</entry>
<entry align="left">1</entry>
<entry align="left">YES</entry>
<entry align="center">R</entry>
<entry align="center">0</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_R16F</constant></entry>
<entry align="left">half</entry>
<entry align="left">1</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">0</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_R32F</constant></entry>
<entry align="left">float</entry>
<entry align="left">1</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">0</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_R8I</constant></entry>
<entry align="left">byte</entry>
<entry align="left">1</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">0</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_R16I</constant></entry>
<entry align="left">short</entry>
<entry align="left">1</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">0</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_R32I</constant></entry>
<entry align="left">int</entry>
<entry align="left">1</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">0</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_R8UI</constant></entry>
<entry align="left">ubyte</entry>
<entry align="left">1</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">0</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_R16UI</constant></entry>
<entry align="left">ushort</entry>
<entry align="left">1</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">0</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_R32UI</constant></entry>
<entry align="left">uint</entry>
<entry align="left">1</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">0</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RG8</constant></entry>
<entry align="left">ubyte</entry>
<entry align="left">2</entry>
<entry align="left">YES</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RG16</constant></entry>
<entry align="left">ushort</entry>
<entry align="left">2</entry>
<entry align="left">YES</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RG16F</constant></entry>
<entry align="left">half</entry>
<entry align="left">2</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RG32F</constant></entry>
<entry align="left">float</entry>
<entry align="left">2</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RG8I</constant></entry>
<entry align="left">byte</entry>
<entry align="left">2</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RG16I</constant></entry>
<entry align="left">short</entry>
<entry align="left">2</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RG32I</constant></entry>
<entry align="left">int</entry>
<entry align="left">2</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RG8UI</constant></entry>
<entry align="left">ubyte</entry>
<entry align="left">2</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RG16UI</constant></entry>
<entry align="left">ushort</entry>
<entry align="left">2</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RG32UI</constant></entry>
<entry align="left">uint</entry>
<entry align="left">2</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RGB32F</constant></entry>
<entry align="left">float</entry>
<entry align="left">3</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">B</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RGB32I</constant></entry>
<entry align="left">int</entry>
<entry align="left">3</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">B</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RGB32UI</constant></entry>
<entry align="left">uint</entry>
<entry align="left">3</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">B</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RGBA8</constant></entry>
<entry align="left">uint</entry>
<entry align="left">4</entry>
<entry align="left">YES</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">B</entry>
<entry align="center">A</entry>
</row>
<row>
<entry align="left"><constant>GL_RGBA16</constant></entry>
<entry align="left">short</entry>
<entry align="left">4</entry>
<entry align="left">YES</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">B</entry>
<entry align="center">A</entry>
</row>
<row>
<entry align="left"><constant>GL_RGBA16F</constant></entry>
<entry align="left">half</entry>
<entry align="left">4</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">B</entry>
<entry align="center">A</entry>
</row>
<row>
<entry align="left"><constant>GL_RGBA32F</constant></entry>
<entry align="left">float</entry>
<entry align="left">4</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">B</entry>
<entry align="center">A</entry>
</row>
<row>
<entry align="left"><constant>GL_RGBA8I</constant></entry>
<entry align="left">byte</entry>
<entry align="left">4</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">B</entry>
<entry align="center">A</entry>
</row>
<row>
<entry align="left"><constant>GL_RGBA16I</constant></entry>
<entry align="left">short</entry>
<entry align="left">4</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">B</entry>
<entry align="center">A</entry>
</row>
<row>
<entry align="left"><constant>GL_RGBA32I</constant></entry>
<entry align="left">int</entry>
<entry align="left">4</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">B</entry>
<entry align="center">A</entry>
</row>
<row>
<entry align="left"><constant>GL_RGBA8UI</constant></entry>
<entry align="left">ubyte</entry>
<entry align="left">4</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">B</entry>
<entry align="center">A</entry>
</row>
<row>
<entry align="left"><constant>GL_RGBA16UI</constant></entry>
<entry align="left">ushort</entry>
<entry align="left">4</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">B</entry>
<entry align="center">A</entry>
</row>
<row>
<entry align="left"><constant>GL_RGBA32UI</constant></entry>
<entry align="left">uint</entry>
<entry align="left">4</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">B</entry>
<entry align="center">A</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="texboformattable.xml" />
<para>
When a buffer object is attached to a buffer texture, the buffer object's data store
is taken as the texture's texel array. The number of texels in the buffer texture's

View file

@ -85,371 +85,7 @@
an integer multiple of the value of <constant>GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT</constant>.
<parameter>internalformat</parameter> specifies the storage format, and must be one of the following sized internal formats:
</para>
<informaltable frame="topbot">
<tgroup cols="8" align="left">
<colspec colnum="1" colname="col1" colwidth="1*"/>
<colspec colnum="2" colname="col2" colwidth="2*"/>
<colspec colnum="3" colname="col3" colwidth="1.5*"/>
<colspec colnum="4" colname="col4" colwidth="1*"/>
<colspec colnum="5" colname="col5" colwidth="1*"/>
<colspec colnum="6" colname="col6" colwidth="2*"/>
<colspec colnum="7" colname="col7" colwidth="1.5*"/>
<colspec colnum="8" colname="col8" colwidth="1*"/>
<thead>
<row>
<entry morerows="1" rowsep="1" align="center"></entry>
<entry morerows="1" rowsep="1" align="center"></entry>
<entry morerows="1" rowsep="1" align="center"></entry>
<entry morerows="1" rowsep="1" align="center"></entry>
<entry namest="col5" nameend="col8" rowsep="1" align="left"><emphasis role="bold">
Component
</emphasis></entry>
</row>
</thead>
<tbody>
<row>
<entry align="left"><emphasis role="bold">Sized Internal Format</emphasis></entry>
<entry align="left"><emphasis role="bold">Base Type</emphasis></entry>
<entry align="left"><emphasis role="bold">Components</emphasis></entry>
<entry align="left"><emphasis role="bold">Norm</emphasis></entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
<entry align="center">2</entry>
<entry align="center">3</entry>
</row>
<row>
<entry align="left"><constant>GL_R8</constant></entry>
<entry align="left">ubyte</entry>
<entry align="left">1</entry>
<entry align="left">YES</entry>
<entry align="center">R</entry>
<entry align="center">0</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_R16</constant></entry>
<entry align="left">ushort</entry>
<entry align="left">1</entry>
<entry align="left">YES</entry>
<entry align="center">R</entry>
<entry align="center">0</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_R16F</constant></entry>
<entry align="left">half</entry>
<entry align="left">1</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">0</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_R32F</constant></entry>
<entry align="left">float</entry>
<entry align="left">1</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">0</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_R8I</constant></entry>
<entry align="left">byte</entry>
<entry align="left">1</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">0</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_R16I</constant></entry>
<entry align="left">short</entry>
<entry align="left">1</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">0</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_R32I</constant></entry>
<entry align="left">int</entry>
<entry align="left">1</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">0</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_R8UI</constant></entry>
<entry align="left">ubyte</entry>
<entry align="left">1</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">0</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_R16UI</constant></entry>
<entry align="left">ushort</entry>
<entry align="left">1</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">0</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_R32UI</constant></entry>
<entry align="left">uint</entry>
<entry align="left">1</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">0</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RG8</constant></entry>
<entry align="left">ubyte</entry>
<entry align="left">2</entry>
<entry align="left">YES</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RG16</constant></entry>
<entry align="left">ushort</entry>
<entry align="left">2</entry>
<entry align="left">YES</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RG16F</constant></entry>
<entry align="left">half</entry>
<entry align="left">2</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RG32F</constant></entry>
<entry align="left">float</entry>
<entry align="left">2</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RG8I</constant></entry>
<entry align="left">byte</entry>
<entry align="left">2</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RG16I</constant></entry>
<entry align="left">short</entry>
<entry align="left">2</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RG32I</constant></entry>
<entry align="left">int</entry>
<entry align="left">2</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RG8UI</constant></entry>
<entry align="left">ubyte</entry>
<entry align="left">2</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RG16UI</constant></entry>
<entry align="left">ushort</entry>
<entry align="left">2</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RG32UI</constant></entry>
<entry align="left">uint</entry>
<entry align="left">2</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">0</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RGB32F</constant></entry>
<entry align="left">float</entry>
<entry align="left">3</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">B</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RGB32I</constant></entry>
<entry align="left">int</entry>
<entry align="left">3</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">B</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RGB32UI</constant></entry>
<entry align="left">uint</entry>
<entry align="left">3</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">B</entry>
<entry align="center">1</entry>
</row>
<row>
<entry align="left"><constant>GL_RGBA8</constant></entry>
<entry align="left">uint</entry>
<entry align="left">4</entry>
<entry align="left">YES</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">B</entry>
<entry align="center">A</entry>
</row>
<row>
<entry align="left"><constant>GL_RGBA16</constant></entry>
<entry align="left">short</entry>
<entry align="left">4</entry>
<entry align="left">YES</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">B</entry>
<entry align="center">A</entry>
</row>
<row>
<entry align="left"><constant>GL_RGBA16F</constant></entry>
<entry align="left">half</entry>
<entry align="left">4</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">B</entry>
<entry align="center">A</entry>
</row>
<row>
<entry align="left"><constant>GL_RGBA32F</constant></entry>
<entry align="left">float</entry>
<entry align="left">4</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">B</entry>
<entry align="center">A</entry>
</row>
<row>
<entry align="left"><constant>GL_RGBA8I</constant></entry>
<entry align="left">byte</entry>
<entry align="left">4</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">B</entry>
<entry align="center">A</entry>
</row>
<row>
<entry align="left"><constant>GL_RGBA16I</constant></entry>
<entry align="left">short</entry>
<entry align="left">4</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">B</entry>
<entry align="center">A</entry>
</row>
<row>
<entry align="left"><constant>GL_RGBA32I</constant></entry>
<entry align="left">int</entry>
<entry align="left">4</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">B</entry>
<entry align="center">A</entry>
</row>
<row>
<entry align="left"><constant>GL_RGBA8UI</constant></entry>
<entry align="left">ubyte</entry>
<entry align="left">4</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">B</entry>
<entry align="center">A</entry>
</row>
<row>
<entry align="left"><constant>GL_RGBA16UI</constant></entry>
<entry align="left">ushort</entry>
<entry align="left">4</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">B</entry>
<entry align="center">A</entry>
</row>
<row>
<entry align="left"><constant>GL_RGBA32UI</constant></entry>
<entry align="left">uint</entry>
<entry align="left">4</entry>
<entry align="left">NO</entry>
<entry align="center">R</entry>
<entry align="center">G</entry>
<entry align="center">B</entry>
<entry align="center">A</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="texboformattable.xml" />
</refsect1>
<refsect1 id="errors"><title>Errors</title>
<para>

View file

@ -87,10 +87,16 @@
<function>glTexImage2DMultisample</function> establishes the data storage, format, dimensions and number of samples of a multisample texture's image.
</para>
<para>
<parameter>target</parameter> must be <constant>GL_TEXTURE_2D_MULTISAMPLE</constant> or <constant>GL_PROXY_TEXTURE_2D_MULTISAMPLE</constant>.
<parameter>width</parameter> and <parameter>height</parameter> are the dimensions in texels of the texture, and must be in the range zero
to <constant>GL_MAX_TEXTURE_SIZE</constant> - 1. <parameter>samples</parameter> specifies the number of samples in the image and must be
in the range zero to <constant>GL_MAX_SAMPLES</constant> - 1.
<parameter>target</parameter> must be
<constant>GL_TEXTURE_2D_MULTISAMPLE</constant> or
<constant>GL_PROXY_TEXTURE_2D_MULTISAMPLE</constant>.
<parameter>width</parameter> and <parameter>height</parameter>
are the dimensions in texels of the texture, and must be in the
range zero to the value of
<constant>GL_MAX_TEXTURE_SIZE</constant> minus one.
<parameter>samples</parameter> specifies the number of samples
in the image and must be in the range zero to the value of
<constant>GL_MAX_SAMPLES</constant> minus one.
</para>
<para>
<parameter>internalformat</parameter> must be a color-renderable, depth-renderable, or stencil-renderable format.

View file

@ -88,10 +88,18 @@
<function>glTexImage3DMultisample</function> establishes the data storage, format, dimensions and number of samples of a multisample texture's image.
</para>
<para>
<parameter>target</parameter> must be <constant>GL_TEXTURE_2D_MULTISAMPLE_ARRAY</constant> or <constant>GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY</constant>.
<parameter>width</parameter> and <parameter>height</parameter>are the dimensions in texels of the texture, and must
be in the range zero to <constant>GL_MAX_TEXTURE_SIZE</constant> - 1. <parameter>depth</parameter> is the number of array slices in the array texture's image.
<parameter>samples</parameter> specifies the number of samples in the image and must be in the range zero to <constant>GL_MAX_SAMPLES</constant> - 1.
<parameter>target</parameter> must be
<constant>GL_TEXTURE_2D_MULTISAMPLE_ARRAY</constant> or
<constant>GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY</constant>.
<parameter>width</parameter> and
<parameter>height</parameter>are the dimensions in texels of the
texture, and must be in the range zero to the value of
<constant>GL_MAX_TEXTURE_SIZE</constant> minus one.
<parameter>depth</parameter> is the number of array slices in
the array texture's image. <parameter>samples</parameter>
specifies the number of samples in the image and must be in the
range zero to the value of <constant>GL_MAX_SAMPLES</constant>
minus one.
</para>
<para>
<parameter>internalformat</parameter> must be a color-renderable, depth-renderable, or stencil-renderable format.

View file

@ -238,26 +238,26 @@
<para>
Specifies the comparison operator used when <constant>GL_TEXTURE_COMPARE_MODE</constant> is
set to <constant>GL_COMPARE_REF_TO_TEXTURE</constant>. Permissible values are:
<informaltable frame="topbot">
<informaltable>
<tgroup cols="2" align="left">
<colspec/>
<colspec/>
<thead>
<row>
<entry rowsep="1" align="left"><emphasis role="bold">
Texture Comparison Function
</emphasis></entry>
<entry rowsep="1" align="left"><emphasis role="bold">
Computed result
</emphasis></entry>
<entry>
<emphasis role="bold"> Texture Comparison Function </emphasis>
</entry>
<entry>
<emphasis role="bold"> Computed result </emphasis>
</entry>
</row>
</thead>
<tbody>
<row>
<entry align="left">
<entry>
<constant>GL_LEQUAL</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: result = left { cpile {1.0 above 0.0} lpile {r <= {D sub t} above r > {D sub t}}: -->
<mml:mrow>
@ -305,10 +305,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_GEQUAL</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: result = left { cpile {1.0 above 0.0} lpile {r <= {D sub t} above r > {D sub t}}: -->
<mml:mrow>
@ -356,10 +356,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_LESS</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: result = left { cpile {1.0 above 0.0} lpile {r <= {D sub t} above r > {D sub t}}: -->
<mml:mrow>
@ -407,10 +407,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_GREATER</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: result = left { cpile {1.0 above 0.0} lpile {r <= {D sub t} above r > {D sub t}}: -->
<mml:mrow>
@ -458,10 +458,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_EQUAL</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: result = left { cpile {1.0 above 0.0} lpile {r <= {D sub t} above r > {D sub t}}: -->
<mml:mrow>
@ -509,10 +509,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_NOTEQUAL</constant>
</entry>
<entry align="left">
<entry>
<inlineequation><mml:math>
<!-- eqn: result = left { cpile {1.0 above 0.0} lpile {r <= {D sub t} above r > {D sub t}}: -->
<mml:mrow>
@ -560,10 +560,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_ALWAYS</constant>
</entry>
<entry align="left">
<entry>
<inlineequation>
<mml:math>
<mml:mrow>
@ -576,10 +576,10 @@
</entry>
</row>
<row>
<entry align="left">
<entry>
<constant>GL_NEVER</constant>
</entry>
<entry align="left">
<entry>
<inlineequation>
<mml:math>
<mml:mrow>

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>glTexSubImage1D</refentrytitle>
@ -313,9 +317,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>glTexSubImage2D</refentrytitle>
@ -389,9 +393,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>glTexSubImage3D</refentrytitle>
@ -445,9 +449,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

@ -110,60 +110,60 @@
with the target of the parent texture, given in <parameter>origtexture</parameter>
as specified 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 rowsep="1" align="center">Original Target</entry>
<entry rowsep="1" align="center">Compatible New Targets</entry>
<entry>Original Target</entry>
<entry>Compatible New Targets</entry>
</row>
</thead>
<tbody>
<row>
<entry align="left"><constant>GL_TEXTURE_1D</constant></entry>
<entry align="left"><constant>GL_TEXTURE_1D</constant>, <constant>GL_TEXTURE_1D_ARRAY</constant></entry>
<entry><constant>GL_TEXTURE_1D</constant></entry>
<entry><constant>GL_TEXTURE_1D</constant>, <constant>GL_TEXTURE_1D_ARRAY</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_TEXTURE_2D</constant></entry>
<entry align="left"><constant>GL_TEXTURE_2D</constant>, <constant>GL_TEXTURE_2D_ARRAY</constant></entry>
<entry><constant>GL_TEXTURE_2D</constant></entry>
<entry><constant>GL_TEXTURE_2D</constant>, <constant>GL_TEXTURE_2D_ARRAY</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_TEXTURE_3D</constant></entry>
<entry align="left"><constant>GL_TEXTURE_3D</constant></entry>
<entry><constant>GL_TEXTURE_3D</constant></entry>
<entry><constant>GL_TEXTURE_3D</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_TEXTURE_CUBE_MAP</constant></entry>
<entry align="left"><constant>GL_TEXTURE_CUBE_MAP</constant>, <constant>GL_TEXTURE_2D</constant>, <constant>GL_TEXTURE_2D_ARRAY</constant>, <constant>GL_TEXTUER_CUBE_MAP_ARRAY</constant></entry>
<entry><constant>GL_TEXTURE_CUBE_MAP</constant></entry>
<entry><constant>GL_TEXTURE_CUBE_MAP</constant>, <constant>GL_TEXTURE_2D</constant>, <constant>GL_TEXTURE_2D_ARRAY</constant>, <constant>GL_TEXTUER_CUBE_MAP_ARRAY</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_TEXTURE_RECTANGLE</constant></entry>
<entry align="left"><constant>GL_TEXTURE_RECTANGLE</constant></entry>
<entry><constant>GL_TEXTURE_RECTANGLE</constant></entry>
<entry><constant>GL_TEXTURE_RECTANGLE</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_TEXTURE_1D_ARRAY</constant></entry>
<entry align="left"><constant>GL_TEXTURE_1D</constant>, <constant>GL_TEXTURE_1D_ARRAY</constant></entry>
<entry><constant>GL_TEXTURE_1D_ARRAY</constant></entry>
<entry><constant>GL_TEXTURE_1D</constant>, <constant>GL_TEXTURE_1D_ARRAY</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_TEXTURE_2D_ARRAY</constant></entry>
<entry align="left"><constant>GL_TEXTURE_2D</constant>, <constant>GL_TEXTURE_2D_ARRAY</constant></entry>
<entry><constant>GL_TEXTURE_2D_ARRAY</constant></entry>
<entry><constant>GL_TEXTURE_2D</constant>, <constant>GL_TEXTURE_2D_ARRAY</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_TEXTURE_CUBE_MAP_ARRAY</constant></entry>
<entry align="left"><constant>GL_TEXTURE_CUBE_MAP</constant>, <constant>GL_TEXTURE_2D</constant>, <constant>GL_TEXTURE_2D_ARRAY</constant>, <constant>GL_TEXTUER_CUBE_MAP_ARRAY</constant></entry>
<entry><constant>GL_TEXTURE_CUBE_MAP_ARRAY</constant></entry>
<entry><constant>GL_TEXTURE_CUBE_MAP</constant>, <constant>GL_TEXTURE_2D</constant>, <constant>GL_TEXTURE_2D_ARRAY</constant>, <constant>GL_TEXTUER_CUBE_MAP_ARRAY</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_TEXTURE_2D_MULTISAMPLE</constant></entry>
<entry align="left"><constant>GL_TEXTURE_2D_MULTISAMPLE</constant>, <constant>GL_TEXTURE_MULTISAMPLE_ARRAY</constant></entry>
<entry><constant>GL_TEXTURE_2D_MULTISAMPLE</constant></entry>
<entry><constant>GL_TEXTURE_2D_MULTISAMPLE</constant>, <constant>GL_TEXTURE_MULTISAMPLE_ARRAY</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_TEXTURE_2D_MULTISAMPLE_ARRAY</constant></entry>
<entry align="left"><constant>GL_TEXTURE_2D_MULTISAMPLE</constant>, <constant>GL_TEXTURE_MULTISAMPLE_ARRAY</constant></entry>
<entry><constant>GL_TEXTURE_2D_MULTISAMPLE_ARRAY</constant></entry>
<entry><constant>GL_TEXTURE_2D_MULTISAMPLE</constant>, <constant>GL_TEXTURE_MULTISAMPLE_ARRAY</constant></entry>
</row>
</tbody>
</tgroup>
@ -178,71 +178,71 @@
<parameter>internalformat</parameter> must be compatible with the internal format
of the parent texture as specified 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 align="center">Class</entry>
<entry align="center">Internal Formats</entry>
<entry>Class</entry>
<entry>Internal Formats</entry>
</row>
</thead>
<tbody>
<row>
<entry align="left">128-bit</entry>
<entry align="left"><constant>GL_RGBA32F</constant>, <constant>GL_RGBA32UI</constant>, <constant>GL_RGBA32I</constant></entry>
<entry>128-bit</entry>
<entry><constant>GL_RGBA32F</constant>, <constant>GL_RGBA32UI</constant>, <constant>GL_RGBA32I</constant></entry>
</row>
<row>
<entry align="left">96-bit</entry>
<entry align="left"><constant>GL_RGB32F</constant>, <constant>GL_RGB32UI</constant>, <constant>GL_RGB32I</constant></entry>
<entry>96-bit</entry>
<entry><constant>GL_RGB32F</constant>, <constant>GL_RGB32UI</constant>, <constant>GL_RGB32I</constant></entry>
</row>
<row>
<entry align="left">64-bit</entry>
<entry align="left"><constant>GL_RGBA16F</constant>, <constant>GL_RG32F</constant>, <constant>GL_RGBA16UI</constant>,
<entry>64-bit</entry>
<entry><constant>GL_RGBA16F</constant>, <constant>GL_RG32F</constant>, <constant>GL_RGBA16UI</constant>,
<constant>GL_RG32UI</constant>, <constant>GL_RGBA16I</constant>, <constant>GL_RG32I</constant>, <constant>GL_RGBA16</constant>, <constant>GL_RGBA16_SNORM</constant></entry>
</row>
<row>
<entry align="left">48-bit</entry>
<entry align="left"><constant>GL_RGB16</constant>, <constant>GL_RGB16_SNORM</constant>, <constant>GL_RGB16F</constant>, <constant>GL_RGB16UI</constant>, <constant>GL_RGB16I</constant></entry>
<entry>48-bit</entry>
<entry><constant>GL_RGB16</constant>, <constant>GL_RGB16_SNORM</constant>, <constant>GL_RGB16F</constant>, <constant>GL_RGB16UI</constant>, <constant>GL_RGB16I</constant></entry>
</row>
<row>
<entry align="left">32-bit</entry>
<entry align="left"><constant>GL_RG16F</constant>, <constant>GL_R11F_G11F_B10F</constant>, <constant>GL_R32F</constant>, <constant>GL_RGB10_A2UI</constant>,
<entry>32-bit</entry>
<entry><constant>GL_RG16F</constant>, <constant>GL_R11F_G11F_B10F</constant>, <constant>GL_R32F</constant>, <constant>GL_RGB10_A2UI</constant>,
<constant>GL_RGBA8UI</constant>, <constant>GL_RG16UI</constant>, <constant>GL_R32UI</constant>, <constant>GL_RGBA8I</constant>,
<constant>GL_RG16I</constant>, <constant>GL_R32I</constant>, <constant>GL_RGB10_A2</constant>, <constant>GL_RGBA8</constant>,
<constant>GL_RG16</constant>, <constant>GL_RGBA8_SNORM</constant>, <constant>GL_RG16_SNORM</constant>, <constant>GL_SRGB8_ALPHA8</constant>,
<constant>GL_RGB9_E5</constant></entry>
</row>
<row>
<entry align="left">24-bit</entry>
<entry align="left"><constant>GL_RGB8</constant>, <constant>GL_RGB8_SNORM</constant>, <constant>GL_SRGB8</constant>,
<entry>24-bit</entry>
<entry><constant>GL_RGB8</constant>, <constant>GL_RGB8_SNORM</constant>, <constant>GL_SRGB8</constant>,
<constant>GL_RGB8UI</constant>, <constant>GL_RGB8I</constant></entry>
</row>
<row>
<entry align="left">16-bit</entry>
<entry align="left"><constant>GL_R16F</constant>, <constant>GL_RG8UI</constant>, <constant>GL_R16UI</constant>, <constant>GL_RG8I</constant>,
<entry>16-bit</entry>
<entry><constant>GL_R16F</constant>, <constant>GL_RG8UI</constant>, <constant>GL_R16UI</constant>, <constant>GL_RG8I</constant>,
<constant>GL_R16I</constant>, <constant>GL_RG8</constant>, <constant>GL_R16</constant>, <constant>GL_RG8_SNORM</constant>, <constant>GL_R16_SNORM</constant></entry>
</row>
<row>
<entry align="left">8-bit</entry>
<entry align="left"><constant>GL_R8UI</constant>, <constant>GL_R8I</constant>, <constant>GL_R8</constant>, <constant>GL_R8_SNORM</constant></entry>
<entry>8-bit</entry>
<entry><constant>GL_R8UI</constant>, <constant>GL_R8I</constant>, <constant>GL_R8</constant>, <constant>GL_R8_SNORM</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_RGTC1_RED</constant></entry>
<entry align="left"><constant>GL_COMPRESSED_RED_RGTC1</constant>, <constant>GL_COMPRESSED_SIGNED_RED_RGTC1</constant></entry>
<entry><constant>GL_RGTC1_RED</constant></entry>
<entry><constant>GL_COMPRESSED_RED_RGTC1</constant>, <constant>GL_COMPRESSED_SIGNED_RED_RGTC1</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_RGTC2_RG</constant></entry>
<entry align="left"><constant>GL_COMPRESSED_RG_RGTC2</constant>, <constant>GL_COMPRESSED_SIGNED_RG_RGTC2</constant></entry>
<entry><constant>GL_RGTC2_RG</constant></entry>
<entry><constant>GL_COMPRESSED_RG_RGTC2</constant>, <constant>GL_COMPRESSED_SIGNED_RG_RGTC2</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_BPTC_UNORM</constant></entry>
<entry align="left"><constant>GL_COMPRESSED_RGBA_BPTC_UNORM</constant>, <constant>GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM</constant></entry>
<entry><constant>GL_BPTC_UNORM</constant></entry>
<entry><constant>GL_COMPRESSED_RGBA_BPTC_UNORM</constant>, <constant>GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM</constant></entry>
</row>
<row>
<entry align="left"><constant>GL_BPTC_FLOAT</constant></entry>
<entry align="left"><constant>GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT</constant>, <constant>GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT</constant></entry>
<entry><constant>GL_BPTC_FLOAT</constant></entry>
<entry><constant>GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT</constant>, <constant>GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT</constant></entry>
</row>
</tbody>
</tgroup>

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>glViewport</refentrytitle>
@ -178,9 +182,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

@ -744,7 +744,7 @@ namespace OpenTK.Graphics.ES11
/// </summary>
/// <param name="texture">
/// <para>
/// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0.
/// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from zero to the value of GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS minus one. The initial value is GL_TEXTURE0.
/// </para>
/// </param>
[Obsolete("Use strongly-typed overload instead")]
@ -756,7 +756,7 @@ namespace OpenTK.Graphics.ES11
/// </summary>
/// <param name="texture">
/// <para>
/// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0.
/// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from zero to the value of GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS minus one. The initial value is GL_TEXTURE0.
/// </para>
/// </param>
[AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glActiveTexture")]

View file

@ -1847,7 +1847,7 @@ namespace OpenTK.Graphics.ES20
/// </summary>
/// <param name="texture">
/// <para>
/// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0.
/// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from zero to the value of GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS minus one. The initial value is GL_TEXTURE0.
/// </para>
/// </param>
[Obsolete("Use strongly-typed overload instead")]
@ -1859,7 +1859,7 @@ namespace OpenTK.Graphics.ES20
/// </summary>
/// <param name="texture">
/// <para>
/// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0.
/// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from zero to the value of GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS minus one. The initial value is GL_TEXTURE0.
/// </para>
/// </param>
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glActiveTexture")]

View file

@ -1951,7 +1951,7 @@ namespace OpenTK.Graphics.ES30
/// </summary>
/// <param name="texture">
/// <para>
/// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0.
/// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from zero to the value of GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS minus one. The initial value is GL_TEXTURE0.
/// </para>
/// </param>
[Obsolete("Use strongly-typed overload instead")]
@ -1963,7 +1963,7 @@ namespace OpenTK.Graphics.ES30
/// </summary>
/// <param name="texture">
/// <para>
/// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0.
/// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from zero to the value of GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS minus one. The initial value is GL_TEXTURE0.
/// </para>
/// </param>
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glActiveTexture")]

View file

@ -4942,7 +4942,7 @@ namespace OpenTK.Graphics.OpenGL
/// </summary>
/// <param name="texture">
/// <para>
/// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0.
/// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from zero to the value of GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS minus one. The initial value is GL_TEXTURE0.
/// </para>
/// </param>
[AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glActiveTextureARB")]
@ -21484,7 +21484,7 @@ namespace OpenTK.Graphics.OpenGL
/// </summary>
/// <param name="texture">
/// <para>
/// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0.
/// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from zero to the value of GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS minus one. The initial value is GL_TEXTURE0.
/// </para>
/// </param>
[AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glActiveTexture")]
@ -44090,17 +44090,98 @@ namespace OpenTK.Graphics.OpenGL
[CLSCompliant(false)]
public static unsafe void GetInteger(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Int32* data) { throw new NotImplementedException(); }
/// <summary>[requires: v4.3 and ARB_internalformat_query2|VERSION_4_3]</summary>
/// <summary>[requires: v4.3 and ARB_internalformat_query2|VERSION_4_3]
/// Retrieve information about implementation-dependent support for internal formats
/// </summary>
/// <param name="target">
/// <para>
/// Indicates the usage of the internal format. target must be GL_TEXTURE_1D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_BUFFER, GL_RENDERBUFFER, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
/// </para>
/// </param>
/// <param name="internalformat">
/// <para>
/// Specifies the internal format about which to retrieve information.
/// </para>
/// </param>
/// <param name="pname">
/// <para>
/// Specifies the type of information to query.
/// </para>
/// </param>
/// <param name="bufSize">
/// <para>
/// Specifies the maximum number of basic machine units that may be written to params by the function.
/// </para>
/// </param>
/// <param name="params">
/// <para>
/// Specifies the address of a variable into which to write the retrieved information.
/// </para>
/// </param>
[AutoGenerated(Category = "ARB_internalformat_query2|VERSION_4_3", Version = "4.3", EntryPoint = "glGetInternalformati64v")]
[CLSCompliant(false)]
public static void GetInternalformat(OpenTK.Graphics.OpenGL.ImageTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int64[] @params) { throw new NotImplementedException(); }
/// <summary>[requires: v4.3 and ARB_internalformat_query2|VERSION_4_3]</summary>
/// <summary>[requires: v4.3 and ARB_internalformat_query2|VERSION_4_3]
/// Retrieve information about implementation-dependent support for internal formats
/// </summary>
/// <param name="target">
/// <para>
/// Indicates the usage of the internal format. target must be GL_TEXTURE_1D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_BUFFER, GL_RENDERBUFFER, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
/// </para>
/// </param>
/// <param name="internalformat">
/// <para>
/// Specifies the internal format about which to retrieve information.
/// </para>
/// </param>
/// <param name="pname">
/// <para>
/// Specifies the type of information to query.
/// </para>
/// </param>
/// <param name="bufSize">
/// <para>
/// Specifies the maximum number of basic machine units that may be written to params by the function.
/// </para>
/// </param>
/// <param name="params">
/// <para>
/// Specifies the address of a variable into which to write the retrieved information.
/// </para>
/// </param>
[AutoGenerated(Category = "ARB_internalformat_query2|VERSION_4_3", Version = "4.3", EntryPoint = "glGetInternalformati64v")]
[CLSCompliant(false)]
public static void GetInternalformat(OpenTK.Graphics.OpenGL.ImageTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] out Int64 @params) { throw new NotImplementedException(); }
/// <summary>[requires: v4.3 and ARB_internalformat_query2|VERSION_4_3]</summary>
/// <summary>[requires: v4.3 and ARB_internalformat_query2|VERSION_4_3]
/// Retrieve information about implementation-dependent support for internal formats
/// </summary>
/// <param name="target">
/// <para>
/// Indicates the usage of the internal format. target must be GL_TEXTURE_1D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_BUFFER, GL_RENDERBUFFER, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
/// </para>
/// </param>
/// <param name="internalformat">
/// <para>
/// Specifies the internal format about which to retrieve information.
/// </para>
/// </param>
/// <param name="pname">
/// <para>
/// Specifies the type of information to query.
/// </para>
/// </param>
/// <param name="bufSize">
/// <para>
/// Specifies the maximum number of basic machine units that may be written to params by the function.
/// </para>
/// </param>
/// <param name="params">
/// <para>
/// Specifies the address of a variable into which to write the retrieved information.
/// </para>
/// </param>
[AutoGenerated(Category = "ARB_internalformat_query2|VERSION_4_3", Version = "4.3", EntryPoint = "glGetInternalformati64v")]
[CLSCompliant(false)]
public static unsafe void GetInternalformat(OpenTK.Graphics.OpenGL.ImageTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int64* @params) { throw new NotImplementedException(); }

View file

@ -2481,7 +2481,7 @@ namespace OpenTK.Graphics.OpenGL4
/// </summary>
/// <param name="texture">
/// <para>
/// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0.
/// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from zero to the value of GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS minus one. The initial value is GL_TEXTURE0.
/// </para>
/// </param>
[AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glActiveTexture")]
@ -20219,17 +20219,98 @@ namespace OpenTK.Graphics.OpenGL4
[CLSCompliant(false)]
public static unsafe void GetInteger(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Int32* data) { throw new NotImplementedException(); }
/// <summary>[requires: v4.3 and ARB_internalformat_query2|VERSION_4_3]</summary>
/// <summary>[requires: v4.3 and ARB_internalformat_query2|VERSION_4_3]
/// Retrieve information about implementation-dependent support for internal formats
/// </summary>
/// <param name="target">
/// <para>
/// Indicates the usage of the internal format. target must be GL_TEXTURE_1D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_BUFFER, GL_RENDERBUFFER, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
/// </para>
/// </param>
/// <param name="internalformat">
/// <para>
/// Specifies the internal format about which to retrieve information.
/// </para>
/// </param>
/// <param name="pname">
/// <para>
/// Specifies the type of information to query.
/// </para>
/// </param>
/// <param name="bufSize">
/// <para>
/// Specifies the maximum number of basic machine units that may be written to params by the function.
/// </para>
/// </param>
/// <param name="params">
/// <para>
/// Specifies the address of a variable into which to write the retrieved information.
/// </para>
/// </param>
[AutoGenerated(Category = "ARB_internalformat_query2|VERSION_4_3", Version = "4.3", EntryPoint = "glGetInternalformati64v")]
[CLSCompliant(false)]
public static void GetInternalformat(OpenTK.Graphics.OpenGL4.ImageTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL4.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int64[] @params) { throw new NotImplementedException(); }
/// <summary>[requires: v4.3 and ARB_internalformat_query2|VERSION_4_3]</summary>
/// <summary>[requires: v4.3 and ARB_internalformat_query2|VERSION_4_3]
/// Retrieve information about implementation-dependent support for internal formats
/// </summary>
/// <param name="target">
/// <para>
/// Indicates the usage of the internal format. target must be GL_TEXTURE_1D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_BUFFER, GL_RENDERBUFFER, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
/// </para>
/// </param>
/// <param name="internalformat">
/// <para>
/// Specifies the internal format about which to retrieve information.
/// </para>
/// </param>
/// <param name="pname">
/// <para>
/// Specifies the type of information to query.
/// </para>
/// </param>
/// <param name="bufSize">
/// <para>
/// Specifies the maximum number of basic machine units that may be written to params by the function.
/// </para>
/// </param>
/// <param name="params">
/// <para>
/// Specifies the address of a variable into which to write the retrieved information.
/// </para>
/// </param>
[AutoGenerated(Category = "ARB_internalformat_query2|VERSION_4_3", Version = "4.3", EntryPoint = "glGetInternalformati64v")]
[CLSCompliant(false)]
public static void GetInternalformat(OpenTK.Graphics.OpenGL4.ImageTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL4.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] out Int64 @params) { throw new NotImplementedException(); }
/// <summary>[requires: v4.3 and ARB_internalformat_query2|VERSION_4_3]</summary>
/// <summary>[requires: v4.3 and ARB_internalformat_query2|VERSION_4_3]
/// Retrieve information about implementation-dependent support for internal formats
/// </summary>
/// <param name="target">
/// <para>
/// Indicates the usage of the internal format. target must be GL_TEXTURE_1D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_BUFFER, GL_RENDERBUFFER, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
/// </para>
/// </param>
/// <param name="internalformat">
/// <para>
/// Specifies the internal format about which to retrieve information.
/// </para>
/// </param>
/// <param name="pname">
/// <para>
/// Specifies the type of information to query.
/// </para>
/// </param>
/// <param name="bufSize">
/// <para>
/// Specifies the maximum number of basic machine units that may be written to params by the function.
/// </para>
/// </param>
/// <param name="params">
/// <para>
/// Specifies the address of a variable into which to write the retrieved information.
/// </para>
/// </param>
[AutoGenerated(Category = "ARB_internalformat_query2|VERSION_4_3", Version = "4.3", EntryPoint = "glGetInternalformati64v")]
[CLSCompliant(false)]
public static unsafe void GetInternalformat(OpenTK.Graphics.OpenGL4.ImageTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL4.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int64* @params) { throw new NotImplementedException(); }