[Mesa-dev] [PATCH 5/5] glapi: Add counter information for glBufferData(), like glBufferSubData().
Eric Anholt
eric at anholt.net
Wed Feb 27 16:58:41 PST 2013
This causes this function to become asynchronous with glthread.
---
src/mapi/glapi/gen/gl_API.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index 803b1aa..aa3e8a8 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -7656,8 +7656,8 @@
<function name="BufferDataARB" alias="BufferData">
<param name="target" type="GLenum"/>
- <param name="size" type="GLsizeiptrARB"/>
- <param name="data" type="const GLvoid *"/>
+ <param name="size" type="GLsizeiptrARB" counter="true"/>
+ <param name="data" type="const GLvoid *" count="size"/>
<param name="usage" type="GLenum"/>
</function>
--
1.7.10.4
More information about the mesa-dev
mailing list