Vladimír Vondruš
0fa6fe7292
doc: updated changelog and credits.
3 years ago
Vladimír Vondruš
8c724656d5
package/archlinux: force cache refresh in Emscripten PKGBUILDs.
3 years ago
Vladimír Vondruš
73ab9e0afa
doc: expand Emscripten troubleshooting info with new cursed issues.
3 years ago
Vladimír Vondruš
14477c8c93
Updated toolchains submodule.
3 years ago
Vladimír Vondruš
f5d815f2ea
CMake: the Primitives library needs MeshTools to be built.
...
Went undiscovered until now, when a magnum-extras Android build enabled
Primitives but not MeshTools and then later failed as FindMagnum linked
optional Primitives to (required) MeshTools but those weren't found.
3 years ago
Vladimír Vondruš
eaf3ad21c2
modules: minor.
...
This mistyped variable shouldn't have caused any problem in practice, so
no real bug there.
3 years ago
Vladimír Vondruš
cf3f46217a
package/archlinux: don't run GL tests in Emscripten dev PKGBUILDs.
3 years ago
Vladimír Vondruš
b278f00f77
GL: implement setIndexOffset() directly on the Mesh as well.
...
So far this was only possible by creating a temporary MeshView, while
everything else (index/vertex count, base vertex, base instance, ...)
was changeable directly on the Mesh.
3 years ago
Vladimír Vondruš
5e23f09ffb
GL: test Mesh::indexType() assertion as well.
...
Ugh the code coverage is abysmal here.
3 years ago
Vladimír Vondruš
a7e1394cd9
GL: deprecate Mesh::indexTypeSize() in favor of meshIndexTypeSize().
...
Because it makes no sense to only be able to query the index type size
on a live mesh.
3 years ago
Vladimír Vondruš
78befae123
GL: deprecate MeshView::setIndexRange() in favor of setIndexOffset().
...
The name was CONFUSING every time I tried to use it.
3 years ago
Vladimír Vondruš
62db8b4c52
singles: update changelog.
3 years ago
Vladimír Vondruš
fa079385bf
singles: don't include StrictWeakOrdering in MagnumMath.hpp.
3 years ago
Vladimír Vondruš
54a0754dfa
Math: hide tweakable implementations including the enclosing namespace.
3 years ago
Vladimír Vondruš
b7633c1804
singles: update MagnumMath.hpp.
...
The MSVC2015 and 2017 checks were slightly wrong here again.
3 years ago
Vladimír Vondruš
d602c49b47
Revert "Amazing, now I get swap() conflicts from the other side, F.F.S."
...
The Utility::swap() addition was reverted until a robust solution for
the ambiguity is found.
This reverts commit 3784ca94cf .
3 years ago
Vladimír Vondruš
3784ca94cf
Amazing, now I get swap() conflicts from the other side, F.F.S.
...
This one is because ResourceKey is derived from a HashDigest class in
Corrade::Utility, where the new swap() implementation is. C++!!!
3 years ago
Vladimír Vondruš
0d31f7461b
Math: add near/far plane distance queries to Matrix4.
...
Strange, I thought it could be extracted the same way for both
orthographic and perspective projection...
3 years ago
Vladimír Vondruš
5f287df332
GL: recognize NV_geometry_shader_passthrough.
3 years ago
Vladimír Vondruš
ec018af939
Primitives: attempt to fix a silly MSVC warning.
3 years ago
Vladimír Vondruš
670838a19a
Platform: directly use HWND in WindowlessEglApplication on Windows.
...
Sorry for not having an appropriate CI environment (such as ANGLE) to
test this class in.
3 years ago
Vladimír Vondruš
0fd8828dd2
TextureTools: curse you, Xcode "new build system".
...
Horrific trash fire that only keeps getting worse and apparently nobody
is able to do anything about it.
3 years ago
Vladimír Vondruš
6cb0b22659
package/ci: can't test on Xcode 11 anymore.
...
Also disable iOS tests until https://github.com/mosra/corrade/pull/176
is resolved.
3 years ago
Vladimír Vondruš
258f700b2d
MeshTools: remove a confusing std::move() in removeDuplicatesFuzzy().
...
Add a TODO instead, as the move *might* make sense with a MeshData&&
overload to reduce peak memory use.
3 years ago
Vladimír Vondruš
8d023a7612
MeshTools: remove redundant MeshTools:: prefixes where possible.
...
Except for test cases that ended up having the same name as the API they
test.
3 years ago
Vladimír Vondruš
6b9b0f5552
MeshTools: fix a typo in an assertion message.
3 years ago
Vladimír Vondruš
615eeacd9a
MeshTools: clean up redundant test names.
3 years ago
Vladimír Vondruš
a60668b476
GL: minor cleanup -- this variable isn't needed anywhere else.
3 years ago
Vladimír Vondruš
9ac5943957
Audio: of course nothing is ever simple. Right, Apple?
3 years ago
Vladimír Vondruš
ebc1c7936a
Audio: minor.
3 years ago
Vladimír Vondruš
a0b74169a7
Audio: some more converage improvements.
3 years ago
Vladimír Vondruš
4de1723236
doc: updated changelog.
3 years ago
Vladimír Vondruš
2b62cacb65
al-info: allow overriding the context parameters on command line.
...
Could make sense to eventually turn those into --magnum-whatever options
and have them available always. There's however the yet-unanswered
question of how to provide help for those if a GL/Vk context has its own
set of options, and how to make them not warn about mutually invalid
options.
3 years ago
Vladimír Vondruš
1fe3fa3907
al-info: print various Context properties.
3 years ago
Vladimír Vondruš
e435401f00
Audio: test Context creation failure.
3 years ago
Vladimír Vondruš
b8a6b88d3b
Audio: test also disabling an unknown extension.
3 years ago
Vladimír Vondruš
3d6f8effb4
Audio: ability to query various context properties.
...
And test all this, ugh, the test coverage is ABYSMAL here.
3 years ago
Vladimír Vondruš
70b96c6b9c
Audio: this Doxygen link seems to work now.
3 years ago
Vladimír Vondruš
7286faf329
*converter: make these buildable on platforms w/o dynamic plugins.
...
Such as Emscripten or Android. The hypothetical use case is converting
shader files directly on an Android device to debug things, or having a
Node.js build of a scene/image converter for "portability".
Static plugins can be linked to these if Magnum is built together with
Magnum Plugins in a CMake superproject and the plugins are then linked
via the MAGNUM_*CONVERTER_STATIC_PLUGINS CMake variable.
The fontconverter and distanceconverter tools cause a CMake error on
Emscripten as it's not currently possible to access the GPU through a
command-line Node.js app. On Android they work though.
3 years ago
Vladimír Vondruš
6d0b2e6731
oackage/archlinux: drop implicit build flags from GLES dev PKGBUILDs.
...
Annoying as they make the build slower and backtraces useless.
3 years ago
Vladimír Vondruš
16f483a9e6
package/archlinux: enable colored compiler output in dev PKGBUILDs.
...
See the correspnding commit in Corrade for details.
3 years ago
Vladimír Vondruš
7aa4b653f1
package/archlinux: drop asm.js PKGBUILDs.
3 years ago
Vladimír Vondruš
44ffce9067
Text: review, expand and fix documentation of this library.
...
Especially information related to font sizes, what units are they in and
how they relate to actual size on screen was critically lacking.
3 years ago
Vladimír Vondruš
82691fcd50
Text: full test coverage for the GlyphCache classes.
...
About time this got done. This also has an XFAIL for the case where a
distance field image is processed with an offset, have to fix the
underlying issue in TextureTools first.
Also added a range assertion for the distance field image setter to
match what the abstract base does, together with a corresponding getter.
3 years ago
Vladimír Vondruš
3b32483d0b
TextureTools: (expected failing) test for DistanceField with an offset.
...
The shader uses gl_FragCoord, which doesn't really work with a viewport
that doesn't start at origin. Gotta fix this.
3 years ago
Vladimír Vondruš
5f59a1bbec
Text: check for presence of custom deleters.
...
To match existing requirements in all other plugins.
3 years ago
Vladimír Vondruš
f23ff655fd
Text: improve and test an assertion.
3 years ago
Vladimír Vondruš
cec98b5278
Text: various minor cleanup.
3 years ago
Vladimír Vondruš
ebf1c7a9a5
Trade: doc++
3 years ago
Vladimír Vondruš
c2b87ec3a4
package/ci: reduce build parallelism once more.
3 years ago