mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-22 23:40:23 +01:00
v2: Record texObj.BufferSize as -1 in TexBuffer(non-Range) instead of the buffer's current size so we know we always have to use the full size of the buffer object (i.e. even if it changes without the user calling TexBuffer again) for the texture. Clarify invalid offset alignment error message. v3: Use extra GL_CORE-only section in get_hash_params.py for TEXTURE_BUFFER_OFFSET_ALIGNMENT. v4: Remove unnecessary check for profile in _mesa_TexBufferRange. Add check for extension enable in get_tex_level_parameter_buffer. v5: Fix position in gl_API.xml. Add comment about meaning of BufferSize == -1. v6: Add back checks for core profile and add a note about it. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
22 lines
690 B
XML
22 lines
690 B
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
|
|
|
|
<OpenGLAPI>
|
|
|
|
<category name="GL_ARB_texture_buffer_range" number="139">
|
|
|
|
<enum name="TEXTURE_BUFFER_OFFSET" value="0x919D"/>
|
|
<enum name="TEXTURE_BUFFER_SIZE" value="0x919E"/>
|
|
<enum name="TEXTURE_BUFFER_OFFSET_ALIGNMENT" value="0x919F"/>
|
|
|
|
<function name="TexBufferRange" offset="assign">
|
|
<param name="target" type="GLenum"/>
|
|
<param name="internalformat" type="GLenum"/>
|
|
<param name="buffer" type="GLuint"/>
|
|
<param name="offset" type="GLintptr"/>
|
|
<param name="size" type="GLsizeiptr"/>
|
|
</function>
|
|
|
|
</category>
|
|
|
|
</OpenGLAPI>
|