diff options
author | Christoph Bumiller <e0425955@student.tuwien.ac.at> | 2013-01-28 19:18:01 +0100 |
---|---|---|
committer | Paul Berry <stereotype441@gmail.com> | 2013-02-04 13:42:30 -0800 |
commit | e64fceac7c866dcba78c0dfec1a252109e78fb0d (patch) | |
tree | 74ff78fe8fb28f1f11568a1fa6ece6fe45c95557 /tests/util/piglit-dispatch.h | |
parent | d2250dbc6a72dcf054453d9f00d313c25f1af7c4 (diff) |
piglit-dispatch: update gl.spec, gl.tm and enumext.spec from the registry
Added GLDEBUGPROC typedef to piglit-dispatch.h.
This update is required for the ARB_texture_buffer_range extension tests
to get the definition of the TexBufferRange function.
EDITs of gl.spec: Fixed alias of GenVertexArraysAPPLE to be
GenVertexArrays instead of GenVertexArray (singular). (Fix already
present in piglit sources).
Removed GetTransformFeedbackVarying and TransformFeedbackVaryings aliases
in gl.spec from GetTransformFeedbackVaryingNV and TransformFeedbackVaryingsNV
(different signatures). (Fix already present in piglit sourcres).
Made varyings parameter to TransformFeedbackVaryingsEXT const to match the
non-EXT version and registry/specs/EXT/transform_feedback.txt.
Added constcharPointerARB to gl.tm and used this in ShaderSourceARB to
match constness of glShaderSource.
Made indices pointer in MultiDrawElementsEXT const to match
MultiDrawElements and registry/specs/EXT/multi_draw_arrays.txt.
v2 (Paul Berry <stereotype441@gmail.com>): restore fixes from commits
6409a67 and e9db1f0.
Diffstat (limited to 'tests/util/piglit-dispatch.h')
-rw-r--r-- | tests/util/piglit-dispatch.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/util/piglit-dispatch.h b/tests/util/piglit-dispatch.h index ee5f86398..782dae923 100644 --- a/tests/util/piglit-dispatch.h +++ b/tests/util/piglit-dispatch.h @@ -121,6 +121,8 @@ struct _cl_event; typedef GLintptr GLvdpauSurfaceNV; typedef unsigned short GLhalfNV; +typedef void (APIENTRY *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,GLvoid *userParam); + typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,GLvoid *userParam); typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,GLvoid *userParam); |