Vladimír Vondruš
19e0e96d74
Updated copyright year.
6 years ago
Vladimír Vondruš
65a2ced2a7
Make this compile and test cleanly with CORRADE_NO_ASSERT defined.
6 years ago
Vladimír Vondruš
398988193a
TextureTools: increase fuzzy compare threshold for iOS/WebGL.
7 years ago
Vladimír Vondruš
93789721b2
De-inline Image headers, remove dependency on ImageView.
...
This means users have to add some more #includes on their side. Sorry
but it's for your own good :P
7 years ago
Vladimír Vondruš
b97c27ba82
DebugTools,TextureTools: better diagnostics for missing plugins in tests.
7 years ago
Vladimír Vondruš
67cf914864
TextureTools: avoid the test looking for plugins we didn't supply.
7 years ago
Vladimír Vondruš
9e3690670a
TextureTools: explicitly force operation sequencing in the test.
...
On GCC 4.8 at least, release() gets called on the image before size(),
causing size() to be zero.
7 years ago
Vladimír Vondruš
4ff67d53b1
TextureTools: don't benchmark GPU if we don't have time queries.
...
Makes a loud BOOM on SwiftShader.
7 years ago
Vladimír Vondruš
49d70377af
Test: fixed various unused function warnings.
7 years ago
Vladimír Vondruš
f9f3df69de
Get rid of std::unique_ptr.
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š
fe6fedf6c8
TextureTools: add some fuzziness to DistanceField test comparison.
8 years ago
Vladimír Vondruš
5cc140d60c
TextureTools: make the test files properly accessible on an iOS device.
...
Testing exclusively on the iOS Simulator isn't a good thing after all.
8 years ago
Vladimír Vondruš
b9739a97ff
TextureTools: make distance field test working on WebGL 1 as well.
...
And remove the implicit assumptions, making it more robust.
8 years ago
Vladimír Vondruš
f0bb710cd3
TextureTools: make distance field processing into a stateful class.
8 years ago
Vladimír Vondruš
1fa1869ba7
TextureTools: add a benchmark for distance field processing.
...
It's a bit shitty because we're recreating the shader and everything
every iteration.
8 years ago
Vladimír Vondruš
c983068fcc
TextureTools: initial test for distanceField().
...
Fully passes only on desktop and ES3 (Mesa), expecting minor differences
onother GPUs. ES2 is slightly broken and needs fixing; doesn't even
compile on WebGL 1 and causes a serious GPU stall on WebGL 2 -- in both
causes caused by the unbounded nested loops. Rendering doesn't work on
WebGL 1 at the moment, since luminance formats are not renderable. And
for a RGBA output format I would need some utility to get rid of the
extra channels in order to pass the comparison.
Lots of work to do here.
8 years ago