summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorLaura Ekstrand <laura@jlekstrand.net>2015-02-27 14:54:00 -0800
committerLaura Ekstrand <laura@jlekstrand.net>2015-03-09 13:33:54 -0700
commit1e552db5228e4e0acdef1d4bec4503f7116a2622 (patch)
tree0b7072afa136434e813711bb3a9f7a76fc613dde /src/mapi
parent311b3686fe7433b1624384f7d344cc23d6363df2 (diff)
downloadexternal_mesa3d-1e552db5228e4e0acdef1d4bec4503f7116a2622.zip
external_mesa3d-1e552db5228e4e0acdef1d4bec4503f7116a2622.tar.gz
external_mesa3d-1e552db5228e4e0acdef1d4bec4503f7116a2622.tar.bz2
main: Add entry point for TextureBufferRange.
v2: Review by Martin Peres - Get rid of difficult-to-follow code copied and pasted from the original TexBufferRange Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/ARB_direct_state_access.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/ARB_direct_state_access.xml b/src/mapi/glapi/gen/ARB_direct_state_access.xml
index 2fe1638..86c00f9 100644
--- a/src/mapi/glapi/gen/ARB_direct_state_access.xml
+++ b/src/mapi/glapi/gen/ARB_direct_state_access.xml
@@ -21,6 +21,14 @@
<param name="buffer" type="GLuint" />
</function>
+ <function name="TextureBufferRange" offset="assign">
+ <param name="texture" type="GLuint" />
+ <param name="internalformat" type="GLenum" />
+ <param name="buffer" type="GLuint" />
+ <param name="offset" type="GLintptr" />
+ <param name="size" type="GLsizeiptr" />
+ </function>
+
<function name="TextureStorage1D" offset="assign">
<param name="texture" type="GLuint" />
<param name="levels" type="GLsizei" />