Vladimír Vondruš
3d136503d8
Updated copyright year.
5 years ago
Vladimír Vondruš
91631139f7
Test: use shorter std::is_copy_{constructible,assignable} everywhere.
...
I wonder why I didn't do this from the beginning, back in 2010 or so.
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š
62fa2007e6
DebugTools: add raw data access to FrameProfiler.
...
This took three hours to implement. Wonderful, isn't it.
6 years ago
Vladimír Vondruš
be9a782272
DebugTools: rename function/test to match the use better.
6 years ago
Vladimír Vondruš
c986f5f99b
DebugTools: make GLFrameProfiler::Values storeable in Configuration.
...
I want to use these in command-line arguments.
6 years ago
Vladimír Vondruš
2c43e817db
DebugTools: wow MSVC thanks for existing.
6 years ago
Vladimír Vondruš
820b9b94a1
DebugTools: initial implementation of a new frame profiler.
...
Replaces the old & extremely useless Profiler. Doesn't have everything I
want yet (missing stddev and fancier GPU queries), that'll come later.
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š
6721c0e3b2
DebugTools: ugh WTF.
...
I really need to implement my own float printer already, this is a mess.
6 years ago
Vladimír Vondruš
65a2ced2a7
Make this compile and test cleanly with CORRADE_NO_ASSERT defined.
6 years ago
Vladimír Vondruš
5d9d529010
Any*{Importer,Converter}: less engrish in error messages.
6 years ago
Vladimír Vondruš
88ec50127e
DebugTools: I'm starting to get tired of this.
6 years ago
Vladimír Vondruš
dc56bf413a
DebugTools: update test to pass on clang-cl.
...
NaN printing strikes again.
6 years ago
Vladimír Vondruš
f7f676e01d
DebugTools: remove unused declaration in a test.
...
THis one is split into imageFileZeroDelta() and imageFileNonZeroDelta().
6 years ago
Vladimír Vondruš
f077fc1ada
DebugTools: update test to pass with newer Emscripten on the CI.
6 years ago
Vladimír Vondruš
607b3a15fa
DebugTools: finish ResourceManager singleton deprecation.
7 years ago
Vladimír Vondruš
3afa29ed5b
DebugTools: XFAIL a screenshot() test if the format is not R8.
...
It gets read as RGBA on Intel Windows.
7 years ago
Vladimír Vondruš
ef725cdbcf
Adapt to changes to executable symbol defaults in CMake 3.4.
7 years ago
Vladimír Vondruš
a018521a8c
CMake: simplify plugin test setup.
...
No matter how broken iOS is in CMake 3.6, $<CONFIG> seems to work there,
so reducing the amount of code and putting the configure into a single
place independently of what generator or what system/build is used.
Compared to current state it always adds Debug/configure.h instead of
putting it directly to the ${CMAKE_CURRENT_BINARY_DIR}, but the
alternative would be some CMake branching again and I just removed that,
so no.
This also prepares everything for plugin libraries being put into a
central place -- the config files don't depend on their location
anymore.
7 years ago
Vladimír Vondruš
d89b74d40a
DebugTools: now it can happen that the pixel list is empty.
7 years ago
Vladimír Vondruš
5b1c521f99
DebugTools: provide verbose diagnostic from CompareImage.
7 years ago
Vladimír Vondruš
cb492f932a
DebugTools: don't print a newline after comparison delta image.
...
It makes other stuff too nasty.
7 years ago
Vladimír Vondruš
dbfc145362
DebugTools: copypaste oops, so this wasn't testing the correct thing.
7 years ago
Vladimír Vondruš
f84a91ea06
DebugTools: improve CompareImage failure message.
...
The comparison is <=, so if it passes, it's not "below".
7 years ago
Vladimír Vondruš
a0232e8506
DebugTools: CompareImage can now compare against pixel views.
...
This is getting too good.
7 years ago
Vladimír Vondruš
069c81b9cb
Deprecate passing nullptr to images.
...
Causes too much pain. Ugh.
7 years ago
Vladimír Vondruš
c6737e1958
DebugTools: PIMPL all CompareImage's state.
...
The distinction didn't make sense and we had to include more than
necessary. It's great how easy those refactorings are with the 100% code
coverage.
7 years ago
Vladimír Vondruš
ed6cde9536
DebugTools: support --save-diagnostic in CompareImage.
7 years ago
Vladimír Vondruš
f102b86645
DebugTools: prepare CompareImage for more than one plugin manager.
7 years ago
Vladimír Vondruš
bc0e45fb95
DebugTools: clearer name for a define.
7 years ago
Vladimír Vondruš
9e0b24fa5b
DebugTools: doc++, minor cleanup.
7 years ago
Vladimír Vondruš
5d9fb386f5
DebugTools: make CompareImage work correctly with NaNs and infinities.
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š
3626562e1d
Adapted to Corrade changes.
...
Mostly missing includes now.
7 years ago
Vladimír Vondruš
e6fb085db7
DebugTools: minor cleanup.
7 years ago
Vladimír Vondruš
10fec86534
DebugTools: no need to use std::vector in CompareImage internals.
...
Containers::Array will do juust fine.
7 years ago
Vladimír Vondruš
6f3c6f85ad
DebugTools: expect more differences in renderer tests on ARM Mali.
...
This makes the tests pass 100%.
7 years ago
Vladimír Vondruš
7cc70c6dad
DebugTools: fix textureSubImage() test on ARM Mali.
...
This time it was just a missing state, no crazy shit like gl_VertexID
not working.
7 years ago
Vladimír Vondruš
f6a978c5c4
DebugTools: properly reference rendereing test files.
7 years ago
Vladimír Vondruš
dce0e052ef
DebugTools: increase test fuziness for Intel Windows drivers.
...
This is how adapting to different drivers should look. Not discovering
seriously broken *basic* functionality.
7 years ago
Vladimír Vondruš
b97c27ba82
DebugTools,TextureTools: better diagnostics for missing plugins in tests.
7 years ago
Vladimír Vondruš
aca02f52f5
Shapes: this library is no more either.
7 years ago
Vladimír Vondruš
930a323c05
GL: removed deprecated aliases to GL functionality in the root namespace.
...
Deprecated for 2018.04, it's been almost a year since. Whoever is using
Magnum regularly updated already, and who not can always upgrade
gradually (2018.02, 2018.04, 2018.10, 2019.01 etc.).
7 years ago
Vladimír Vondruš
8357442ad7
DebugTools: don't try to use system plugin dirs in CompareImage test.
...
Due to that, all the tests got skipped on the CI and moreover when ABI
was broken, tests were failing hard due to ABI mismatches with system
installed plugins. No good.
Some variants still need to access the system plugin dir (such as checks
for compressed data), but those are minimal. Sanitized them nevertheless
so a broken system-installed plugin doesn't break the test.
7 years ago
Vladimír Vondruš
3d0e237dbf
DebugTools: texelFetch() doesn't work w/o min filter on SwiftShader.
...
WTF. I have no explanation for this.
7 years ago
Vladimír Vondruš
06d2f0b598
DebugTools: check for different error string based on impl color read fmt.
7 years ago
Vladimír Vondruš
bbf2e15287
DebugTools: give up and skip R8 screenshot() tests on ES2.
...
It's... not worth the pains.
7 years ago
Vladimír Vondruš
80fc86ccba
DebugTools: add some fuziness to ObjectRenderer test.
...
SwiftShader misplaces two pixels. No biggie.
7 years ago