Vladimír Vondruš
4aa5217947
Shaders: a crutch for MSVC's neverending fails.
...
Hope this is enough?
5 years ago
Vladimír Vondruš
ef9da0ec96
Shaders: add UBO support to all shaders.
5 years ago
Vladimír Vondruš
d343be1d8c
Shaders: this accidentally didn't actually test the thing.
...
...but was the same as the "blending" case above. Fortunately there was
no bug hidden underneath.
5 years ago
Vladimír Vondruš
2066d82ea4
Shaders: suffix all existing shaders with GL.
...
To make room for Vulkan shaders. Also renaming the headers, of course
everything is still aliased to the old names (and marked as deprecated).
5 years ago
Vladimír Vondruš
ec19c25e46
Adapt to Corrade changes.
5 years ago
Vladimír Vondruš
65a935cedc
Test: adapt to changes in CORRADE_SKIP().
...
Chose to update the tests instead of adding a compatibility DebugStl.h
include to Tester.h, which would have a significant impact on compile
times.
5 years ago
Vladimír Vondruš
3d136503d8
Updated copyright year.
5 years ago
Vladimír Vondruš
08bd6e9ae9
Test: fix wrong plugin name in a message.
6 years ago
Vladimír Vondruš
19e0e96d74
Updated copyright year.
6 years ago
Vladimír Vondruš
86a5a63af9
Test: most tests now pass on Zink as well.
...
Just adding a bunch of extension checks that I thought I would never
need again.
6 years ago
Vladimír Vondruš
97e3e2a8fe
MeshTools,Shaders: make the rendering tests pass on llvmpipe.
6 years ago
Vladimír Vondruš
65a2ced2a7
Make this compile and test cleanly with CORRADE_NO_ASSERT defined.
6 years ago
Vladimír Vondruš
a1f1f66c04
Shaders: implement instancing in Flat.
6 years ago
Vladimír Vondruš
c9ea6aba2e
Shaders: grumble.
6 years ago
Vladimír Vondruš
02525527a4
Shaders: ability to render instanced object ID in Flat/Phong.
6 years ago
Vladimír Vondruš
1b21e4e7ba
Primitives: switch to an enum set for texturable primitives.
...
Making room for GenerateTangents in 3D, and keeping the 2D ones
consistent with 3D. Also renamed GenerateTextureCoords to
GenerateTextureCoordinates in the remaining places to be consistent with
naming in the rest of the APIs.
6 years ago
Vladimír Vondruš
9a06b3515b
Shaders: implement texture coordinate transformation for all shaders.
...
Except MeshVisualizer and VertexColor, which don't have any texturing,
so there it's not needed. In most cases the tests are reusing existing
ground truth files and only modifying transformations / flipping images.
6 years ago
Vladimír Vondruš
de9c289328
Adapted all code and doc snippets to GL library changes.
6 years ago
Vladimír Vondruš
89d6d6de7c
Shaders: port tests away from MeshDataXD.
6 years ago
Marco Melorio
c632099501
Shaders: inflate rendering test thresholds a bit for the iPhone GPU.
7 years ago
Marco Melorio
2379b8cd09
Fixed shaders tests for iOS
7 years ago
Vladimír Vondruš
a0f0015211
Shaders: de-inline uniform setters.
...
Reduces includes in the header quite a lot, yay.
7 years ago
Vladimír Vondruš
0e8e6f43e5
Shaders: adjust thresholds for Flat/Phong vertex color WebGL 1 tests.
7 years ago
Vladimír Vondruš
cd39463876
Shaders: verify that no GL errors happened during construction.
7 years ago
Vladimír Vondruš
5617cb5199
Shaders: vertex color support in Phong and Flat.
7 years ago
Vladimír Vondruš
1696ffb177
Shaders: destruct test scaffolding in reverse order.
7 years ago
Vladimír Vondruš
87ac8a8cd2
Shaders: support object ID output in Flat and Phong.
7 years ago
Vladimír Vondruš
b3a455fdaa
Shaders: adapt Flat / Phong to more test results.
7 years ago
Vladimír Vondruš
d932ca3d78
Shaders: whoops, a leftover after pruning depth test from the tests.
7 years ago
Vladimír Vondruš
000833f86b
Shaders: these cheats for getting code coverage are not needed anymore.
...
The testing is *real* now.
7 years ago
Vladimír Vondruš
fd6bf54769
Shaders: no, these are not expected to fail on macOS.
7 years ago
Vladimír Vondruš
6a5a5496f5
Shaders: properly test all constructor combinations of Flat.
7 years ago
Vladimír Vondruš
e6d6d181a9
Shaders: inflate fuzzy thresholds for FlatGLTest.
...
Tested on SwiftShader, WebGL 1 and 2.
7 years ago
Vladimír Vondruš
8276405ce3
Shaders: rendering tests for Flat shader.
7 years ago
Vladimír Vondruš
3d5f50ac49
Test: use the new setTestCaseTemplateName().
7 years ago
Vladimír Vondruš
3626562e1d
Adapted to Corrade changes.
...
Mostly missing includes now.
7 years ago
Vladimír Vondruš
2149f7b869
Wrap all tests in unnamed namespaces.
...
This makes the compiler warn about test cases that aren't ever used,
which is a good thing.
7 years ago
Vladimír Vondruš
e6b7aa12fa
Updated copyright year.
7 years ago
Vladimír Vondruš
7d0757ca4d
Shaders: debug output for all Flag / Flags enums / enum sets.
8 years ago
Vladimír Vondruš
daf287d2a6
Shaders: classical alpha masking support in Phong and Flat.
...
Slow and ugly, is here only for making quick'n'dirty alpha masked
drawing without a need for blending or depth sorting. Oh and also to
support the glTF alpha mask feature. Again, beware: *slow*.
8 years ago
Vladimír Vondruš
5201176cdb
Shaders: assert texturing is enabled when calling Flat::bindTexture().
8 years ago
Vladimír Vondruš
412ee9a04b
Shaders: simplify Flat shader test.
8 years ago
Vladimír Vondruš
f27b75bd65
Shaders: improve copy/move construction tests.
...
Doesn't compile at the moment because AbstractVector has a private
constructor and so the move constructors are not generated or something.
8 years ago
Vladimír Vondruš
adb4547ba0
Split the OpenGL layer out, pt 20: adapted Shaders.
8 years ago
Vladimír Vondruš
623fa97970
Updated copyright year.
8 years ago
Vladimír Vondruš
1c433486cd
Consistently use macOS instead of OSX.
9 years ago
Vladimír Vondruš
7a16273e5d
Updated copyright year.
9 years ago
Vladimír Vondruš
fb454d8a3f
Made Test/AbstractOpenGLTester.h a public and documented API.
...
There will be numerous additions to this one so it made sense to make it
a static library instead of a header-only library. That also allows
CMake users to just link to Magnum::OpenGLTester instead of going
through the pain of a huge branching in order to find a correct
windowless application just to run their tests. It could have been done
even without the static library using a INTERFACE target, but that
wouldn't work on CMake < 3.0 (which, unfortunately, quite a few people
are still stuck with).
Unfortunately it's already heavily used elsewhere so I had to go through
the pain of deprecating the old implementation. The old implementation
was header-only so it can't be just typedef'd to the new one as there
would be linker failures. So the old header is just kept as it was, with
only the macros reduced.
9 years ago
Vladimír Vondruš
23646e6690
Hell, this project is big.
10 years ago
Vladimír Vondruš
d5fa097143
Don't do shader validation in GL tests on OSX.
...
Apple wants insane amount of state to return true (bound FB, bound VAO,
etc.). Ugh.
10 years ago