Vladimír Vondruš
c47393ddc2
GL: doc++
4 years ago
Vladimír Vondruš
1ce421e915
DebugTools: use Utility::copy() instead of std::copy().
...
Again due to <string> pulling in some parts of <algorithm>. When it gets
removed, I'd have to include <algorithm> myself.
4 years ago
Vladimír Vondruš
6e7f2a5401
GL: don't use std::fill_n().
...
This used to somehow get dragged along with <string> on all platforms we
tested on, but once we get rid of <string> we'd have to include
<algorithm> instead. Not acceptable, also it's much shorter and less
error-prone this way.
4 years ago
Vladimír Vondruš
317d67fca6
modules: look for SDL2 DLLs also in the usual locations.
4 years ago
Vladimír Vondruš
e611174d8c
doc: suppress unused variable warnings in snippets.
4 years ago
Vladimír Vondruš
b86f74a7e7
GL: fix outdated docs.
...
The snippet has just two attributes now.
4 years ago
Vladimír Vondruš
7a462590ab
Any{Scene,Image}Importer: propagate file callbacks as well.
4 years ago
Vladimír Vondruš
6cbc37ecda
AnyImageImporter: don't abuse file callbacks to test data opening.
...
It doesn't make the test any simpler, easier to understand or less
error prone, on the contrary. And it would stop testing the intended
code path once file callbacks are implemented inside the importer.
4 years ago
Vladimír Vondruš
1fdd6416c9
external,Platform: suppress GL deprecation warnigs on iOS as well.
...
Got done in 7ced4740fd and
f3fc17e2b0 for CGL and OpenAL, but ever
since Travis decided we're not worthy of using their services, I didn't
have a chance to check the warning in the iOS build. Now I have.
4 years ago
Vladimír Vondruš
5a11fc3df7
package/ci: I know why is it like this now.
...
Because the executor is a VM, not a Docker thingamajig.
4 years ago
Vladimír Vondruš
aef0ee4bfb
doc: updated changelog.
4 years ago
Vladimír Vondruš
822fa0d644
Updated copyright year.
4 years ago
Vladimír Vondruš
63cb469b29
modules: updated FindCorrade and FindNodeJs.
4 years ago
Vladimír Vondruš
89e3c52dfa
Bye, Travis! You won't be missed.
...
The only leftover is the platform-specific info, which might still be
useful to derive info from for the non-shit CI providers.
4 years ago
Vladimír Vondruš
d3a411ca72
package/ci: add an iOS GLES3 build.
...
I don't think GLES2 is worth bothering with on this platform, given that
GL as a whole is deprecated by that company.
4 years ago
Vladimír Vondruš
a7b94a4b09
package/ci: add an ARM64 build.
4 years ago
Vladimír Vondruš
5e069d37fb
Updated toolchains submodule.
4 years ago
Vladimír Vondruš
8b7572361d
GL: this should not be here.
4 years ago
Vladimír Vondruš
c0ef2e1240
GL: hide deprecated enum alias value from Doxygen.
...
Due to \m_enum_values_as_keywords it caused the Half value of the
deprecated HalfFloat to appear first in search as an alias.
4 years ago
Vladimír Vondruš
d939221f7f
doc: refresh various math docs a bit.
4 years ago
Vladimír Vondruš
44c5a9db8d
GL: new "angle-instanced-attributes-always-draw-instanced" workaround.
...
Co-authored-by: Pablo Escobar <mail@rvrs.in>
4 years ago
Pablo Escobar
2b378aecfe
GL: fix MeshGLTest to work on WebGL with a D3D ANGLE backend.
...
This makes the tests actually output something.
4 years ago
Vladimír Vondruš
f231363bb6
GL: improve ANGLE detection on WebGL.
...
It's quite easy if WEBGL_debug_renderer_info is present, but if it isn't
then our only hope is to check for ANGLE-specific extensions. Which may
cause some false positives, but since we need to enable various
workarounds for ANGLE to avoid issues, it's better than having the
detection too conservative.
The original ANGLE detection based on line size is probably not so
relevant anymore, but let's keep it there.
4 years ago
Vladimír Vondruš
6fd971da77
modules: clarify the need for FindOpenGLES3.
...
I thought this module could get removed to use FindOpenGLES2 even for
ES3, but apparently not.
4 years ago
Vladimír Vondruš
0d3cf5a648
Vk: doc++
4 years ago
Vladimír Vondruš
5040362bad
Vk: fix arguments passed to AssertTest.
...
This test is run only on Android because natively CMake treats SIGABRT
as a failure always, even if I want to just check the output. So it
got outdated. Sigh.
4 years ago
Vladimír Vondruš
edf4bfc2cf
Vk: work around crashy vkGetDeviceQueue2() on SwiftShader.
4 years ago
Vladimír Vondruš
99501c1e3d
Vk: missing test file reference.
...
Fixes this test on Android.
4 years ago
Vladimír Vondruš
d89675e8b0
DebugTools: properly skip CompareImage tests with converters missing.
...
It only checked for importers, but the second part of these tests uses
also image converters to produce the actual files.
4 years ago
Vladimír Vondruš
ba7267ba0c
package/ci: enable image importers for Vulkan tests.
...
The VkMeshVkTest was mostly skipped otherwise.
4 years ago
Vladimír Vondruš
361d87cd9e
Shaders,TextureTools: XFAIL tests that hit weird bugs on SwiftShader 4.0.
...
No patience to investigate.
4 years ago
Vladimír Vondruš
04aeebaf1d
TextureTools: print a note if we're using EXT_texture_rg in a test.
4 years ago
Vladimír Vondruš
5c6b98391d
Math,DebugTools: adapt tests for Android differences in NaN printing.
...
What a waste of energy. I need my own float printing code already.
4 years ago
Vladimír Vondruš
e0ee451a1b
Math: XFAIL some packing tests for x86 Android.
...
Well, I can't tell if it's just 32-bit x86 Android, but it definitely
works well on my ARM64 device.
Also updated the defines to use the consistent CORRADE_TARGET_* macros
instead of the platform-specific mess.
4 years ago
Vladimír Vondruš
22d630db5f
Math: what's the deal with Emscripten and GLES(!)-specific ifdefs here?!
...
Especially the GLES define is some *really weird* leftover from the days
where GL was hardcoded everywhere. What the heck.
4 years ago
Vladimír Vondruš
374aadb480
Shaders,MesTools: forgotten test file.
...
Fixes two failing tests on Emscripten and Android.
4 years ago
Vladimír Vondruš
34b4cd72a4
DebugTools: properly skip a test if plugin is present so we can't test.
...
Fixes a test failure on Emscripten and Android.
4 years ago
Vladimír Vondruš
f145acd760
MeshTools: properly bundle files for CompileGLTest.
...
The path used for Android and Emscripten is relative to the
CMAKE_CURRENT_SOURCE_DIR, so the subdirectory has to be included in the
file paths.
4 years ago
Vladimír Vondruš
fce8fc3bfd
package/ci: give up and don't run GLES3 tests on Android.
...
GOOGLE!!! You owe me a WEEK of my time. A WEEK WASTED!
4 years ago
Vladimír Vondruš
e0b20107be
Platform: new "android-generic-hostname-might-be-swiftshader" workaround.
...
As documented. Yes, Android, I hate you, in case that wasn't clear. And
all other Google code as well.
4 years ago
Vladimír Vondruš
cad19439e0
Trade: adapt test to insane alignof(double) == 4 on Android x86.
4 years ago
Vladimír Vondruš
1111b58ce7
Vk: fix compilation on 32-bit targets.
4 years ago
Vladimír Vondruš
9d7e90b950
Updated toolchains submodule with better ANDROID_SDK detection.
4 years ago
Vladimír Vondruš
eaa95dd332
package/ci: add Android x86 GLES2, GLES3 and Vulkan builds on CircleCI.
...
This apparently can test even the GPU! Let's C.
4 years ago
Vladimír Vondruš
8554f3924d
doc: updated changelog.
4 years ago
Vladimír Vondruš
efcdfc1221
Adapt to removal of CORRADE_MSVC2019_COMPATIBILITY.
...
Here both cases were related to /permissive- and not to MSVC 2019 bugs,
so I just changed them to rely on the new CORRADE_MSVC_COMPATIBILITY
define.
4 years ago
Vladimír Vondruš
46c1dccf18
modules: updated FindCorrade.cmake.
4 years ago
Vladimír Vondruš
4d574b0073
Test: MSVC 2019 with /permissive- doesn't like this? Huh?
4 years ago
Vladimír Vondruš
acc17f063a
modules: make FindGLFW aware of MSVC 2022.
4 years ago
Vladimír Vondruš
6804dfe8e3
package/ci: add MSVC 2022 builds and MSVC 2019 /permissive- build.
...
Equivalently to what's done in Corrade, so a dynamic, static, clang-cl
and /permissive- build; plus dedicated ES2/ES3 builds.
4 years ago