diff options
author | Eric Anholt <eric@anholt.net> | 2013-02-27 12:47:09 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2013-04-19 10:13:00 -0700 |
commit | 1a3ea852ea659f22cb016b02bf2375817874266a (patch) | |
tree | e2384b03235114a986221b3f2a5e734378b48ed0 | |
parent | 57b7c20ca59eb232cbd0a3a8368d603cbc06c215 (diff) |
glapi: Add parameter count information for uniforms.
This is the kind of information that would have been present for GLX, if
GLX supported modern GL. This allows these entrypoints to get automatic
asynchronous marshalling code generated for glthread.
-rw-r--r-- | src/mapi/glapi/gen/GL3x.xml | 16 | ||||
-rw-r--r-- | src/mapi/glapi/gen/gl_API.xml | 68 |
2 files changed, 42 insertions, 42 deletions
diff --git a/src/mapi/glapi/gen/GL3x.xml b/src/mapi/glapi/gen/GL3x.xml index c17a644027..9ca3d47a7e 100644 --- a/src/mapi/glapi/gen/GL3x.xml +++ b/src/mapi/glapi/gen/GL3x.xml @@ -424,26 +424,26 @@ <function name="Uniform1uiv" es2="3.0" offset="assign"> <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> - <param name="value" type="const GLuint *"/> + <param name="count" type="GLsizei" counter="true"/> + <param name="value" type="const GLuint *" count="count"/> </function> <function name="Uniform2uiv" es2="3.0" offset="assign"> <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> - <param name="value" type="const GLuint *"/> + <param name="count" type="GLsizei" counter="true"/> + <param name="value" type="const GLuint *" count="count" count_scale="2"/> </function> <function name="Uniform3uiv" es2="3.0" offset="assign"> <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> - <param name="value" type="const GLuint *"/> + <param name="count" type="GLsizei" counter="true"/> + <param name="value" type="const GLuint *" count="count" count_scale="3"/> </function> <function name="Uniform4uiv" es2="3.0" offset="assign"> <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> - <param name="value" type="const GLuint *"/> + <param name="count" type="GLsizei" counter="true"/> + <param name="value" type="const GLuint *" count="count" count_scale="4"/> </function> <!-- These functions alias ones from GL_EXT_texture_integer --> diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index df9592477c..b59d90bee9 100644 --- a/src/mapi/glapi/gen/gl_API.xml +++ b/src/mapi/glapi/gen/gl_API.xml @@ -5685,83 +5685,83 @@ <function name="Uniform1fv" es2="2.0" offset="assign"> <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> - <param name="value" type="const GLfloat *"/> + <param name="count" type="GLsizei" counter="true"/> + <param name="value" type="const GLfloat *" count="count"/> <glx ignore="true"/> <glx ignore="true"/> </function> <function name="Uniform2fv" es2="2.0" offset="assign"> <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> - <param name="value" type="const GLfloat *"/> + <param name="count" type="GLsizei" counter="true"/> + <param name="value" type="const GLfloat *" count="count" count_scale="2"/> <glx ignore="true"/> <glx ignore="true"/> </function> <function name="Uniform3fv" es2="2.0" offset="assign"> <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> - <param name="value" type="const GLfloat *"/> + <param name="count" type="GLsizei" counter="true"/> + <param name="value" type="const GLfloat *" count="count" count_scale="3"/> <glx ignore="true"/> <glx ignore="true"/> </function> <function name="Uniform4fv" es2="2.0" offset="assign"> <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> - <param name="value" type="const GLfloat *"/> + <param name="count" type="GLsizei" counter="true"/> + <param name="value" type="const GLfloat *" count="count" count_scale="4"/> <glx ignore="true"/> <glx ignore="true"/> </function> <function name="Uniform1iv" es2="2.0" offset="assign"> <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> - <param name="value" type="const GLint *"/> + <param name="count" type="GLsizei" counter="true"/> + <param name="value" type="const GLint *" count="count"/> <glx ignore="true"/> <glx ignore="true"/> </function> <function name="Uniform2iv" es2="2.0" offset="assign"> <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> - <param name="value" type="const GLint *"/> + <param name="count" type="GLsizei" counter="true"/> + <param name="value" type="const GLint *" count="count" count_scale="2"/> <glx ignore="true"/> <glx ignore="true"/> </function> <function name="Uniform3iv" es2="2.0" offset="assign"> <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> - <param name="value" type="const GLint *"/> + <param name="count" type="GLsizei" counter="true"/> + <param name="value" type="const GLint *" count="count" count_scale="3"/> <glx ignore="true"/> <glx ignore="true"/> </function> <function name="Uniform4iv" es2="2.0" offset="assign"> <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> - <param name="value" type="const GLint *"/> + <param name="count" type="GLsizei" counter="true"/> + <param name="value" type="const GLint *" count="count" count_scale="4"/> <glx ignore="true"/> <glx ignore="true"/> </function> <function name="UniformMatrix2fv" es2="2.0" offset="assign"> <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> + <param name="count" type="GLsizei" counter="true"/> <param name="transpose" type="GLboolean"/> - <param name="value" type="const GLfloat *"/> + <param name="value" type="const GLfloat *" count="count" count_scale="4"/> <glx ignore="true"/> <glx ignore="true"/> </function> <function name="UniformMatrix3fv" es2="2.0" offset="assign"> <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> + <param name="count" type="GLsizei" counter="true"/> <param name="transpose" type="GLboolean"/> - <param name="value" type="const GLfloat *"/> + <param name="value" type="const GLfloat *" count="count" count_scale="9"/> <glx ignore="true"/> <glx ignore="true"/> </function> <function name="UniformMatrix4fv" es2="2.0" offset="assign"> <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> + <param name="count" type="GLsizei" counter="true"/> <param name="transpose" type="GLboolean"/> - <param name="value" type="const GLfloat *"/> + <param name="value" type="const GLfloat *" count="count" count_scale="16"/> <glx ignore="true"/> <glx ignore="true"/> </function> @@ -6004,44 +6004,44 @@ <function name="UniformMatrix2x3fv" offset="assign" es2="3.0"> <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> + <param name="count" type="GLsizei" counter="true"/> <param name="transpose" type="GLboolean"/> - <param name="value" type="const GLfloat *"/> + <param name="value" type="const GLfloat *" count="count" count_scale="6"/> <glx ignore="true"/> </function> <function name="UniformMatrix3x2fv" offset="assign" es2="3.0"> <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> + <param name="count" type="GLsizei" counter="true"/> <param name="transpose" type="GLboolean"/> - <param name="value" type="const GLfloat *"/> + <param name="value" type="const GLfloat *" count="count" count_scale="6"/> <glx ignore="true"/> </function> <function name="UniformMatrix2x4fv" offset="assign" es2="3.0"> <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> + <param name="count" type="GLsizei" counter="true"/> <param name="transpose" type="GLboolean"/> - <param name="value" type="const GLfloat *"/> + <param name="value" type="const GLfloat *" count="count" count_scale="6"/> <glx ignore="true"/> </function> <function name="UniformMatrix4x2fv" offset="assign" es2="3.0"> <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> + <param name="count" type="GLsizei" counter="true"/> <param name="transpose" type="GLboolean"/> - <param name="value" type="const GLfloat *"/> + <param name="value" type="const GLfloat *" count="count" count_scale="8"/> <glx ignore="true"/> </function> <function name="UniformMatrix3x4fv" offset="assign" es2="3.0"> <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> + <param name="count" type="GLsizei" counter="true"/> <param name="transpose" type="GLboolean"/> - <param name="value" type="const GLfloat *"/> + <param name="value" type="const GLfloat *" count="count" count_scale="12"/> <glx ignore="true"/> </function> <function name="UniformMatrix4x3fv" offset="assign" es2="3.0"> <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> + <param name="count" type="GLsizei" counter="true"/> <param name="transpose" type="GLboolean"/> - <param name="value" type="const GLfloat *"/> + <param name="value" type="const GLfloat *" count="count" count_scale="12"/> <glx ignore="true"/> </function> |