[Piglit] [PATCH] piglit-dispatch: update gl.spec, gl.tm and enumext.spec from the registry

Tom Gall tom.gall at linaro.org
Tue Jan 29 07:55:42 PST 2013

Hi Christoph,

If you look at the bottom of http://www.opengl.org/registry/ you will find:

enum.spec - canonical description of the reserved OpenGL enumerants
and the ranges allocated for different purposes. New allocations are
made here and when extensions using values in allocated ranges are
registered, the enumerants in those extensions are added as well.
enumext.spec - derived variant of enum.spec containing the enumerant
values grouped by the extension or API core revision they correspond
gl.spec - canonical description of the functions defined by core
OpenGL and extensions. When extensions are registered, the functions
they define are added here.
gl.tm - typemap used to convert the abstract typenames in gl.spec into
underlying GL types.
enumext.spec, gl.spec, and gl.tm are used to generate glext.h

Is that where you obtained your proposed update from ?

On Mon, Jan 28, 2013 at 2:53 PM, Christoph Bumiller
<christoph.bumiller at speed.at> wrote:
> Maybe there's a better way to do this, or a saner version of gl.spec
> somewhere ?
> ---
> 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).
> Removed GetTransformFeedbackVarying and TransformFeedbackVaryings aliases
> in gl.spec from GetTransformFeedbackVaryingNV and
> TransformFeedbackVaryingsNV
> (different signatures).
> 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.
> ---
> body of patch at
> http://people.freedesktop.org/~chrisbmr/0001-piglit-dispatch-update-gl.spec-gl.tm-and-enumext.spe.patch,
> too large for list (700 KiB).
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit


"Where's the kaboom!? There was supposed to be an earth-shattering
kaboom!" Marvin Martian
Tech Lead, Graphics Working Group | Linaro.org │ Open source software
for ARM SoCs
w) tom.gall att linaro.org
h) tom_gall att mac.com

More information about the Piglit mailing list