Vladimír Vondruš
50902e72d7
Platform: check for non-null GL_VENDOR before comparing it.
...
Otherwise, when context creation fails *really bad*, this crashes
somewhere deep in __strncmp_sse42 or so.
7 years ago
Vladimír Vondruš
035642748f
TgaImporter: properly handle files with too short data.
7 years ago
Vladimír Vondruš
cf7d2a487f
Platform: actually properly redraw after EmscriptenApp::viewportEvent().
...
This is getting ridiculous, eh. How did I test this stuff, actually?
7 years ago
Vladimír Vondruš
384fd5c363
Platform: fix EmscriptenApp::setContainerCssClass() to fire viewport event.
...
The code was taken straight from Sdl2Application where it assumed the
main render loop polls for canvas size changes and so it would pick it
up automagically. Not the case here, so the viewport event was never
fired after this.
7 years ago
Vladimír Vondruš
4e20d22c4b
Platform: separate the implicit engine startup log from the rest.
7 years ago
Vladimír Vondruš
291fa9a60a
Platform: display also standard library defines in magnum-gl-info.
7 years ago
Vladimír Vondruš
1c8cbaa68a
GL: trim vendor string in the engine startup log.
...
Mesa has a space at the end and my OCD goes crazy about that.
7 years ago
Vladimír Vondruš
bb921d0f86
GL: print a message about GPU validation in verbose log output.
7 years ago
Vladimír Vondruš
3508439445
GL: clarify Context::DetectedDriver value docs.
7 years ago
Vladimír Vondruš
14911500bd
GL: warn if using --magnum-gpu-validation w/o debug context on AMD.
...
That's so far the only driver where it matters I think, so not printing
the warning elsewhere.
7 years ago
Vladimír Vondruš
e746b38d3c
GL: what?! why? no.
7 years ago
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š
32a090954a
doc: updated changelog.
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š
4814285073
modules: updated FindCorrade.cmake.
7 years ago
Vladimír Vondruš
be6d334a1c
doc: updated changelog.
7 years ago
Vladimír Vondruš
745fc4ed91
package/ci: build for MSVC 2019 on AppVeyor.
...
Three new builds (GL, GLES2, GLES3), Vulkan is now built with just MSVC
2019; removed 2015 RT builds because nobody cares and axed also GLES
2015 builds. In total it's one build less (well, the RT ones are
really slow, so way more than that in fact). Yay!
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š
4009d88c00
modules: updated FindCorrade.cmake.
7 years ago
Vladimír Vondruš
bc9068efda
GL: harden multi-Context test.
7 years ago
Vladimír Vondruš
a03e237926
CMake: clean up docs related to MAGNUM_PLUGINS_DIR.
...
Now with the plugin paths being autodetected those variables have less
use and are more important during the build than during actual use.
7 years ago
Vladimír Vondruš
057475fb8a
CMake: don't enable -fPIC by default on Emscripten.
...
Causes weird errors on latest version.
7 years ago
Vladimír Vondruš
51cd4b3dd0
GL: fixed a 64-to-32-bit conversion warning on MSVC.
7 years ago
Vladimír Vondruš
5edf934694
package/archlinux: use proper var to disabe benchmarks in coverage build.
7 years ago
Vladimír Vondruš
11a94c16a3
GL: added Context::makeCurrent().
7 years ago
Vladimír Vondruš
b87a54bc44
Doc++
7 years ago
Vladimír Vondruš
b83c4366e7
Math: fix a build issue with CUDA on Windows.
7 years ago
Vladimír Vondruš
14dce1b356
Updated toolchains submodule.
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š
be1c2bec14
modules: updated FindCorrade.cmake.
7 years ago
Vladimír Vondruš
8e714280fa
GL: test for multithreaded behavior of GL::Context.
7 years ago
Vladimír Vondruš
bcce4ba063
Doc++, updated credits and changelog.
7 years ago
Cameron Egbert
d19f479721
Platform: fix DpiScaling to handle calling conventions properly on Windows.
7 years ago
Vladimír Vondruš
8e1e52d667
doc: updated credits and changelog.
7 years ago
Michael Tao
bce9a9d5f0
doc: fix gentoo build instructions (99999 -> 9999 in the ebuild path).
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