Vladimír Vondruš
fb32dd4c0e
imageconverter,sceneconverter: support option subgroups as well.
6 years ago
Vladimír Vondruš
0da8f89055
sceneconverter: hook scene converter plugins into this thing.
6 years ago
Vladimír Vondruš
08a51215b6
sceneconverter: add a --profile option.
6 years ago
Vladimír Vondruš
0ad5a8968f
AnySceneConverter: new plugin.
6 years ago
Vladimír Vondruš
2dc47839ef
Trade: bootstrap scene converter plugins.
6 years ago
Vladimír Vondruš
b7edd8df25
sceneconverter: move the utility from Trade to MeshTools.
...
So it can make use of all the APIs in here. Having the utility part of
Trade would make the cyclic dependency a bit weird. Not adding MeshTools
as a dependency just yet, will do that once it's actually needed.
6 years ago
Vladimír Vondruš
e64e40da11
Platform: avoid using 100% CPU in an idle GlfwApplication.
6 years ago
Vladimír Vondruš
d3feb2a2a9
doc: updated changelog.
6 years ago
William JCM
8a42c727c1
Fix one particular kind of linker errors on MingGW Clang.
...
The existing ifdefs apparently were just to work around something in
MinGW GCC. MSVC, Clang-cl and MinGW Clang don't need these.
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š
d471a7bebd
DebugTools: remove redundant internal state in FrameProfiler.
...
Imagine spending 3 hours on recursive off-by-one and overflow errors.
Wonderful.
6 years ago
Vladimír Vondruš
be9a782272
DebugTools: rename function/test to match the use better.
6 years ago
Vladimír Vondruš
d4c196e997
DebugTools: suggesting such thresholds for image comparison is criminal.
...
Seriously, what the hell was I thinking. If the mean is above 0.01 you
got a problem.
6 years ago
Vladimír Vondruš
6c7e798d86
DebugTools: moving average over a year worth of frames isn't useful.
...
That would generate 32 GB of data. I think the technology isn't ready
for this yet, so I think capping the frame count (and everything else)
at 32 bits is enough.
6 years ago
Vladimír Vondruš
cda8c8fd09
Math: MSVC 2017 apparently dies on this.
...
But only in the vcpkg package and only with 19.16.27034 (not 27035), so
probably some combination of /permissive- and a compiler bug is to
blame.
The template keyword was unnecessary in any case, it probably got copied
from elsewhere by accident.
6 years ago
Vladimír Vondruš
28965d4887
Shaders: I happily forgot SwiftShader has broken gl_VertexID.
...
Sigh.
6 years ago
Vladimír Vondruš
e8f36033f9
Shaders: GS is needed only for wireframe.
...
So don't skip the test when rendering just object/primitive/.. ID. Turns
out due to the skip this test was never executed on SwiftShader, and it
thus needs some threshold bumping.
6 years ago
Vladimír Vondruš
698a7ed24c
Shaders: whoopsie.
6 years ago
Vladimír Vondruš
062055d20d
Shaders: add vertex ID visualization to MeshVisualizer.
...
Helps visualizing face connectivity (or the lack of it).
6 years ago
Vladimír Vondruš
7a58bf5e42
Shaders: reorder code for consistency.
...
It's InstancedObjectId and then PrimitiveId in the flags, so follow the
same order in the code also.
6 years ago
Vladimír Vondruš
6eccc479f0
Shaders: simplify a bunch of repeated checks in shader code.
6 years ago
Vladimír Vondruš
b858385b84
Shaders: unify assert for common flags in 2D and 3D meshvisualizer.
6 years ago
Vladimír Vondruš
806e080008
doc: updated changelog and credits.
6 years ago
Vladimír Vondruš
f1fbafb816
Trade: add a similar assert check for Phong textureMatrix as well.
6 years ago
Squareys
b8cc3f766a
Trade: add *TextureLayer() properties to PhongMaterialData.
...
Signed-off-by: Squareys <squareys@googlemail.com>
6 years ago
Vladimír Vondruš
5f7f219d75
MeshTools: added interleavedMutableData().
...
Needed a mutable variant of interleavedData() without having to do a
const_cast.
6 years ago
Vladimír Vondruš
a3912c7f7f
DebugTools: make FrameProfiler compile w/o TARGET_GL enabled.
6 years ago
Vladimír Vondruš
e7838a8b9e
Platform: check before calling SDL_DestroyWindow().
...
Can cause a crash when exiting from constructor on Windows (but not on
Linux). To be safe do the same for all others.
6 years ago
Vladimír Vondruš
060d8548c6
Math: benchmark some sqrt variants.
6 years ago
Vladimír Vondruš
e05fda0db4
Math: this got forgotten.
6 years ago
Vladimír Vondruš
a27802e67c
GL: sigh, windows.h.
6 years ago
Vladimír Vondruš
3942dff532
GL: add a test for global function pointers across libraries as well.
...
Fails. The huge change just before should have made the fix possible,
but apparently it's not so simple. Nothing is ever simple. Sigh.
6 years ago
Vladimír Vondruš
b580458104
external: pack all dynamically loaded GL entrypoints into a giant struct.
...
On desktop this saves about 50 kB in symbols. Was done for Vulkan
already, this follows that (two years later). I need this in order to
solve the problem of static globals being unique across shared libs, and
it sounded better to export just one symbol instead of 689.
6 years ago
Vladimír Vondruš
3977f0472f
Any*{Importer,Converter}: show used plugin in verbose output.
...
Good for the first step when debugging why is something wrong.
6 years ago
Vladimír Vondruš
9c14d8e354
Introduce a BUILD_STATIC_UNIQUE_GLOBALS option.
...
Same as in Corrade. Because BUILD_STATIC is independent between Corrade
and Magnum this option is also independent -- the corner cases and bad
interactions would be otherwise too complex to handle (e.g., in case of
a dynamic Corrade and static Magnum it would be impossible to enable
this option for Magnum etc etc).
6 years ago
Vladimír Vondruš
bc35478907
modules: updated FindCorrade.cmake.
6 years ago
Vladimír Vondruš
05617c02b5
doc: rewrite the building features docs to be easier to navigate.
...
Turn the BUILD_* options to a list and move unimportant blabber to the
end.
6 years ago
Vladimír Vondruš
2149f31973
MagnumFont,MagnumFontConverter: adapt to Corrade changes.
...
And document this in MagnumFont and MagnumFontConverter usage docs. The
inter-manager dependencies weren't an unused feature after all.
6 years ago
Vladimír Vondruš
b5dead9223
Platform: add no-forward-compatible-core-context workaround for EGL too.
6 years ago
Vladimír Vondruš
b81f78f990
Platform: I messed up.
6 years ago
Vladimír Vondruš
68c7a06ad3
Platform: add a TODO for this weird EGL app implementation.
6 years ago
Vladimír Vondruš
71e3f5d561
doc: updated changelog.
6 years ago
aspioupiou
64d0702277
Platform: only initialize/terminate EGLDisplay once in a shared set.
...
Co-authored-by: Vladimír Vondruš <mosra@centrum.cz>
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š
433dd07d9c
DebugTools: MSVC thanks for existing, again.
6 years ago
Vladimír Vondruš
f2800995b2
DebugTools: deprecate the old Profiler.
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š
ec3e308c9b
doc: all those VAO+DSA entry points are used already.
6 years ago
Vladimír Vondruš
d366e0e7a0
GL: exposed clip / cull distance APIs.
6 years ago