Commit 0e6ce806 authored by Chris Forbes's avatar Chris Forbes Committed by Timothy Arceri

glapi: add EXT_direct_state_access

Signed-off-by: Chris Forbes's avatarChris Forbes <chrisf@ijw.co.nz>
parent d8f7ab71
<?xml version="1.0"?>
<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
<!-- Note: no GLX protocol info yet. -->
<OpenGLAPI>
<category name="GL_EXT_direct_state_access" number="353">
<!--
This extension is unusual in that it is ALL interactions
with specific GL versions and other extensions.
-->
<!-- GL1.0 extras -->
<function name="MatrixLoadfEXT" offset="assign">
<param name="matrixMode" type="GLenum" />
<param name="m" type="const GLfloat *" />
</function>
<function name="MatrixLoaddEXT" offset="assign">
<param name="matrixMode" type="GLenum" />
<param name="m" type="const GLdouble *" />
</function>
<function name="MatrixMultfEXT" offset="assign">
<param name="matrixMode" type="GLenum" />
<param name="m" type="const GLfloat *" />
</function>
<function name="MatrixMultdEXT" offset="assign">
<param name="matrixMode" type="GLenum" />
<param name="m" type="const GLdouble *" />
</function>
<function name="MatrixLoadIdentityEXT" offset="assign">
<param name="matrixMode" type="GLenum" />
</function>
<function name="MatrixRotatefEXT" offset="assign">
<param name="matrixMode" type="GLenum" />
<param name="angle" type="GLfloat" />
<param name="x" type="GLfloat" />
<param name="y" type="GLfloat" />
<param name="z" type="GLfloat" />
</function>
<function name="MatrixRotatedEXT" offset="assign">
<param name="matrixMode" type="GLenum" />
<param name="angle" type="GLdouble" />
<param name="x" type="GLdouble" />
<param name="y" type="GLdouble" />
<param name="z" type="GLdouble" />
</function>
<function name="MatrixScalefEXT" offset="assign">
<param name="matrixMode" type="GLenum" />
<param name="x" type="GLfloat" />
<param name="y" type="GLfloat" />
<param name="z" type="GLfloat" />
</function>
<function name="MatrixScaledEXT" offset="assign">
<param name="matrixMode" type="GLenum" />
<param name="x" type="GLdouble" />
<param name="y" type="GLdouble" />
<param name="z" type="GLdouble" />
</function>
<function name="MatrixTranslatefEXT" offset="assign">
<param name="matrixMode" type="GLenum" />
<param name="x" type="GLfloat" />
<param name="y" type="GLfloat" />
<param name="z" type="GLfloat" />
</function>
<function name="MatrixTranslatedEXT" offset="assign">
<param name="matrixMode" type="GLenum" />
<param name="x" type="GLdouble" />
<param name="y" type="GLdouble" />
<param name="z" type="GLdouble" />
</function>
<function name="MatrixOrthoEXT" offset="assign">
<param name="matrixMode" type="GLenum" />
<param name="l" type="GLdouble" />
<param name="r" type="GLdouble" />
<param name="b" type="GLdouble" />
<param name="t" type="GLdouble" />
<param name="n" type="GLdouble" />
<param name="f" type="GLdouble" />
</function>
<function name="MatrixFrustumEXT" offset="assign">
<param name="matrixMode" type="GLenum" />
<param name="l" type="GLdouble" />
<param name="r" type="GLdouble" />
<param name="b" type="GLdouble" />
<param name="t" type="GLdouble" />
<param name="n" type="GLdouble" />
<param name="f" type="GLdouble" />
</function>
<function name="MatrixPushEXT" offset="assign">
<param name="matrixMode" type="GLenum" />
</function>
<function name="MatrixPopEXT" offset="assign">
<param name="matrixMode" type="GLenum" />
</function>
</category>
</OpenGLAPI>
......@@ -12944,6 +12944,9 @@
<xi:include href="AMD_depth_clamp_separate.xml"
xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="EXT_direct_state_access.xml"
xmlns:xi="http://www.w3.org/2001/XInclude"/>
<category name="GL_EXT_texture_sRGB_decode" number="402">
<enum name="TEXTURE_SRGB_DECODE_EXT" value="0x8A48"/>
<enum name="DECODE_EXT" value="0x8A49"/>
......
......@@ -1016,21 +1016,21 @@ const struct function common_desktop_functions_possible[] = {
{ "glGetQueryBufferObjectui64v", 45, -1 },
/* GL_EXT_direct_state_access - GL 1.0 */
//{ "glMatrixLoadfEXT", 10, -1 },
//{ "glMatrixLoaddEXT", 10, -1 },
//{ "glMatrixMultfEXT", 10, -1 },
//{ "glMatrixMultdEXT", 10, -1 },
//{ "glMatrixLoadIdentityEXT", 10, -1 },
//{ "glMatrixRotatefEXT", 10, -1 },
//{ "glMatrixRotatedEXT", 10, -1 },
//{ "glMatrixScalefEXT", 10, -1 },
//{ "glMatrixScaledEXT", 10, -1 },
//{ "glMatrixTranslatefEXT", 10, -1 },
//{ "glMatrixTranslatedEXT", 10, -1 },
//{ "glMatrixOrthoEXT", 10, -1 },
//{ "glMatrixFrustumEXT", 10, -1 },
//{ "glMatrixPushEXT", 10, -1 },
//{ "glMatrixPopEXT", 10, -1 },
{ "glMatrixLoadfEXT", 10, -1 },
{ "glMatrixLoaddEXT", 10, -1 },
{ "glMatrixMultfEXT", 10, -1 },
{ "glMatrixMultdEXT", 10, -1 },
{ "glMatrixLoadIdentityEXT", 10, -1 },
{ "glMatrixRotatefEXT", 10, -1 },
{ "glMatrixRotatedEXT", 10, -1 },
{ "glMatrixScalefEXT", 10, -1 },
{ "glMatrixScaledEXT", 10, -1 },
{ "glMatrixTranslatefEXT", 10, -1 },
{ "glMatrixTranslatedEXT", 10, -1 },
{ "glMatrixOrthoEXT", 10, -1 },
{ "glMatrixFrustumEXT", 10, -1 },
{ "glMatrixPushEXT", 10, -1 },
{ "glMatrixPopEXT", 10, -1 },
/* GL_EXT_direct_state_access - GL 1.1 */
//{ "glClientAttribDefaultEXT", 10, -1 },
//{ "glPushClientAttribDefaultEXT", 10, -1 },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment