summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-09-05 15:48:07 +1000
committerMarek Olšák <[email protected]>2019-06-28 15:41:24 -0400
commit9c53a2ecb7d5c6c51abf12d7488e75ebd27d0c9d (patch)
treeb4b83d71493f33eca634588336184762cfecaea5 /src/mapi
parent76e25edf6afc21e427d7e2e7e58457ed4194169e (diff)
mesa: add support for glMapNamedBufferEXT()
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.xml6
-rw-r--r--src/mapi/glapi/gen/static_data.py1
2 files changed, 7 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 eb5c20dd108..37f443bb9b5 100644
--- a/src/mapi/glapi/gen/EXT_direct_state_access.xml
+++ b/src/mapi/glapi/gen/EXT_direct_state_access.xml
@@ -174,6 +174,12 @@
<param name="data" type="const GLvoid *" />
</function>
+ <function name="MapNamedBufferEXT">
+ <return type="GLvoid *" />
+ <param name="buffer" type="GLuint" />
+ <param name="access" type="GLenum" />
+ </function>
+
<function name="UnmapNamedBufferEXT">
<return type="GLboolean" />
<param name="buffer" type="GLuint" />
diff --git a/src/mapi/glapi/gen/static_data.py b/src/mapi/glapi/gen/static_data.py
index 5829da0b51e..006b5bb8152 100644
--- a/src/mapi/glapi/gen/static_data.py
+++ b/src/mapi/glapi/gen/static_data.py
@@ -1480,6 +1480,7 @@ offsets = {
"MapNamedBufferRangeEXT": 1444,
"TextureSubImage2DEXT": 1445,
"CompressedTextureSubImage2DEXT": 1446,
+ "MapNamedBufferEXT": 1447,
}
functions = [