Vladimír Vondruš
6ba07fa31d
doc: fix a serious error in CMake toolchain docs.
6 years ago
Vladimír Vondruš
fa1176220b
doc: ugh, these pragmas were not meant to be rendered in the docs.
6 years ago
Vladimír Vondruš
4490dfd68f
Math: use a degree symbol for hue ranges.
6 years ago
Vladimír Vondruš
bc99e6fa57
Math: improve docs for color (un)packing and sRGB conversion.
6 years ago
Vladimír Vondruš
750544e2c2
Platform: update copyright in headers.
6 years ago
Vladimír Vondruš
24cc971b1f
GL: reworked apple-buffer-texture-unbind-on-buffer-modify workaround.
...
Much smaller, nicer and more robust.
6 years ago
Vladimír Vondruš
0e1779ad61
GL: a new case that the new Apple BufferTexture workaround doesn't fix.
...
Sigh.
6 years ago
Vladimír Vondruš
73f776193d
Math: constexpr *is* inline.
6 years ago
Vladimír Vondruš
43f5f06956
Math: avoid warnings when calling length() on an integer Vector.
...
Also update the docs to hint the result may be imprecise on integer
types, and suggest Manhattan length as well.
6 years ago
Vladimír Vondruš
44aed01d77
Fix plugins being searched in lib/ when it should be bin/ and vice versa.
...
Ugh. I must have been drunk when writing this. Also, why nobody complained
until now? Interesting.
6 years ago
Vladimír Vondruš
88b515ba15
Platform: assume HiDPI is on by default on macOS 10.13+ and iOS 13+.
...
Also fix the detection in case the app explicitly sets the property to
false -- previously it thought the app is HiDPI-aware as well, which was
wrong.
6 years ago
Vladimír Vondruš
de49453199
Platform: make a macOS bundle also for GlfwApplication test.
6 years ago
Vladimír Vondruš
8d9514148c
Platform: no need, GlfwApplication isn't ported to Emscripten anyway.
6 years ago
Vladimír Vondruš
7d37647897
Platform: print the "HiDPI not enabled" warning at most once on macOS.
...
If the application is constructed with delayed window creation, the
warning would be printed on each context creation attempt / call to
dpiScaling(const Configuration&), which is silly.
6 years ago
Vladimír Vondruš
bbc6102320
Platform: hide internal {Glfw,Sdl2}Application flags from the header.
...
Because things are going to get messy soon (well, in case of SDL2 they
already are).
6 years ago
Vladimír Vondruš
e97b04f66d
GL: new apple-buffer-texture-detach-on-data-modify workaround.
6 years ago
Vladimír Vondruš
26db8f9f19
GL: move friend declarations down into class privates.
...
So the header is not horrifying right from the top.
6 years ago
Vladimír Vondruš
86dbd86e74
GL: added BufferTexture::resetBuffer().
6 years ago
Vladimír Vondruš
fc0ceac99e
Fix dependency of Image headers on StridedArrayView.
6 years ago
Vladimír Vondruš
cd7d080fbd
Test that there is no dependency of Image headers on StridedArrayView.
...
Well. BOOM.
6 years ago
Vladimír Vondruš
2ba54b542c
Ensure std::string is not accidentally printed to Debug as ResourceKey.
6 years ago
Vladimír Vondruš
169378eb7d
Make Debug printer for ResourceKey more distinct.
...
Printing ResourceKey(0xabcd) instead of just abcd to make it clear what
it is.
6 years ago
Vladimír Vondruš
bed90e45fa
doc: update credits and changelog, reference the base-gtkmm project.
6 years ago
jackcamp
d78ceb09ab
Tweaked cmake-subproject section for clarity.
6 years ago
Vladimír Vondruš
92b1cdf6b7
Math: pass strided array views by const&.
...
It has the size of three pointers, which is more than a little.
Unfortunately doing just that causes infinite recursion, so be a little
more specific when delegating from the overloads.
6 years ago
Vladimír Vondruš
a6dd63af0f
Math: make batch functions actually usable.
...
No longer it's needed to add ugly explicit template types or casts.
6 years ago
Vladimír Vondruš
742dc406fd
Math: don't include FunctionsBatch.h from Functions.h anymore.
...
These two got split in 2019.10 but one included the other for backwards
compat. It makes everything suffer from worse compile times, so not
doing that anymore.
6 years ago
Vladimír Vondruš
d69b6f8c40
Math: test and fix array-taking isInf()/isNan() also with vectors.
...
Next time I need to test properly.
6 years ago
Vladimír Vondruš
71b775aeb1
Math: minor test cleanup.
6 years ago
Vladimír Vondruš
d4f7c853ae
Math: make Constants::inf() work with clang-cl 8.
...
Using a similar workaround as for nan(). It works with version 9 tho.
6 years ago
Vladimír Vondruš
3b940f2509
doc: avoid referencing the deprecated Math::swizzle() function.
6 years ago
Vladimír Vondruš
b384b2043b
doc: mention the base-wxwidgets bootstrap project as well.
6 years ago
Vladimír Vondruš
a82a4c273e
doc: mention Microsoft's ANGLE Wiki page about performance.
6 years ago
Vladimír Vondruš
9aa68715db
Math: preserve signs in the Matrix[34]::scaling() getter.
...
This is a breaking change, but I think it is worth doing. Because now
Matrix4::scaling(vec).scaling() == vec
which was true also for translation and other.
6 years ago
Vladimír Vondruš
2a12ca14e3
MeshTools: test compile() with both flat and smooth normals requested.
...
And clarify the docs about what gets the priority.
6 years ago
Vladimír Vondruš
84ac43d2ce
GL: avoid picking up variadic Mesh::addVertexBuffer() for dynamic attribs.
...
Huh, the SFINAE thing was extremely easy.
6 years ago
Vladimír Vondruš
61af7672d1
Test: adapted for the upcoming asserting CORRADE_GRACEFUL_ASSERT.
6 years ago
Vladimír Vondruš
50ac6d1a13
Test: fix false sense of security in pixel/mesh enum mapping tests.
...
The stripped-down versions didn't actually test for correct order
because there was no external API result to check against expected
output. That's fixed now, plus clarified some comments and removed
copypasted nonsense.
6 years ago
Vladimír Vondruš
bf43767531
doc: mark these as new in 2019.10.
6 years ago
Vladimír Vondruš
86c589d44a
Shorten assertion messages in Image{Data,View,} constructors.
6 years ago
Vladimír Vondruš
6f535632f4
MeshTools: improve coverage BY ONE WHOLE LINE.
6 years ago
Vladimír Vondruš
93823004ae
external: update Vulkan headers for version 1.2.
6 years ago
Vladimír Vondruš
92088fe5ae
doc: removed an issue reference that was unrelated to clang-cl.
6 years ago
Vladimír Vondruš
31a7c4f66e
Platform: check for presence of GLFW cursor defines instead of a version.
...
Makes this work on older Git clones which have version set as 3.4 but
don't contain those defines yet.
6 years ago
Vladimír Vondruš
16f845e4fb
WavAudioImporter: fix the tests to work on any endian and char signs.
...
Some platforms have unsigned chars, and those 16/32/64bit values worked
only on LE (of course I forgot about this, eh).
6 years ago
Vladimír Vondruš
7cfa1709ef
WavAudioImporter: FFS GCC.
6 years ago
Vladimír Vondruš
2ff5d32156
WavAudioImporter: make it work on Big-Endian platforms, support RIFX.
...
With the RIFX support I can test for BE support on a LE platform, that's
why. Otherwise I wouldn't bother.
6 years ago
Vladimír Vondruš
6fbedd8f52
Revert "doc: pile on more Doxygen workarounds."
...
This reverts commit 0b7831c1ad .
6 years ago
Vladimír Vondruš
0fed65a3e5
WavAudioImporter: fix a comment.
6 years ago
Vladimír Vondruš
2a57401218
Trade: doc++
6 years ago