Vladimír Vondruš
24f7d45364
Implement globals shared across DLLs on Windows.
7 years ago
Vladimír Vondruš
ca326fdb18
GL: pile on more workarounds for CubeMapTexture DSA code paths.
...
Ugh why this has to be SO TERRIBLE. I'm starting to have extremely low
expectations for similar parts of Vulkan drivers by the same vendors.
7 years ago
Vladimír Vondruš
f2ba5602a4
GL: Intel Windows drivers 26 are less shitty w/ double attributes.
7 years ago
Vladimír Vondruš
5c042f62d0
GL: if timer queries are not available, SKIP the benchmarks.
...
Requiring each benchmark to handle this on its own would be silly.
7 years ago
Vladimír Vondruš
60c18f93a1
GL: implement time queries for WebGL 2, and workarounds, and ...
...
There's a new firefox-fake-disjoint-timer-query-webgl2 workaround and a
half-page of text listing various caveats and issues you might run into.
Also exposing them in the OpenGLTester (although quite shitty at this
point).
7 years ago
Vladimír Vondruš
cb5fe2dd49
GL: don't forward-declare what doesn't exist.
7 years ago
Vladimír Vondruš
05b9509dba
Expose UnsignedLong and Long on Emscripten.
...
The "64-bit integers have to be emulated and it's slow" problem doesn't
apply for WebAssembly anymore.
7 years ago
Vladimír Vondruš
0731546bc8
Copy HTML runners for magnum-gl-info and magnum-al-info into the build dir.
...
So I can run those directly from there, without installing stuff.
7 years ago
Marco Melorio
c632099501
Shaders: inflate rendering test thresholds a bit for the iPhone GPU.
7 years ago
Marco Melorio
2379b8cd09
Fixed shaders tests for iOS
7 years ago
Vladimír Vondruš
66ebed23c8
imageconverter: doc++
7 years ago
Vladimír Vondruš
05baf2fa50
imageconverter: apparently I never tested these additions.
...
The --raw is a not-yet-meant-to-be-public thing.
7 years ago
Vladimír Vondruš
3afa29ed5b
DebugTools: XFAIL a screenshot() test if the format is not R8.
...
It gets read as RGBA on Intel Windows.
7 years ago
Vladimír Vondruš
65b589f765
New explicit-uniform-location-is-less-explicit-than-you-hoped workaround.
...
Intel drivers on Windows. Surprisingly unsurprising.
7 years ago
Vladimír Vondruš
dac61f51cc
Trade: implement passing importer/converter options to imageconverter.
7 years ago
Vladimír Vondruš
32175eecaf
Trade: link magnum-imageconverter to pthreads.
...
Sigh.
7 years ago
Vladimír Vondruš
ef1fbd8e4b
CMake: copy SDL / GLFW DLLs to CMAKE_RUNTIME_OUTPUT_DIRECTORY.
...
Shall make Windows users' life a bit less painful.
7 years ago
Vladimír Vondruš
3a243a04b2
CMake: put all binaries into a dedicated location in the build dir.
...
This makes it possible to:
- finally use Magnum as a CMake subproject on Windows and have your
executables not fail to run with a "DLL missing" error (and the
setting is put to cache so superprojects just implicitly make use of
that)
- run tests on Windows without having to install first
- use dynamic plugins from a CMake subproject on any platform without
having to install first or load them by filename --- and the plugin
directory is now easily discovered as relative to
libraryLocation() of the library implementing given plugin interface
7 years ago
Vladimír Vondruš
32ce1f1b43
external: include KHR/khrplatform.h absolutely.
...
Otherwise it requires custom buildsystem users to add
MagnumExternal/OpenGL to include paths, causes issues in Vcpkg and so
on.
7 years ago
Vladimír Vondruš
6ba9bf529a
Platform: doc++
7 years ago
Vladimír Vondruš
f7d739058b
Platform: device selection in WindowlessEglApplication.
7 years ago
Vladimír Vondruš
3bfec34cec
Platform: EGL_EXT_anything isn't on WebGL anyway.
7 years ago
Vladimír Vondruš
73baab69ce
Platform: specify EGL context version for desktop as well.
...
This might be a fix for the nv-egl-forward-compatible-context-unhappy
workaround, actually.
7 years ago
Vladimír Vondruš
bc3451a593
Platform: how did Linus say it, fuck NVidia?
...
Thanks a lot, there goes my morning.
7 years ago
Vladimír Vondruš
c5d08156ea
Audio: shorten test name to avoid too wide CTest output.
7 years ago
Vladimír Vondruš
7489c4c2d7
Shaders: fix warnings in a test.
7 years ago
Vladimír Vondruš
22458f22b5
Trade: minor cleanup.
7 years ago
Vladimír Vondruš
84fc685c87
Trade, Audio: explicitly disallow custom deleters returned from plugins.
7 years ago
Vladimír Vondruš
118c3e4aca
Audio: 100% test coverage for the base Importer class.
...
One bug found.
7 years ago
Vladimír Vondruš
ef725cdbcf
Adapt to changes to executable symbol defaults in CMake 3.4.
7 years ago
Vladimír Vondruš
7f4da303cb
Require at least CMake 3.4.
7 years ago
Vladimír Vondruš
a018521a8c
CMake: simplify plugin test setup.
...
No matter how broken iOS is in CMake 3.6, $<CONFIG> seems to work there,
so reducing the amount of code and putting the configure into a single
place independently of what generator or what system/build is used.
Compared to current state it always adds Debug/configure.h instead of
putting it directly to the ${CMAKE_CURRENT_BINARY_DIR}, but the
alternative would be some CMake branching again and I just removed that,
so no.
This also prepares everything for plugin libraries being put into a
central place -- the config files don't depend on their location
anymore.
7 years ago
Vladimír Vondruš
dbb4cb39a1
GL: improve Framebuffer usage docs.
7 years ago
Vladimír Vondruš
3f9c541753
GL: add ES-only TextureFormat::BGRA[8].
...
And clarify their purpose. This was an accidental ommision, as there's
no need for such a thing on desktop.
7 years ago
Vladimír Vondruš
7b368dcdf4
GL: mention how to do --magnum-log quiet directly from C++.
7 years ago
Vladimír Vondruš
a1a59ec4ea
Shaders: assert on the wireframe flag when calling related setters.
...
This is to be consistent with other shaders -- failing loudly is better
than habing to spend ages wondering why it doesn't render the thing.
7 years ago
Vladimír Vondruš
398988193a
TextureTools: increase fuzzy compare threshold for iOS/WebGL.
7 years ago
Vladimír Vondruš
8bac2a05a5
Platform: more compact list of GLSL versions in magnum-gl-info.
7 years ago
Vladimír Vondruš
387a12c329
Trade: provide less useless OOB assert messages.
...
If this would be there yesterday already, it would made my debugging
session of `image2D(-1)` immediately obvious (instead of wasting 20
minutes).
7 years ago
Vladimír Vondruš
9315175a72
Shaders: avoid MeshVisualizer::VertexIndex reusing a generic color slot.
...
Can't really future-proof that, so just adding a lot of comments
everywhere.
7 years ago
Vladimír Vondruš
a0f0015211
Shaders: de-inline uniform setters.
...
Reduces includes in the header quite a lot, yay.
7 years ago
Vladimír Vondruš
9616273e18
Shaders: improve MeshVisualizer docs.
7 years ago
Vladimír Vondruš
0e8e6f43e5
Shaders: adjust thresholds for Flat/Phong vertex color WebGL 1 tests.
7 years ago
Vladimír Vondruš
a515bdf297
Shaders: rendering tests for all remaining builtin shaders.
7 years ago
Vladimír Vondruš
2d1d9f4b29
Shaders: simplified [DistanceField]Vector and VertexColor shader tests.
7 years ago
Vladimír Vondruš
d89b74d40a
DebugTools: now it can happen that the pixel list is empty.
7 years ago
Vladimír Vondruš
5b1c521f99
DebugTools: provide verbose diagnostic from CompareImage.
7 years ago
Vladimír Vondruš
cb492f932a
DebugTools: don't print a newline after comparison delta image.
...
It makes other stuff too nasty.
7 years ago
Vladimír Vondruš
dbfc145362
DebugTools: copypaste oops, so this wasn't testing the correct thing.
7 years ago
Vladimír Vondruš
e49136fd24
GL: I *knew* there was a reason I did this.
7 years ago