Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a bunch of missing entries for glGet* #146

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion es3.1/html/indexflat.php
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@
<li><a href="glMapBufferRange.xhtml" target="pagedisplay">glMapBufferRange</a></li>
<li><a href="matrixCompMult.xhtml" target="pagedisplay">matrixCompMult</a></li>
<li><a href="max.xhtml" target="pagedisplay">max</a></li>
<li><a href="memoryBarrier.xhtml" target="pagedisplay">memoryBarrier</a></li>
<li><a href="glMemoryBarrier.xhtml" target="pagedisplay">glMemoryBarrier</a></li>
<li><a href="memoryBarrier.xhtml" target="pagedisplay">memoryBarrier</a></li>
<li><a href="memoryBarrierAtomicCounter.xhtml" target="pagedisplay">memoryBarrierAtomicCounter</a></li>
<li><a href="memoryBarrierBuffer.xhtml" target="pagedisplay">memoryBarrierBuffer</a></li>
<li><a href="glMemoryBarrier.xhtml" target="pagedisplay">glMemoryBarrierByRegion</a></li>
Expand Down
2 changes: 1 addition & 1 deletion es3/html/indexflat.php
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,8 @@
<li><a href="glMapBufferRange.xhtml" target="pagedisplay">glMapBufferRange</a></li>
<li><a href="matrixCompMult.xhtml" target="pagedisplay">matrixCompMult</a></li>
<li><a href="max.xhtml" target="pagedisplay">max</a></li>
<li><a href="memoryBarrier.xhtml" target="pagedisplay">memoryBarrier</a></li>
<li><a href="glMemoryBarrier.xhtml" target="pagedisplay">glMemoryBarrier</a></li>
<li><a href="memoryBarrier.xhtml" target="pagedisplay">memoryBarrier</a></li>
<li><a href="memoryBarrierAtomicCounter.xhtml" target="pagedisplay">memoryBarrierAtomicCounter</a></li>
<li><a href="memoryBarrierBuffer.xhtml" target="pagedisplay">memoryBarrierBuffer</a></li>
<li><a href="glMemoryBarrier.xhtml" target="pagedisplay">glMemoryBarrierByRegion</a></li>
Expand Down
167 changes: 167 additions & 0 deletions gl4/glGet.xml
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,42 @@
</varlistentry>
<!-- // ARB_compute_shader -->
<!-- ARB_debug_group -->
<varlistentry>
<term><constant>GL_DEBUG_LOGGED_MESSAGES</constant></term>
<listitem>
<para>
<parameter>data</parameter> returns a single value, the number of messages
currently in the debug message log.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH</constant></term>
<listitem>
<para>
<parameter>data</parameter> returns a single value, the string length
of the oldest debug message in the debug message log.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_DEBUG_MESSAGE_LENGTH</constant></term>
<listitem>
<para>
<parameter>data</parameter> returns a single value, the maximum length of a
debug message string, including its null terminator.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_DEBUG_LOGGED_MESSAGES</constant></term>
<listitem>
<para>
<parameter>data</parameter> returns a single value, the maximum number
of messages stored in the debug message log.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_DEBUG_GROUP_STACK_DEPTH</constant></term>
<listitem>
Expand Down Expand Up @@ -705,6 +741,59 @@
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_QUERY_BUFFER_BINDING</constant></term>
<listitem>
<para>
<parameter>data</parameter> returns a single value, the name of the buffer object
currently bound to the target <constant>GL_QUERY_BUFFER</constant>. If no buffer object
is bound to this target, 0 is returned. The initial value is 0.
See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_COPY_READ_BUFFER_BINDING</constant></term>
<listitem>
<para>
<parameter>data</parameter> returns a single value, the name of the buffer object
currently bound to the target <constant>GL_COPY_READ_BUFFER</constant>. If no buffer object
is bound to this target, 0 is returned. The initial value is 0.
See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_COPY_WRITE_BUFFER_BINDING</constant></term>
<listitem>
<para>
<parameter>data</parameter> returns a single value, the name of the buffer object
currently bound to the target <constant>GL_COPY_WRITE_BUFFER</constant>. If no buffer object
is bound to this target, 0 is returned. The initial value is 0.
See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_RESET_NOTIFICATION_STRATEGY</constant></term>
<listitem>
<para>
<parameter>data</parameter> returns a single value, the reset notification behavior.
Either <constant>GL_NO_RESET_NOTIFICATION</constant> or <constant>GL_LOSE_CONTEXT_ON_RESET</constant>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_TEXTURE_BUFFER_BINDING</constant></term>
<listitem>
<para>
<parameter>data</parameter> returns a single value, the name of the buffer object
currently bound to the target <constant>GL_TEXTURE_BUFFER</constant>. If no buffer object
is bound to this target, 0 is returned. The initial value is 0.
See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_LINE_SMOOTH</constant></term>
<listitem>
Expand Down Expand Up @@ -902,6 +991,30 @@
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MIN_FRAGMENT_INTERPOLATION_OFFSET</constant></term>
<listitem>
<para>
<parameter>data</parameter> returns one value, the furthest negative offset for <citerefentry><refentrytitle>interpolateAtOffset</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_FRAGMENT_INTERPOLATION_OFFSET</constant></term>
<listitem>
<para>
<parameter>data</parameter> returns one value, the furthest positive offset for <citerefentry><refentrytitle>interpolateAtOffset</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_FRAGMENT_INTERPOLATION_OFFSET_BITS</constant></term>
<listitem>
<para>
<parameter>data</parameter> returns one value, the subpixel bits for <citerefentry><refentrytitle>interpolateAtOffset</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_DRAW_BUFFERS</constant></term>
<listitem>
Expand All @@ -924,6 +1037,51 @@
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_COLOR_ATTACHMENTS</constant></term>
<listitem>
<para>
<parameter>data</parameter> returns one value, the maximum number
of FBO attachment points for colorbuffers.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS</constant></term>
<listitem>
<para>
<parameter>data</parameter> returns one value, the maximum number
of components to write to a single buffer in interleaved mode.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS</constant></term>
<listitem>
<para>
<parameter>data</parameter> returns one value, the maximum number
of separate attributes or outputs that can be captured in transform feedback.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS</constant></term>
<listitem>
<para>
<parameter>data</parameter> returns one value, the maximum number
of components per attribute or output in separate mode.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_TRANSFORM_FEEDBACK_BUFFERS</constant></term>
<listitem>
<para>
<parameter>data</parameter> returns one value, the maximum number
of buffer objs to write with transform feedback.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_ELEMENTS_INDICES</constant></term>
<listitem>
Expand Down Expand Up @@ -1195,6 +1353,15 @@
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_SAMPLES</constant></term>
<listitem>
<para>
<parameter>data</parameter> returns one value,
the maximum number of samples supported for multisampling.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_SERVER_WAIT_TIMEOUT</constant></term>
<listitem>
Expand Down
4 changes: 2 additions & 2 deletions gl4/glGetGraphicsResetStatus.xml
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@
</refsect1>
<refsect1 xml:id="seealso"><title>See Also</title>
<para>
<citerefentry><refentrytitle>glGetError</refentrytitle></citerefentry>
<citerefentry><refentrytitle>glGetError</refentrytitle></citerefentry>,
<!-- FIX: link to glGet --> <function>glGetIntegerv</function>,
<!-- FIX: link to glGetQueryiv --> <function>glGetQueryObjectuiv</function>
<!-- FIX: link to glGetQueryiv --> <function>glGetQueryObjectuiv</function>,
<!-- FIX: link to glGetSync --> <function>glGetSynciv</function>
</para>
</refsect1>
Expand Down