summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <[email protected]>2019-05-07 11:20:51 +0200
committerMarek Olšák <[email protected]>2019-06-03 15:28:51 -0400
commitd2906293c432b1b0519612caed0c50f43044966a (patch)
treeeeab75882fe84ea8e3168456025138d0b9d66bce /src/mapi
parent28ce704bb012e0510bfb90659020764800e62e82 (diff)
mesa: EXT_dsa add selectorless matrix stack functions
Allows the legacy matrix stacks to be manipulated without disturbing the matrix mode selector. Adapted from a patch from Chris Forbes. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/EXT_direct_state_access.xml105
1 files changed, 105 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/EXT_direct_state_access.xml b/src/mapi/glapi/gen/EXT_direct_state_access.xml
index dd33f928192..76196740b9e 100644
--- a/src/mapi/glapi/gen/EXT_direct_state_access.xml
+++ b/src/mapi/glapi/gen/EXT_direct_state_access.xml
@@ -16,6 +16,111 @@
<enum name="TRANSPOSE_PROGRAM_MATRIX_EXT" value="0x8E2E"/>
<enum name="PROGRAM_MATRIX_STACK_DEPTH_EXT" value="0x8E2F"/>
+ <!-- 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>
+
+ <!-- OpenGL 1.3 -->
+
+ <function name="MatrixLoadTransposefEXT" offset="assign">
+ <param name="matrixMode" type="GLenum" />
+ <param name="m" type="const GLfloat *" />
+ </function>
+
+ <function name="MatrixLoadTransposedEXT" offset="assign">
+ <param name="matrixMode" type="GLenum" />
+ <param name="m" type="const GLdouble *" />
+ </function>
+
+ <function name="MatrixMultTransposefEXT" offset="assign">
+ <param name="matrixMode" type="GLenum" />
+ <param name="m" type="const GLfloat *" />
+ </function>
+
+ <function name="MatrixMultTransposedEXT" offset="assign">
+ <param name="matrixMode" type="GLenum" />
+ <param name="m" type="const GLdouble *" />
+ </function>
</category>
</OpenGLAPI>