Age | Commit message (Collapse) | Author | Files | Lines |
|
This function sets the maximum amount of memory that a process can
have in its address space. This is useful for tests that use
"infinite" memory on failing implementations. Setting this low can
prevent the test from exhausting system memory and adversely affecting
other tests.
Acked-by: José Fonseca <jfonseca@vmware.com>
|
|
On Arch Linux, "python" means Python 3.x, and Python 2.x is called
"python2". The test generation code requires Python 2.x. In many
other distributions, "python" refers to Python 2.x.
This patch adds logic to the toplevel CMakeLists that checks both
"python2" and "python" to see which one is Python 2.x, and once it is
found, sets the cmake variable ${python} to point to it.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
|
|
This patch adds 462 tests to piglit, which comprehensively test the
behavior of GLSL built-in functions on vertex and fragment shaders.
The test vectors are auto-generated in Python, by using the numpy
library to simulate the behavior of the built-in functions on a
variety of inputs (in builtin_function.py), and then producing
shader_runner tests to verify the expected behavior (in
gen_builtin_uniform_tests.py).
Test generation happens as part of the piglit build process. To run
the test generation step by itself, use "make gen-tests" from the root
of the piglit tree (after configuring using cmake). The generated
tests may be found in generated_tests/spec.
The auto-generation code depends on Python 2.6 and on the numpy
library (www.numpy.org). I've updated the README to reflect these
dependencies, and added code to CMakeLists.txt to check for them at
configure time. (Note: other parts of Piglit already depend on Python
2.6, but the dependency wasn't previously explicit).
|
|
Although the bulk is C, there are a few C++ sources as well.
|
|
It causes thousands of warnings on windows.h...
|
|
It's only used by glean, so no need to force linking against it everywhere.
|
|
|
|
|
|
Until now MSVS was putting binaries on a Debug/Release/etc sub-directory.
This implied using CMAKE_RUNTIME_OUTPUT_DIRECTORY and
CMAKE_LIBRARY_OUTPUT_DIRECTORY instead of deprecated
EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH vars.
|
|
glext.h is not bundled on MSVC, so its path needs to be included
separately.
It might be also useful on other platforms to override the system's
glext.h with a more recent one.
|
|
Signed-off-by: Chad Versace <chad.versace@intel.com>
|
|
A convenience header that includes the actual OpenGL headers, which are
chosen according to the macro definitions USE_OPENGL and USE_OPENGL_ES2.
Note: This belongs to a series that adds GLES2 support to Piglit.
Signed-off-by: Chad Versace <chad.versace@intel.com>
|
|
Add two new CMakeLists, /cmake/target_api/{gl,gles2}/CMakeLists.txt, each
of which builds Piglit with its respective API. (Of course,
gles2/CMakeLists.txt adds no targets because Piglit does not yet support
building with GLES2.)
The toplevel CMakeLists no longer adds subdirectory /tests; that is now
the responsiblity of the API-specific CMakeLists.
Note: This belongs to a series that adds GLES2 support to Piglit.
Signed-off-by: Chad Versace <chad.versace@intel.com>
|
|
This fixes out-of-source builds, and does not harm in-source builds.
Signed-off-by: Chad Versace <chad.versace@intel.com>
|
|
Replace
include(${CMAKE_ROOT}/Modules/FindPACKAGE.cmake)
with
find_package(PACKAGE)
|
|
|
|
Discussed on IRC.
Finally we have headers for OpenGL 4.1 and all the extensions released
to this day.
|
|
|
|
|
|
Fixes CMake error.
|
|
|
|
|
|
So that cmake stops complaining.
This apparently causes a change in add_definitions behavior and I had to
remove \\\" to make shaders work.
Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
|
|
I would do the right set of warnings for gcc like we do for automake
projects, but the way you have to do it in cmake is ridiculous and so
apparently basically nobody enables compiler warnings with cmake.
|
|
|
|
|
|
|
|
|