Squareys
d04a9c780c
Platform: Fix compilation of EmscriptenApplication on Emscripten 1.38.26+
...
Signed-off-by: Squareys <squareys@googlemail.com>
6 years ago
Vladimír Vondruš
e6dc5be1af
Platform: default to 32-bit RGBA framebuffer instead of 24-bit RGB.
...
macOS and Android is known to degrade 24-bit to 16-bit colors, this
prevents them from doing that.
6 years ago
Vladimír Vondruš
2149e78f82
Platform: make *Application::exit() exit right after constructor ends.
...
Instead of first entering the main loop, processing events etc. This
also makes it finally possible to exit the application cleanly, with all
non-global destructors executed as well.
6 years ago
Vladimír Vondruš
3de507594d
Platform: doc++
6 years ago
Vladimír Vondruš
492ba412f0
Platform: cleanup X11 stuff only if it's there.
...
Of course, widely expepted assumptions DO NOT work here. It doesn't
even report an error, it crashes straight away.
6 years ago
Vladimír Vondruš
b04aa48c03
Platform: do at least something in the test draw event.
...
To indicate the event handler was triggered.
6 years ago
Vladimír Vondruš
5c4a00512b
Platform: reorder test code for consistency.
6 years ago
Vladimír Vondruš
8af1f6a91e
Platform: delay GLFW event callback setup to first main loop iteration.
...
A more robust fix for the Windows-specific issue, and fixing a similar
macOS issue as well.
6 years ago
Vladimír Vondruš
ad9b9f5a3d
Platform: ensure Sdl2Application has a window opened in the main loop.
...
Same is done in GlfwApplication, and not doing so makes no sense.
6 years ago
Vladimír Vondruš
ce0efd1aeb
Platform: move a window creation asset to a better place in GlfwApp.
...
So this gets checked even when the user is calling mainLoopIteration()
directly.
6 years ago
Vladimír Vondruš
c98635842f
Platform: allow engine-specific options in GlfwApplicationTest.
6 years ago
Vladimír Vondruš
960fd278cc
GL: doc++
6 years ago
Vladimír Vondruš
453be840a5
doc: updated changelog and credits.
6 years ago
Vladimír Vondruš
2c10e09148
Platform: add context getters to all windowless apps.
...
For context sharing. The windowed apps already have these.
6 years ago
Stéphane Brard
4d1203d66e
Platform: added shared context support to windowless applications.
6 years ago
Vladimír Vondruš
9661c55596
Primitives: hint that a solid strip cube can be made entirely in GLSL.
6 years ago
Vladimír Vondruš
b1f356cdfa
Primitives: clarify how primitives look.
6 years ago
Vladimír Vondruš
8d4fa320a6
Platform: fix a comment.
6 years ago
Vladimír Vondruš
99a5e1d246
Math: test that slerp() is immune against too long quats as well.
6 years ago
Vladimír Vondruš
b2b8d11d2f
Math: fix indent.
6 years ago
Vladimír Vondruš
498f4c59e1
Math: fix angle() returning NaN for close arguments.
6 years ago
Vladimír Vondruš
6a6f144e82
Math: wait, no, this function isn't used on two places anymore.
6 years ago
Vladimír Vondruš
1c46bdb959
Math: move clamp() definition from Functions.h to Vector.h.
...
Need it for angle().
6 years ago
Vladimír Vondruš
94cba139ff
Math: improve and clean up angle() tests.
6 years ago
Vladimír Vondruš
c83f43fd92
package/ci: add a TSan build.
...
Currently not really any MT things to test, but that will change soon.
6 years ago
Vladimír Vondruš
13c1fcdbfc
Shaders: forgot to list this file.
...
Made the WebGL test fail.
6 years ago
Vladimír Vondruš
55685ea382
Shaders: implement instancing in Phong.
6 years ago
Vladimír Vondruš
a1f1f66c04
Shaders: implement instancing in Flat.
6 years ago
Vladimír Vondruš
e6010388c3
Shaders: reorganize the Flat and Phong docs.
...
Dry blabber followed by dry code is worse than those two interleaved.
6 years ago
Vladimír Vondruš
638f96f099
Shaders: be sure to list required extensions in generic attribs.
...
Those aren't needed when the attributes are not used non-instanced, but
that's extremely unlikely.
6 years ago
Vladimír Vondruš
c9ea6aba2e
Shaders: grumble.
6 years ago
Vladimír Vondruš
8146051634
GL: doc++
6 years ago
Vladimír Vondruš
1da3b04d19
Animation: this documentation is clearly wrong.
6 years ago
Vladimír Vondruš
e5075803eb
GL: state reset needs to unbind PBOs when entering external code.
...
Qt is not PBO-aware and it messes with its state when resizing a window.
6 years ago
Vladimír Vondruš
a119ee2bb2
GL: fix compilation with ANGLE on macOS.
...
This assumed that non-iOS Apple platform is always desktop GL. Wrong.
6 years ago
Vladimír Vondruš
a22d6678a5
Math: I'm extremely stupid lately.
...
This got unnoticed since ... November? Argh.
6 years ago
Vladimír Vondruš
3e310cbd94
Shaders: note to self: *save* before commiting.
6 years ago
Vladimír Vondruš
9da27ce8dd
Shaders: ensure test description is set before skipping it.
6 years ago
Vladimír Vondruš
06ab5b33cd
Shaders: fix strict aliasing warnings.
6 years ago
Vladimír Vondruš
44609d845f
doc: fix the recommended texture format.
...
Forgot that ES wants the component count to match.
6 years ago
Vladimír Vondruš
e3841ade7e
Shaders: object and primitive ID visualization in MeshVisualizer.
6 years ago
Vladimír Vondruš
60968779da
Shaders: avoid using deprecated functionality in a test.
6 years ago
Vladimír Vondruš
46d492fcc9
Shaders: list forgotten MeshVisualizer test files.
6 years ago
Vladimír Vondruš
6b0d29bec2
Shaders: turn a construction test into an instanced one.
...
Got more cases to test for.
6 years ago
Vladimír Vondruš
d32fcecf68
MeshTools: fix self-contradictory docs.
6 years ago
Vladimír Vondruš
d569ad2e78
MeshTools: combineFaceAttributes() overload with direct attributes.
...
Needed to add a per-face attribute to an existing mesh in a test and
this seemed like a good idea to have available in general.
6 years ago
Vladimír Vondruš
11df186a44
MeshTools: support an extreme corner case in interleavedData().
...
I need this for combineFaceAttributes() internals, I don't expect this
to be useful for actual humans.
6 years ago
Vladimír Vondruš
1cb7193034
Shaders: reorder MeshVisualizer docs.
6 years ago
Vladimír Vondruš
f16a1b7731
Bloody hell.
6 years ago
Vladimír Vondruš
be337787b2
Math: explicitly include <type_traits> in TypeTraits.h.
...
We need it there, but somehow it was not being explicitly (transitively)
pulled in by any header.
6 years ago