aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/test/openglsupport.cpp
Commit message (Collapse)AuthorAge
* Address issues with `openglsupport` test.Gravatar Antonio Sanchez2020-11-11
| | | | | | | | | | | | | | | | | | | | | | | The existing test fails on several systems due to GL runtime version mismatches, the use of deprecated features, and memory errors due to improper use of GLUT. The test was modified to: - Run within a display function, allowing proper GLUT cleanup. - Generate dynamic shaders with a supported GLSL version string and output variables. - Report shader compilation errors. - Check GL context version before launching version-specific tests. Note that most of the existing `OpenGLSupport` module and tests rely on deprecated features (e.g. fixed-function pipeline). The test was modified to allow it to pass on various systems. We might want to consider removing the module or re-writing it entirely to support modern OpenGL. This is beyond the scope of this patch. Testing of legacy GL (for platforms that support it) can be enabled by defining `EIGEN_LEGACY_OPENGL`. Otherwise, the test will try to create a modern context. Tested on - MacBook Air (2019), macOS Catalina 10.15.7 (OpenGL 2.1, 4.1) - Debian 10.6, NVidia Quadro K1200 (OpenGL 3.1, 3.3)
* Fix some shadow warningsGravatar Christoph Hertzberg2018-08-25
|
* Get rid of EIGEN_TEST_FUNC, unit tests must now be declared with ↵Gravatar Gael Guennebaud2018-07-17
| | | | | | | | | EIGEN_DECLARE_TEST(mytest) { /* code */ }. This provide several advantages: - more flexibility in designing unit tests - unit tests can be glued to speed up compilation - unit tests are compiled with same predefined macros, which is a requirement for zapcc
* Automatic relicensing to MPL2 using Keirs script. Manual fixup follows.Gravatar Benoit Jacob2012-07-13
|
* fix compilation for old but not so old versions of glewGravatar Gael Guennebaud2011-03-18
|
* fix bug #204: limit integer values to numbers which are representable using ↵Gravatar Gael Guennebaud2011-03-02
| | | | float
* fix openglsupport unit test when defaulting to row majorGravatar Gael Guennebaud2011-01-04
|
* bug #86 : use internal:: namespace instead of ei_ prefixGravatar Benoit Jacob2010-10-25
|
* add support for uniform of doubleGravatar Gael Guennebaud2010-10-12
|
* uncomment commented line for debugGravatar Gael Guennebaud2010-10-12
|
* add support for uniformsGravatar Gael Guennebaud2010-10-12
|
* extend OpenGL support module with true unit tests and support for Transform, ↵Gravatar Gael Guennebaud2010-10-06
| | | | Translation, etc.
* add an OpenGL module simplifying the way you can pass Eigen's objects to GLGravatar Gael Guennebaud2010-07-22