summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-05-10Set window-manager hint to avoid test window from stealing input focus.HEADmasterCarl Worth1-0/+10
This allows the user to continue to type at other windows while glean tests are running.
2014-05-02Only compare perfomance if verbose output is requestedallegra-masterJon TURNEY4-3/+10
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2014-05-02jhbuild build helper MakefileJon TURNEY2-2/+13
Also add tinderbox install root to include and library paths Also ensure $(DESTDIR)/$(prefix) directory exists after install, otherwise jhbuild complains Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2014-05-02Cosmetic fixes for -compare modeJon TURNEY5-29/+12
MultiTest::compareOne neglects to report the name of the test which it is comparing the results for Some tests report just "New: FAIL Old: FAIL", omitting the test name and without a trailing '\n', so they run into the next test's results (which is irritating). On further examination, they are using comparePassFail() which would report this information in any case if it was interesting (because the result had changed). GetStringTest::compareOne doesn't emit a newline after reporting the differing strings, and so runs into the output of the next test
2014-05-02Fix build of showvis for cygwinJon TURNEY1-1/+1
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2014-05-02cmake: Use static MSVC runtime.José Fonseca1-0/+11
Therefore avoiding to have to install the MSVC runtime redistributables.
2014-05-02cmake: Avoid depending on MinGW runtime DLLs.José Fonseca1-0/+16
2014-05-02glean: Add missing stdlib.h include for system() call.José Fonseca1-0/+1
Include is necessary when building with WIN32_LEAN_AND_MEAN.
2014-05-02Test glStencilMaskSeparate too.José Fonseca2-22/+151
Reviewed-by: Brian Paul <brianp@vmware.com>
2014-05-02Include windows.h and GL/gl.h before glut.h.José Fonseca2-0/+2
Prevents conflicting declaration errors inside glext.h with recent MinGW compiler toolchains.
2012-01-02Release GLX context before destroying the windowNicholas Miell1-0/+4
GLEAN::Window::~Window was calling XDestroyWindow on the currently bound GLX drawable, which would cause the subsequent test to explode when it called glXMakeCurrent and Mesa attempted to flush the outstanding state to the now destroyed window. Now the Window destructor checks if the window being destroyed is bound to the current GLX context, and if so, releases the current GLX context before destroying the window. I also included the equivalent WGL change, but that is untested. The AGL and BeOS versions are untouched, but probably needs something similar. With this change, the glean basic sanity test now passes on Mesa swrast. Signed-off-by: Nicholas Miell <nmiell@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2011-11-02glean: Fix handling of PIXELFORMATDESCRIPTORs.Morgan Armand4-27/+24
Signed-off-by: José Fonseca <jfonseca@vmware.com>
2011-10-18Fix too-specific GL version checksPaul Berry5-23/+9
This patch fixes several version checks that are too specific (e.g. checking that the GL version is 2.x or 3.x when the intent is to make sure the GL version is >= 2.0). We now perform the version check using GLUtils::getVersion() function. Signed-off-by: Brian Paul <brianp@vmware.com>
2011-09-06texture_srgb: add int casts to make log message readableBrian Paul1-2/+2
The values were being interpreted as chars before.
2011-07-17dsurf: #pragma warning is MSVC specific.José Fonseca1-1/+1
MinGW doesn't understand it and will produce warnings.
2011-07-15Revert "Use static MSVC runtime."José Fonseca1-11/+0
Creates havoc when linking against certain libraries. This reverts commit 81469c15be2a5abc49616fd6e51b74dba2b1fbb7.
2011-07-15Add GLUT include dir only where necessary.José Fonseca3-1/+4
2011-07-15Fix MacOSX build.José Fonseca2-2/+8
2011-07-15Don't depend on glut to get proc addresses on MacOSX.José Fonseca2-3/+2
dlsym() is all one needs.
2011-07-15Use static MSVC runtime.José Fonseca1-0/+11
Avoids having to install the MSVC redistributable runtime.
2011-07-15Put all executables into the bin subdirectory.José Fonseca1-0/+11
2011-07-15Add the glut include path.José Fonseca3-4/+5
2011-07-15Drop scons build support.José Fonseca19-859/+0
Broken on windows 64 bits, and obsoleted by CMake, which needs much less customization/tweaking to work as desired.
2011-07-15Support building with CMake.José Fonseca17-22/+729
Tested with Linux GCC, MSVC, and MinGW crosscompilers.
2011-05-24Fix bug ID: 2957996 - Wrong results when executing readpixPerfSimone Contini1-2/+2
cast to double added to the first argument expression to prevent the integer overflow Signed-off-by: Simone Contini <s.contini@oltrelinux.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2011-04-23scons: Avoid deprecation warning.José Fonseca1-1/+1
2011-04-23scons: Remove winsdk toolchain.José Fonseca5-573/+1
Unnecessary/undocumented.
2011-02-15glsl1: add GLSL version checking code for single test caseBrian Paul1-0/+6
2011-02-15glsl1: better comments for shadow2D() testsBrian Paul1-4/+7
2011-02-07blendFunc: observe the --quick flag.José Fonseca1-1/+25
Using the same approach as texCombine. Logged all combinations and ensured that the frequencies match the desired.
2011-01-07pointAtten: Initialize member variables in class PointAttenuationTest ↵Vinson Lee1-0/+6
constructor.
2011-01-07pixelFormats: Initialize member variables in class PixelFormatsTest constructor.Vinson Lee1-0/+6
2011-01-07Initialize member variables in class Lex constructor.Vinson Lee1-0/+2
2011-01-07Initialize member env in class Test constructor.Vinson Lee1-0/+2
2011-01-07difftiff: Add cassert header to main.cpp.Vinson Lee1-0/+1
Fixes build with GCC 4.4.x.
2011-01-07difftiff: Add default for unhandled cases in DiffColorMenu.Vinson Lee1-0/+4
2011-01-07texcombine: Ensure variable expected is initialized.Vinson Lee1-1/+1
2010-12-24Add back cstdio header in environ.cpp.Vinson Lee1-0/+1
cstdio was removed as part of previous commit 53d45c4d7a4db12c90a34fbb0cedd1dd2a79a02d but is needed for snprintf.
2010-12-24Remove unnecessary headers.Vinson Lee6-9/+0
2010-11-12pbo: fix glIsBuffer() testsBrian Paul1-5/+3
glIsBuffer() should return GL_FALSE if the buffer was generated with glGenBuffers() but never bound with glBindBuffer(). This was incorrect in Mesa until yesteday. Mesa now agrees with AMD, Apple and Intel drivers. NVIDIA is the odd one out. Also, improve error messages and remove another unneeded glIsBuffer() call later.
2010-11-04vertarraybgra: Use gl[En|Dis]ableClientState for client-side capabilities.Vinson Lee1-4/+4
Fixes GL_INVALID_ENUM errors on Mac OS X.
2010-11-04Initialize member variable _pixels in class Image.Vinson Lee1-1/+7
Fixes a valgrind uninitialized value error.
2010-10-08glsl1: Replace "/" with "-" in test names.Vinson Lee1-4/+4
"Fixes" the HTML output from piglit-summary-html.py.
2010-09-29fbo: tweak vertex pos for line drawingBrian Paul1-1/+1
This compensates for slight differences in line rasterization from one driver to another and allows more drivers to pass.
2010-09-27glean/tfbo: Put lines in the middle of the pixel, not the edge.Eric Anholt1-6/+6
GL lets the implementation be +/- a pixel on line location. It was getting rounded down on the intel driver, so the lines weren't drawn to 1D FBOs. This should have a better chance on drivers in general. (cherry-picked from piglit commit 9fdd8d9d1fc56178c950ba8fbca8abfb2e9d8b96)
2010-09-27glean/tfbo: Properly clean up when the driver reports unsupported.Eric Anholt1-2/+9
Fixes spurious test failures on the intel driver. (cherry-picked from piglit 35122d69307f0b9c88bc143715f616be80ac5cae)
2010-09-22pointAtten: improve measureSize() functionBrian Paul1-12/+32
Before, we read one row of pixels where we expected the point to be in order to compute the point size. With some drivers single pixel points might be positioned one above or below the expected position thus causing the test to fail. Now, read thee rows of pixels to make sure we don't miss the point. The purpose of this test is to measure attenuated point size, not exact positioning of single pixel points.
2010-09-22glsl1: fix the texcoord varying testBrian Paul1-0/+2
Redeclare the gl_TexCoord[] array with a specific size, per the GLSL spec. Note that the GLSL Orange book says that gl_TexCoord[] is declared with gl_MaxTextureCoords size while the GLSL 1.x specs declare it unsized.
2010-09-21tglsl1: better version checking codeBrian Paul1-9/+7
2010-08-11glsl1: added function prototype testBrian Paul1-0/+21