Vladimír Vondruš
6ddec39fe4
GL: delegate one more BufferImage constructor to reduce redundancy.
...
The other constructors cannot be delegated, document why.
1 year ago
Vladimír Vondruš
680e7ee4eb
Test: verify that storage skip can be set for placeholder Image too.
1 year ago
Vladimír Vondruš
621677bab8
GL: properly test placeholder *BufferImage construction.
...
Heh, so many holes in the code coverage.
1 year ago
Vladimír Vondruš
8a0329009d
Test: add an XFAIL for 1D image data size calculation.
...
Instead of trying to hide the problem by crafting a specific alignment
(that shouldn't be used for 1D at all).
1 year ago
Vladimír Vondruš
491b7bd48b
Text: missing <utility> for a deprecated std::pair usage.
1 year ago
Vladimír Vondruš
d40ef7ae55
Platform: add some more sizes and a 16:10 ratio to WebApplication.css.
1 year ago
Vladimír Vondruš
66a2ce87cd
Text: fix DistanceFieldGlyphCacheGLTest failing on recent Mesa.
...
Neither a driver bug nor something wrong with the code. It's just
that with a tight flush rectangle the target texture may have some random
garbage left around the edges, causing the comparison to fail, so it's
now explicitly cleared upfront.
Doesn't happen when running the offending test alone (because I suppose
the memory is coming fresh from the driver, being zeroed out for security
purposes), only when running after the others (where I suspect it's now
reusing previous partially-filled memory which it didn't before). Doesn't
happen on NVidia either.
1 year ago
Vladimír Vondruš
e43eba68db
Remove another aspect of ImageView that was deprecated in 2019.10.
...
This got deprecated in 069c81b9cb but
without any visible documentation bit, so it was almost impossible to
trace back to a particular version. Or know about it when using the API.
1 year ago
Vladimír Vondruš
e553cb973c
Document why Image*::size() is returning a const&.
1 year ago
Vladimír Vondruš
a2a98db534
These functions cannot be constexpr, there's no constexpr constructor.
1 year ago
Vladimír Vondruš
d7594fd5ef
MeshTools: remove STL-heavy generateFlatNormals() deprecated in 2019.10.
...
And also the deprecated GenerateFlatNormals.h header alias.
1 year ago
Vladimír Vondruš
07f717c354
Remove enums values containing typos that were deprecated in 2019.10.
1 year ago
Vladimír Vondruš
02a26a6e14
Math: remove Frustum::planes() deprecated in 2019.10.
1 year ago
Vladimír Vondruš
53b7e178bd
Removed the MAGNUM_BUILD_MULTITHREADED macro deprecated in 2019.10.
1 year ago
Vladimír Vondruš
93679c6c60
Removed templated & unsafe Image*::data() APIs deprecated in 2019.10.
1 year ago
Vladimír Vondruš
899602d3f4
Remove InputFileCallbackPolicy enum aliases deprecated in 2019.10.
1 year ago
Vladimír Vondruš
c6ba6282e5
DebugTools: remove ForceRendererOptions::scale() deprecated in 2019.10.
1 year ago
Vladimír Vondruš
1df0d7538b
DebugTools: remove declarations of long-removed deprecated APIs.
...
These were removed in e7aeaf78d0 for the
2020.06 release, but somehow these declarations, deprecated back in
2019.10, were still left there. Since they were useless anyway, I don't
even list this in the changelog.
1 year ago
Vladimír Vondruš
664b809916
MeshTools: I knew I forgot to finish something.
...
Should have gone into 226bbe9ffc already.
1 year ago
Vladimír Vondruš
49ee64c36f
singles: update changelogs.
1 year ago
Vladimír Vondruš
47b2251968
singles: expose batch Math APIs and a subset of MeshTools.
1 year ago
Vladimír Vondruš
1986d27d0c
MeshTools: don't use the deprecated CORRADE_BIG_ENDIAN macro.
1 year ago
Vladimír Vondruš
2cf38e2e01
singles: update changelog.
1 year ago
Vladimír Vondruš
632a201cc3
singles: Math uses Corrade unprefixed now, make it work here as well.
1 year ago
Vladimír Vondruš
b8dcedf845
Math: don't use range-for loops over initializer lists.
...
Because that apparently cannot work without #include <initializer_list>,
and even though that particular include is maybe just 30 lines, I refuse
to do that because it'd soon make the MagnumMath.hpp single tip over 10k
preprocessed lines again.
Fuck you, C++.
1 year ago
Vladimír Vondruš
8471a66a83
singles: include the time types in MagnumMath.
...
Because why not, they're not that big and they're very useful, especially
in combination with the std::chrono compatibility.
1 year ago
Vladimír Vondruš
29f2f49276
singles: list the new single-row matrix typedefs in MagnumMath.
1 year ago
Vladimír Vondruš
a01852c5e8
singles: clearly mention that MagnumMath depends on CorradePair.
...
Forgot to do that in 30f57f2865 .
1 year ago
Vladimír Vondruš
bbc5e118b2
GL: that's fancy casts for you, you get CRASHES.
...
Sigh. I was really sure I commited this one back in
cc608dba42 , but apparently not.
1 year ago
Vladimír Vondruš
60fd42b505
Here we go again.
1 year ago
Vladimír Vondruš
8138d114b1
Trade: fix build with deprecated Corrade but not Magnum.
...
Or was it the other way around? Hmm.
1 year ago
Vladimír Vondruš
cc608dba42
Test: remove all use of <sstream> for Debug output testing.
...
Compared to Corrade, the improvement in compile time is about a minute
cumulative across all cores, or about 8 seconds on an 8-core system (~2
minutes before, ~1:52 after). Not bad at all. And this is with a
deprecated build, the non-deprecated build is 1:48 -> 1:41.
1 year ago
Vladimír Vondruš
9fe919966f
Audio: don't use std::string for no reason in tests.
...
Still a lot left to clean up in this library, tho.
1 year ago
Vladimír Vondruš
6a932a14b6
GL: use the String[Not]Contains comparator in a test.
...
Somehow forgot to update this once it got implemented.
1 year ago
Vladimír Vondruš
0fd0457366
MeshTools: don't use STL for no reason in tests.
...
Ancient code, ancient problems. Eugh.
1 year ago
Vladimír Vondruš
0aee6c8855
Clean up unnecessary use of <numeric>.
...
And document what it is used for where needed.
1 year ago
Vladimír Vondruš
02cd6386b1
MeshTools: use generateIndices() instead of std::iota() in concatenate().
...
There's still the other TODO for index generation, but I don't feel like
doing that now.
1 year ago
Vladimír Vondruš
226bbe9ffc
MeshTools: support extra offset in all generate*Indices() APIs.
...
So these are usable for example when concatenating meshes together.
1 year ago
Vladimír Vondruš
df484b300a
Adapt to Corrade's Utility::Debug header cleanup.
1 year ago
Vladimír Vondruš
5339df8d2b
Test: adapt to Corrade TestSuite changes.
1 year ago
Vladimír Vondruš
fb2dc562e3
Platform: suppress useless deprecation warnings on older GCCs.
1 year ago
Vladimír Vondruš
8f05ef141c
Math: add Quaternion::xyzw() and wxyz().
1 year ago
Vladimír Vondruš
e92e448da5
GL: make WEBGL_compressed_texture_astc detection work with --closure.
...
The LDR/HDR detection from 8da46ef9dc
unfortunately made Emscripten apps crash on startup if --closure was
enabled in linker flags, unless the page was run with
?magnum-disable-extensions=GL_WEBGL_compressed_texture_astc
added to the URL. The fix basically forces me to make the code not rely
on undocumented Emscripten internals anymore, which is nice, however I
now have to duplicate it because of compiler silliness and the
comment:code ratio is not getting any better either.
1 year ago
Vladimír Vondruš
1d2a1c1b3e
Platform: more unused variable warning fixes on macOS.
...
Followup to cb568c09e5 , where cleaning up
one unused variable led to another variable now being unused. Hopefully
this time it's all.
1 year ago
Vladimír Vondruš
bcf61d4de8
Math: add more -Wdeprecated-literal-operator suppressions.
...
The declarations of all operators already have it, but the direct
operator usage not.
1 year ago
Stanislaw Halik
d9e19c1bde
MeshTools: include <utility> for std::pair usage in deprecated APIs.
...
Seems that libc++ 19 no longer drags it along with other STL stuff.
1 year ago
Vladimír Vondruš
e9a54f8fec
Trade: document return values of SceneData convenience getters.
1 year ago
Vladimír Vondruš
9dab8af6ce
MeshTools: more doc updates.
...
Eh, maybe it eventually reaches a state where I don't have to answer the
same questions over and over and over and over.
1 year ago
Vladimír Vondruš
704de3d1d2
SceneTools: doc++
2 years ago
Vladimír Vondruš
d45411e117
MeshTools: don't use <> for local includes.
2 years ago