Skip to content

Add tests for partial coverage of EXT_direct_state_access

This MR adds tests exercising these parts of the spec:

All functions tested

<OpenGL 1.0: New matrix commands add "Matrix" prefix to name, drops "Matrix" suffix from name, and add initial "enum matrixMode" parameter>

<OpenGL 1.1: New texture object commands and queries replace "Tex" in name with "Texture" and add initial "uint texture" parameter>

<OpenGL 1.2: New 3D texture object commands replace "Tex" in name with "Texture" and adds initial "uint texture" parameter>

<OpenGL 1.2.1: New indexed texture commands and queries append "Indexed" to name and add "uint index" parameter (to identify the texture unit index) after state name parameters (if any) and before state value parameters>

<OpenGL 1.2.1: New indexed generic queries (added for indexed texture state) append "Indexed" to name and add "uint index" parameter (to identify the texture unit) after state name parameters (if any) and before state value parameters>

<OpenGL 1.2.1: Extend the functionality of these EXT_draw_buffers2 commands and queries for multitexture>

<OpenGL 1.3: New transpose matrix commands add "Matrix" suffix to name, drops "Matrix" suffix from name, and add initial "enum matrixMode" parameter>

<OpenGL 1.3: New compressed texture object commands replace "Tex" in name with "Texture" and add initial "uint texture" parameter>

<OpenGL 1.3: New multitexture compressed texture commands and queries prefix "Multi" before "Tex" and add an initial "enum texunit" parameter (to identify the texture unit)>

<OpenGL 1.5: New buffer commands and queries replace "Buffer" with "NamedBuffer" in name and replace "enum target" parameter with "uint buffer">

<OpenGL 2.0: New uniform commands add "Program" prefix to name and add initial "uint program" parameter>

<OpenGL 2.1: New uniform matrix commands add "Program" prefix to name and add initial "uint program" parameter>

<OpenGL 3.0: New indexed texture commands and queries append "i" to name and add "uint index" parameter (to identify the texture unit index) after state name parameters (if any) and before state value parameters>

<OpenGL 3.0: New indexed generic queries (added for indexed texture state) replace "v" for "i_v" to name and add "uint index" parameter (to identify the texture unit) after state name parameters (if any) and before state value parameters>

<OpenGL 3.0: New buffer commands replace "Buffer" with "NamedBuffer" in name and replace "enum target" parameter with "uint buffer">

<OpenGL 3.0: New renderbuffer commands add "Named" prefix to name and replace "enum target" with "uint renderbuffer">

<OpenGL 3.0: New framebuffer commands add "Named" prefix to name and replace "enum target" with "uint framebuffer">

<OpenGL 3.0: New framebuffer commands add "Named" prefix to name and replace "enum target" with "uint framebuffer">

Partially tested

<OpenGL 1.2.1: New multitexture commands and queries prefix "Multi" before "Tex" and add an initial "enum texunit" parameter (to identify the texture unit).>

All functions tested except:

  • GetMultiTexLevelParameterfvEXT
  • GetMultiTexLevelParameterivEXT

All tests passes on NVIDIA 410.104.

Edited by Pierre-Eric Pelloux-Prayer

Merge request reports