Vladimír Vondruš
7feb6df0ab
GL: harden image upload tests in GLCubeMapGLTest.
...
In particular, the usual setStorage() + six times setSubImage() wasn't
really tested anywhere except in fullImageQuery(), which usually fails
for other reasons anyway. Also testing more than just +X, since SOME
DRIVERS apparently fail with other coordinates.
7 years ago
Vladimír Vondruš
8d98f1161e
Shaders: clamp shininess factor in Phong to minimize artifacts.
...
I feel this makes the shader code unnecessarily slow to handle bad
parameters. But eh, until I actually benchmark, I shouldn't be making
assumptions.
7 years ago
Vladimír Vondruš
a1cc0cb62d
Math: off-center Matrix4::perspectiveProjection().
7 years ago
Vladimír Vondruš
637e8ecd44
Math: de-duplicate code in Matrix4::perspectiveProjection().
7 years ago
Vladimír Vondruš
ad291c2afe
Math: mention planeEquation() in Frustum docs and vice versa.
7 years ago
Vladimír Vondruš
8791488f4a
MeshTools: show how generate*NormalsInto() can be used with std::vector.
7 years ago
Vladimír Vondruš
cfbfdb72c0
doc: compile MeshTools snippets also when GL is disabled.
7 years ago
Vladimír Vondruš
7604309014
DebugTools: make it clearer that ForceRenderer takes a reference.
7 years ago
Vladimír Vondruš
10d5894e50
Trade: doc++
7 years ago
Vladimír Vondruš
6d1569d82b
Platform: build Application tests as WIN32 apps on Windows.
...
So, without the console window in the background.
7 years ago
Vladimír Vondruš
d542e2b7e2
Animation: MSVC 2019 still doesn't like this.
...
Well, the /permissive- version does, but ...
7 years ago
Vladimír Vondruš
9e2a1117de
MeshTools: yay? a new SILLY workaround for MSVC 2019?
7 years ago
Vladimír Vondruš
ddb16f6df8
DebugTools: give up on optimism.
7 years ago
Vladimír Vondruš
bc9068efda
GL: harden multi-Context test.
7 years ago
Vladimír Vondruš
51cd4b3dd0
GL: fixed a 64-to-32-bit conversion warning on MSVC.
7 years ago
Vladimír Vondruš
11a94c16a3
GL: added Context::makeCurrent().
7 years ago
Vladimír Vondruš
b83c4366e7
Math: fix a build issue with CUDA on Windows.
7 years ago
Vladimír Vondruš
a3c7968e64
Adapt to BUILD_MULTITHREADED being part of Corrade now.
...
If building with deprecated features enabled, the buildsystem checks if
the option is still set and is inconsistent with what Corrade reports
and reports a deprecation warning. For backwards compatibility the
MAGNUM_BUILD_MULTITHREADED CMake variable and preprocessor macro are
still provided as well.
7 years ago
Vladimír Vondruš
8e714280fa
GL: test for multithreaded behavior of GL::Context.
7 years ago
Cameron Egbert
d19f479721
Platform: fix DpiScaling to handle calling conventions properly on Windows.
7 years ago
Vladimír Vondruš
f89e935f7d
Ensure Resource operator== doesn't work with different types.
...
Otherwise it could in some circumstances compare the actual
resource values giving false positives.
7 years ago
Daniel Guzman
909b05b8fa
Added equal and not equal operators in Magnum::Resource
7 years ago
Vladimír Vondruš
4c6ebeeef4
Platform: doc++
7 years ago
Vladimír Vondruš
733d417feb
Platform: testing for wheel events.
7 years ago
Squareys
6e5f6b8858
Platform: light-weight main loop for EmscriptenApplication
...
Signed-off-by: Squareys <squareys@googlemail.com>
7 years ago
Squareys
cc28453332
Platform: Fix UTF8 text input in EmscriptenApplication
...
Signed-off-by: Squareys <squareys@googlemail.com>
Co-authored-by: Vladimír Vondruš <mosra@centrum.cz>
7 years ago
Vladimír Vondruš
ed564b525e
Platform: doc++
7 years ago
Vladimír Vondruš
1bd78f9bdf
Platform: move friends into privates.
7 years ago
Vladimír Vondruš
de0d991018
Platform: add EmscriptenApplication::setContainerCssClass().
7 years ago
Vladimír Vondruš
41859d8986
Platform: why is this protected when it's public elsewhere.
7 years ago
Vladimír Vondruš
9ac7c7f182
Platform: test EmscriptenApplication text input.
7 years ago
Vladimír Vondruš
ac0d6987ad
Platform: actually properly destroy the WebGL context after.
...
And expose it to the users.
7 years ago
Vladimír Vondruš
e0019f511c
Platform: this is all wrong anyway and mainLoopIteration() is useless.
...
The exec() should return int to be API-compatible with other
implementations.
7 years ago
Vladimír Vondruš
e7671c0170
Platform: why this is here and not here.
7 years ago
Vladimír Vondruš
1aa4989e5e
Platform: expose raw event structures in EmscriptenApplication.
...
Also store them as references and not pointers.
7 years ago
Vladimír Vondruš
ba1ca34484
Platform: do not redraw all the time in EmscriptenApplicationTest.
7 years ago
Vladimír Vondruš
8254e16c91
Platform: rework DPI awareness and resize event in EmscriptenApp.
...
By mistake I thought it's the same as in Emscripten's SDL, but there
Emscripten does some emulation to ensure windowSize() ==
framebufferSize().
For the resize event it's possible to hook into the window resize
callback instead of polling for the size every frame, That's much more
efficient.
7 years ago
Vladimír Vondruš
b28ac4667d
Platform: no need to reinterpret_cast the void pointers.
7 years ago
Vladimír Vondruš
562cf677ff
Platform: test initial window size params in GLFW and SDL2 apps.
7 years ago
Vladimír Vondruš
5ddd3a6d40
Platform: test also key release events in EmscriptenApplication.
7 years ago
Vladimír Vondruš
e64adb73a8
Platform: test explicitly enabled extensions in EmscriptenApplication.
7 years ago
Vladimír Vondruš
fd137f3cf1
Platform: make EmscriptenApplication work correctly w/o TARGET_GL.
7 years ago
Vladimír Vondruš
fc4860e30a
Platform: give the docs the love they deserve.
7 years ago
Vladimír Vondruš
73e0199696
Platform: well, these OTOH *don't* need to be flags.
7 years ago
Vladimír Vondruš
4c8ac4f389
Platform: those flags are not flags, damnit.
...
Took me an hour to figure out. Argh.
7 years ago
Vladimír Vondruš
e1e1da99f7
Platform: it's good to enable exts by default in EmscriptenApp.
7 years ago
Vladimír Vondruš
f2fb0b3da3
Platform: fix build on Emscripten 1.38.17 and newer.
7 years ago
Vladimír Vondruš
e375fac168
Platform: properly define enum operators for all EmscriptenApp flags.
7 years ago
Vladimír Vondruš
173a87eaf4
Platform: none of EmscriptenApplication constructors were defined.
...
... when compiling w/o TARGET_GL.
7 years ago
Vladimír Vondruš
251e858d5b
Platform: the EmscriptenApplication destructor doesn't need to be virtual.
7 years ago