Vladimír Vondruš
5a3288154b
Platform: properly include SDL_main.h for iOS.
...
Got missed when cleaning up the 50kLOC header mess in
b73b9cb408 (Nov 2018). Sorry!
6 years ago
Vladimír Vondruš
eda984c9c9
Made Resource nothrow-movable.
...
Otherwise it can't be used in growable Arrays (and std::vector copies it
instead of moving when reallocating).
6 years ago
Vladimír Vondruš
51b8349c24
Doc++
6 years ago
Vladimír Vondruš
e603771cef
Platform: fix EmscriptenApplication mouse events with Emscripten master.
...
The canvasX/Y properties were silently deprecated (I wouldn't know
without looking at the source, the docs say no such thing) and when
-s DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR=1 is enabled, these are
not initialized to any meaningful value.
6 years ago
Vladimír Vondruš
34261840bc
GL: expand ARB_DSA blacklisting on Intel Windows drivers a bit further.
...
This should finally fix all remaining Intel Windows driver issues.
Hopefully. Or at least until the next major driver update.
6 years ago
Vladimír Vondruš
f6abe4577c
doc: advertise clang-cl support.
6 years ago
Vladimír Vondruš
1fb90813b1
doc: updated credits and changelog.
6 years ago
Vladimír Vondruš
2e52cc0f3c
MeshTools: added a STL-less subdivideInPlace() variant.
...
What's extremely funny is that this made the benchmark *twice as fast*
in Debug.
6 years ago
Vladimír Vondruš
e67526abf0
Platform: ability to set window size in Sdl2 and GlfwApplication.
...
It had the min/max size setters added in 2019.10 but this was missing.
6 years ago
Vladimír Vondruš
a12d673d82
modules: fix dependency between DebugTools and Trade on GL-less builds.
6 years ago
Vladimír Vondruš
e72a0459c8
doc: updated changelog, mark new APIs as new.
7 years ago
Vladimír Vondruš
4000ab8573
Doc++
7 years ago
Vladimír Vondruš
3379051ed5
Platform: added a bunch of missing keys.
7 years ago
Vladimír Vondruš
6b2f4711b4
Primitives: fix an assertion in uvSphereWireframe().
...
Everything I do these days is a potential breakign change.
7 years ago
Vladimír Vondruš
a29cb46549
GL: give up and disable DSA for everything buffer-related on Intel/Windows.
...
Sad.
7 years ago
Vladimír Vondruš
15e5bfa09e
Update credits and changelog, minor cleanup.
7 years ago
Vladimír Vondruš
6acfa6c7b6
external: expose a bunch of new GL extensions.
...
ARB_sample_locations and AMD_shader_explicit_vertex_parameter /
NV_fragment_shader_barycentric for barycentic coords in the vertex
shader. The ARB extension mentions GLES but doesn't have any assigned
number, so I'm treating it as desktop-only. There's a NV variant that
does have an ES extension number, but I don't really want to add it just
because that.
7 years ago
Vladimír Vondruš
d19675a6df
doc: updated changelog.
7 years ago
Vladimír Vondruš
0ee1c1296e
doc: fix a bunch of things in the changelog.
7 years ago
Vladimír Vondruš
b4f88f00ab
Remove last remaining APIs deprecated in 2018.04.
7 years ago
Vladimír Vondruš
090c6bb4a7
Platform: window icon management in Glfw and Sdl2Application.
7 years ago
Vladimír Vondruš
4f6f8ecdde
Platform: um... why isn't SDL_version.h pulled in implicitly?
...
I'd assume that if I include any SDL header, the version macros get
included too.
7 years ago
Vladimír Vondruš
51e65aaae0
Platform: respect DPI in setMin/MaxWindowSize().
...
I hope this doesn't break someone's use case.
7 years ago
Vladimír Vondruš
322a57e88c
Platform: properly fire Sdl2Application::viewportEvent() in all cases.
...
The event wasn't fired when the window size got changed through an API
call. Unfortunately after this change the event gets fired any time
I call setMaxWindowSize(), not just when the size changes.
7 years ago
Vladimír Vondruš
86a9f01dab
modules: link to all dependencies of statically-built SDL on Windows.
7 years ago
Vladimír Vondruš
51488cf9c5
doc: updated changelog.
7 years ago
Vladimír Vondruš
e140957f5a
doc: updated changelog and credits.
7 years ago
Vladimír Vondruš
954798a9ba
Animation: allow mutable access to data referenced by TrackView.
...
This is a breaking change, sorry.
7 years ago
Vladimír Vondruš
a0fa21c9fb
external: expose the OVR_multiview, OVR_multiview2 extension entrypoints.
7 years ago
Vladimír Vondruš
a99edb5d25
doc: updated credits and changelog.
7 years ago
Vladimír Vondruš
c4e3e3c045
Platform: deprecate Sdl2Application::setMouseLocked().
...
Now also handled by the new setCursor() APIs.
7 years ago
Vladimír Vondruš
8d9d247573
Platform: deprecate badly designed & useless GlfwApp setCursorMode().
...
I'm not sure who thought making this settable only during app startup
(and never after) is a good idea. Let's use the new setCursor() APIs
instead.
7 years ago
Vladimír Vondruš
c091ed0e66
Platform: implement cursor management for EmscriptenApplication as well.
...
36 cursor types, wow. Now I envy web devs.
7 years ago
Vladimír Vondruš
50721638ae
doc: updated changelog and credits.
7 years ago
Vladimír Vondruš
96ea050a74
Primitives: fix a missing face in cylinder and cone primitives.
7 years ago
Vladimír Vondruš
c5872f2ddf
imagecoverter: implement raw pixel import as well.
...
Just tightly packed squares for now.
7 years ago
Vladimír Vondruš
2de43c4fc1
Make (Compressed)PixelFormat work with Configuration.
...
And thus also Arguments.
7 years ago
Vladimír Vondruš
b3544a0404
imageconverter: make it possible to save raw imported data.
7 years ago
Vladimír Vondruš
d08e5c1638
imageconverter: print available plugins on importer/converter load error.
...
At first I wanted to add --importers / --converters options, but that
didn't really work because the argument parser complained that
input/output is not set.
7 years ago
Vladimír Vondruš
8d8bab7830
doc: updated changelog for the 2019.10 release.
7 years ago
Vladimír Vondruš
909887ad7c
A sad workaround for a sad misery with Python bindings on Windows.
7 years ago
Vladimír Vondruš
515637c76a
Math: implement a robust and faster Matrix4::normalMatrix().
...
This change makes the operations split into a bunch of separate
functions, making the parts easier to document, however with a slight
negative effect on debug performance:
Starting Magnum::Math::Test::MatrixBenchmark with 16 test cases...
INFO Benchmarking a debug build.
BENCH [01] 94.54 ± 3.62 ns multiply3()@499x10000 (wall time)
BENCH [02] 183.47 ± 7.50 ns multiply4()@499x10000 (wall time)
BENCH [03] 318.11 ± 11.59 ns comatrix3()@49x10000 (wall time)
BENCH [04] 379.51 ± 12.17 ns invert3()@49x10000 (wall time)
BENCH [05] 448.23 ± 17.61 ns invert3GaussJordan()@49x10000 (wall time)
BENCH [06] 338.96 ± 11.61 ns invert3Rigid()@49x10000 (wall time)
BENCH [07] 206.37 ± 10.59 ns invert3Orthogonal()@49x10000 (wall time)
BENCH [08] 879.40 ± 20.03 ns comatrix4()@49x10000 (wall time)
BENCH [09] 1.16 ± 0.03 µs invert4()@49x10000 (wall time)
BENCH [10] 825.40 ± 17.34 ns invert4GaussJordan()@49x10000 (wall time)
BENCH [11] 534.86 ± 15.73 ns invert4Rigid()@49x10000 (wall time)
BENCH [12] 347.36 ± 11.62 ns invert4Orthogonal()@49x10000 (wall time)
BENCH [13] 65.70 ± 6.73 ns transformVector3()@999x10000 (wall time)
BENCH [14] 62.56 ± 3.09 ns transformPoint3()@999x10000 (wall time)
BENCH [15] 81.25 ± 2.78 ns transformVector4()@999x10000 (wall time)
BENCH [16] 82.14 ± 4.26 ns transformPoint4()@999x10000 (wall time)
Finished Magnum::Math::Test::MatrixBenchmark with 0 errors out of 5500 checks.
7 years ago
Vladimír Vondruš
303468f299
Doc++
7 years ago
Vladimír Vondruš
507c5bf739
GL: remove the nv-egl-forward-compatible-context-unhappy workaround.
...
This was my bug, as requesting a forward-compatible context without
saying *what* version it should be forward compatible to makes no sense.
A followup to 73baab69ce .
7 years ago
Vladimír Vondruš
607b3a15fa
DebugTools: finish ResourceManager singleton deprecation.
7 years ago
Vladimír Vondruš
9fad16182e
Platform: implement AndroidApplication::MouseMoveEvent::relativePosition().
7 years ago
Vladimír Vondruš
35bf229ed5
Platform: add Sdl2Application::Configuration::WindowFlag::{OpenGL,Vulkan}.
7 years ago
Vladimír Vondruš
b3759b6a98
GL: ensure gl_PointCoord works correctly also on compatibility profile.
7 years ago
Vladimír Vondruš
8d2d848fe9
Doc++
7 years ago
Vladimír Vondruš
3629af231b
GL: new amd-windows-broken-dsa-cubemap-copy workaround.
7 years ago