ARB_explicit_uniform_location: preprocessor define test

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ARB_explicit_uniform_location: location qualifier compiler test

Test checks that shaders using a location qualifier for uniform
variable compile succesfully.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ARB_explicit_uniform_location: GL_MAX_UNIFORM_LOCATIONS enum test

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
glx: Add a testcase for GLX_EXT_buffer_age

v2: Indent according to piglit style, fix copyright message, drop
    redundant glReadBuffer() setting. (changes by anholt).

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Adel Gadllah <adel.gadllah@gmail.com> (v2)
glx-buffer-age: Test each frame rendered, and render enough frames.

An implementation might have up to 4 (!) buffers in its queue, so
render a bunch of frames and make sure each frame has a valid age.

Reviewed-by: Adel Gadllah <adel.gadllah@gmail.com>
glx-buffer-age: Test with vblank_mode=0.

Revealed a problem with the Mesa patches.  Interestingly,
glXSwapIntervalMESA(0) doesn't produce the same behavior.

Reviewed-by: Adel Gadllah <adel.gadllah@gmail.com>
Summary.py: use mako's TemplateLookup class

This change reduces code duplication by setting arguments to the
templates to be set once, rather than once per template.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Summary.py: Move code out of HTMLIndex into a mako template

Moving the column headers out of the HTMLIndex class simplifies the
class, since the code that existed for handling this was special case.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
templates/index.mako: remove unused subtestResult

This code was left over from an early iteration of the code, and isn't
used.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
summary.py: Simplify the way HTMLIndex works

This patch replaces home-rolled code with built-in python functions,
this results in cleaner, simpler, and faster code.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Summary.py: Convert HTMLIndex class into a generator

This change does a couple of really nice things for us, first it cuts
down on the memory consumption by using a generator (which is lazy).
Further, as a part of the Summary.generate_html() method it doesn't need
to have the summary instance passed to it, reducing complexity.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>