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š
dc24831693
MeshTools: we know the final size beforehand.
6 years ago
Vladimír Vondruš
0160156318
MeshTools: why was past me such an overengineer?
6 years ago
Vladimír Vondruš
d33bbd1c7e
Platform: apparently I forgot to finish this sentence a year ago.
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š
314cad0d89
Platform: document how to calculate content scaling in a x-platform way.
6 years ago
Vladimír Vondruš
a50e249b63
MagnumFontConverter: fix static build.
6 years ago
Vladimír Vondruš
376757bc6c
Doc++
6 years ago
Daniel Guzman
dd0fc3bcaf
Stop Magnum/Math/Swizzle.h(75): warning C4389: '==': signed/unsigned mismatch
6 years ago
Vladimír Vondruš
e72a0459c8
doc: updated changelog, mark new APIs as new.
7 years ago
Squareys
e88d0cb181
GL: Add ArrayView<AbstractTexture*> overrides to bind and bindImages
...
Signed-off-by: Squareys <squareys@googlemail.com>
7 years ago
Vladimír Vondruš
5e9d1476ba
Platform: oh, right, Doxygen's "smart" quotes visited here.
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š
d5b470d350
Shaders: fix missing include.
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š
959ab7a444
Math: haha whoops.
7 years ago
Vladimír Vondruš
15e5bfa09e
Update credits and changelog, minor cleanup.
7 years ago
Marco Melorio
097289850a
Add toEuler() to Quaternion
7 years ago
Vladimír Vondruš
b01818c60b
external: fail when flextGL fails.
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š
20a3fedaa4
external: GLES EXT_disjoint_timer_query now exposes glGetInteger64vEXT().
...
Not sure what for, but whatever.
7 years ago
Vladimír Vondruš
86c7486402
Platform: fix non-deprecated build.
...
Breakage introduced by the recent window icon addition.
7 years ago
Vladimír Vondruš
44458f5b37
Trade: explanatory message in a test.
7 years ago
Vladimír Vondruš
7be062a71a
Trade: clean up unused & harmful error redirection in tests.
...
Copypaste error. This would hide graceful assert messages, which is not
good.
7 years ago
Vladimír Vondruš
fd1c7b43d8
Trade: ugh, lcov, UGH.
7 years ago
Vladimír Vondruš
09e6145990
Math: improve Kahan Sum benchmark by comparing to doubles as well.
...
And reducing the overhead from the vector iterators by using an Array.
7 years ago
Konstantinos Chatzilygeroudis
5e5c5f7945
GlfwApplication: fix for empty env XDG_SESSION_TYPE
7 years ago
Vladimír Vondruš
a920722839
doc: label deprecated APIs and stuff new since 2019.10 with version info.
...
Should make new things more discoverable, avoid confusion when a
documented API isn't there and reduce the need for maintaining multiple
separate versions of the docs.
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š
3e4646f4be
Platform: add tests for setMin/MaxWindowSize().
...
DPI scaling is not respected and viewport event is not fired on SDL.
Ugh.
7 years ago
Vladimír Vondruš
98e64b5dee
Platform: make the GlfwApplication test app resizable.
7 years ago
Konstantinos Chatzilygeroudis
c8d2c33ac6
Fix for Glfw and Wayland crashing when showing the window after being hidden
7 years ago
Vladimír Vondruš
98232f383a
Reduce string duplication in enum debug output operators.
...
Bloaty says it saved 10 kB in Debug build of MagnumGL:
VM SIZE FILE SIZE
-------------- --------------
[ = ] 0 .debug_info +1.59Ki +0.0%
+0.4% +1.50Ki .text +1.50Ki +0.4%
[ = ] 0 .debug_str +409 +0.0%
[ = ] 0 .debug_line +276 +0.1%
[ = ] 0 .debug_abbrev +20 +0.0%
-28.6% -2 [LOAD [RX]] -2 -28.6%
[ = ] 0 [Unmapped] -4.28Ki -41.0%
-22.7% -9.23Ki .rodata -9.23Ki -22.7%
-0.8% -7.73Ki TOTAL -9.73Ki -0.1%
And 4 kB in Release:
VM SIZE FILE SIZE
-------------- --------------
+1.1% +3.44Ki .text +3.44Ki +1.1%
+1.7% +1.39Ki .eh_frame +1.39Ki +1.7%
[ = ] 0 [Unmapped] +656 +51%
-25.5% -9.47Ki .rodata -9.47Ki -25.5%
-0.7% -4.64Ki TOTAL -4.00Ki -0.4%
That's not negative, so I guess that's good. This change is of course
more significant in the context of a minimal WebGL build, where the exe
can be as little as 50 kB -- there 4 kB is almost 10% of the size.
7 years ago
Vladimír Vondruš
f4e409bfd9
MeshTools: allow views to be passed to the transform*() functions.
...
Before, the functions didn't accept a r-value view. Now they do, and
they also still accept l-values.
However, for a proper thing I should be making those non-templated,
specialized for Float and Double and implemented using SIMD. Well,
later.
7 years ago
Vladimír Vondruš
9ea46261ad
Trade: test that all *Data move constructors/assignments are noexcept.
7 years ago
Vladimír Vondruš
c4fe09f5df
Animation: MSVC 2015, are you upset about this?
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š
1182ac5390
Very minor code style cleanup.
7 years ago
Vladimír Vondruš
a0fa21c9fb
external: expose the OVR_multiview, OVR_multiview2 extension entrypoints.
7 years ago
Vladimír Vondruš
1a4179be70
Platform: minor.
7 years ago
Vladimír Vondruš
39ba1583e1
Platform: ability to specify exit code in AbstractXApplication.
...
For consistency with all others.
7 years ago
Konstantinos Chatzilygeroudis
270b755517
AbstractXApplication: remove button defines that interere with GlfwApplication.
7 years ago
Konstantinos Chatzilygeroudis
411e349358
GlfwApplication: Workaround for DPI scaling when monitor size is equal to zero
7 years ago
Konstantinos Chatzilygeroudis
756c1242ad
GlfwApplication: add mainLoopIteration similar to Sdl2Application
7 years ago
Konstantinos Chatzilygeroudis
432aca900d
AbstractXApplication: add mainLoopIteration similar to Sdl2Application
7 years ago