glapi: Add counter information for glBufferData(), like glBufferSubData().
authorEric Anholt <eric@anholt.net>
Wed, 27 Feb 2013 21:56:51 +0000 (13:56 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 19 Apr 2013 17:13:00 +0000 (10:13 -0700)
This causes this function to become asynchronous with glthread.

src/mapi/glapi/gen/gl_API.xml

index b59d90bee975c29e69be097cc9916bae5ede6d59..f7257978f21b2a6332f0886dfa936577eafeb870 100644 (file)
 
     <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>