summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-05-18 15:20:35 +1000
committerMarek Olšák <[email protected]>2019-06-28 15:41:12 -0400
commit83ed9485b75c92e269c000a5d184393fbe4cbd77 (patch)
tree01ab59d64aa09b461782b29a65c20e1c7678b803 /src/mapi
parent0972b0b059d78fb30d982939d0849542ecdf6f98 (diff)
mesa: add support for glNamedBuffer*DataEXT()
Reviewed-by: Marek Olšák <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/EXT_direct_state_access.xml17
-rw-r--r--src/mapi/glapi/gen/static_data.py2
2 files changed, 18 insertions, 1 deletions
diff --git a/src/mapi/glapi/gen/EXT_direct_state_access.xml b/src/mapi/glapi/gen/EXT_direct_state_access.xml
index 73d8d973a8c..a19677cde10 100644
--- a/src/mapi/glapi/gen/EXT_direct_state_access.xml
+++ b/src/mapi/glapi/gen/EXT_direct_state_access.xml
@@ -129,6 +129,21 @@
<param name="matrixMode" type="GLenum" />
<param name="m" type="const GLdouble *" />
</function>
-</category>
+
+ <!-- OpenGL 1.5 -->
+
+ <function name="NamedBufferDataEXT">
+ <param name="buffer" type="GLuint" />
+ <param name="size" type="GLsizeiptr" />
+ <param name="data" type="const GLvoid *" />
+ <param name="usage" type="GLenum" />
+ </function>
+
+ <function name="NamedBufferSubDataEXT">
+ <param name="buffer" type="GLuint" />
+ <param name="offset" type="GLintptr" />
+ <param name="size" type="GLsizeiptr" />
+ <param name="data" type="const GLvoid *" />
+ </function>
</category>
</OpenGLAPI>
diff --git a/src/mapi/glapi/gen/static_data.py b/src/mapi/glapi/gen/static_data.py
index e189eb3ac4e..92a07abd9db 100644
--- a/src/mapi/glapi/gen/static_data.py
+++ b/src/mapi/glapi/gen/static_data.py
@@ -1474,6 +1474,8 @@ offsets = {
"MatrixMultTransposefEXT": 1438,
"MatrixMultTransposedEXT": 1439,
"BindMultiTextureEXT": 1440,
+ "NamedBufferDataEXT": 1441,
+ "NamedBufferSubDataEXT": 1442,
}
functions = [