summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-05-25 13:24:47 +1000
committerMarek Olšák <[email protected]>2019-06-28 15:41:16 -0400
commitcb0f25a9269050a8efbd526c89ae541c2d37c367 (patch)
tree328614d96ff7b9a8ea2c98f9bda2b76171e91609 /src/mapi/glapi
parenteec5c01b5efc1ab81bfe1af15855e17e852ed4a3 (diff)
mesa: add support for glMapNamedBufferRangeEXT()
Reviewed-by: Marek Olšák <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mapi/glapi')
-rw-r--r--src/mapi/glapi/gen/EXT_direct_state_access.xml11
-rw-r--r--src/mapi/glapi/gen/static_data.py1
2 files changed, 12 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 a19677cde10..6a6a118a2bd 100644
--- a/src/mapi/glapi/gen/EXT_direct_state_access.xml
+++ b/src/mapi/glapi/gen/EXT_direct_state_access.xml
@@ -145,5 +145,16 @@
<param name="size" type="GLsizeiptr" />
<param name="data" type="const GLvoid *" />
</function>
+
+ <!-- OpenGL 3.0 -->
+
+ <function name="MapNamedBufferRangeEXT">
+ <return type="GLvoid *" />
+ <param name="buffer" type="GLuint" />
+ <param name="offset" type="GLintptr" />
+ <param name="length" type="GLsizeiptr" />
+ <param name="access" type="GLbitfield" />
+ </function>
+
</category>
</OpenGLAPI>
diff --git a/src/mapi/glapi/gen/static_data.py b/src/mapi/glapi/gen/static_data.py
index 582530c046a..3970452b0cb 100644
--- a/src/mapi/glapi/gen/static_data.py
+++ b/src/mapi/glapi/gen/static_data.py
@@ -1477,6 +1477,7 @@ offsets = {
"NamedBufferDataEXT": 1441,
"NamedBufferSubDataEXT": 1442,
"NamedBufferStorageEXT": 1443,
+ "MapNamedBufferRangeEXT": 1444,
}
functions = [