summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <[email protected]>2019-04-26 18:10:44 +0200
committerMarek Olšák <[email protected]>2019-07-30 22:04:26 -0400
commite26c6764f240d748a82c353f7c9a8b30f8a27cd6 (patch)
treeeaa89f0c49d52ae5b7da5225921253649c2b5ef8 /src/mapi
parent9265e9d11aa20697d3d9871c2bd0b5402b135dbd (diff)
mesa: add EXT_dsa NamedBuffer functions
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/EXT_direct_state_access.xml25
-rw-r--r--src/mapi/glapi/gen/static_data.py4
2 files changed, 29 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 8cb7fac1d85..dd529c18790 100644
--- a/src/mapi/glapi/gen/EXT_direct_state_access.xml
+++ b/src/mapi/glapi/gen/EXT_direct_state_access.xml
@@ -375,6 +375,31 @@
<param name="buffer" type="GLuint" />
</function>
+ <function name="GetNamedBufferSubDataEXT">
+ <param name="buffer" type="GLuint" />
+ <param name="offset" type="GLintptr" />
+ <param name="size" type="GLsizeiptr" />
+ <param name="data" type="GLvoid *" />
+ </function>
+
+ <function name="GetNamedBufferPointervEXT">
+ <param name="buffer" type="GLuint" />
+ <param name="pname" type="GLenum" />
+ <param name="params" type="GLvoid **" />
+ </function>
+
+ <function name="GetNamedBufferParameterivEXT">
+ <param name="buffer" type="GLuint" />
+ <param name="pname" type="GLenum" />
+ <param name="params" type="GLint *" />
+ </function>
+
+ <function name="FlushMappedNamedBufferRangeEXT">
+ <param name="buffer" type="GLuint" />
+ <param name="offset" type="GLintptr" />
+ <param name="length" type="GLsizeiptr" />
+ </function>
+
<!-- OpenGL 3.0 -->
<function name="MapNamedBufferRangeEXT">
diff --git a/src/mapi/glapi/gen/static_data.py b/src/mapi/glapi/gen/static_data.py
index 29a80afbe20..b2a8ca15911 100644
--- a/src/mapi/glapi/gen/static_data.py
+++ b/src/mapi/glapi/gen/static_data.py
@@ -1500,6 +1500,10 @@ offsets = {
"GetTextureImageEXT": 1464,
"GetTextureLevelParameterivEXT": 1465,
"GetTextureLevelParameterfvEXT": 1466,
+ "GetNamedBufferSubDataEXT": 1467,
+ "GetNamedBufferPointervEXT": 1468,
+ "GetNamedBufferParameterivEXT": 1469,
+ "FlushMappedNamedBufferRangeEXT": 1470,
}
functions = [