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š
2cbdd52a5a
doc: forgot to list the new OVR_multiivew entrypoints in the table.
7 years ago
Vladimír Vondruš
b3a1f744db
doc: eheh, such a big button and totally useless.
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
Vladimír Vondruš
d19675a6df
doc: updated changelog.
7 years ago
Konstantinos Chatzilygeroudis
5e5c5f7945
GlfwApplication: fix for empty env XDG_SESSION_TYPE
7 years ago
Vladimír Vondruš
debddf6585
doc: update UWP / Windows RT build instructions.
7 years ago
Vladimír Vondruš
0ee1c1296e
doc: fix a bunch of things in the changelog.
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
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
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š
e140957f5a
doc: updated changelog and credits.
7 years ago
Marco Melorio
d857b1b91f
Fix typo in the scenegraph feature doc
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š
db9c750c78
doc: properly link to the WebGL version of RGTC / BPTC extensions.
7 years ago
Vladimír Vondruš
a99edb5d25
doc: updated credits and changelog.
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
Vladimír Vondruš
01e12ba495
Platform: test Sdl2App/GlfwApp mouse locking.
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š
a23423457e
Platform: update Emscripten boilerplate copy to new binary locations.
7 years ago
Vladimír Vondruš
1f65f0a823
Platform: minor cleanup.
7 years ago
Vladimír Vondruš
7cb49fbb36
Platform: simple test for Sdl2 and GlfwApplication cursors.
7 years ago