Vladimír Vondruš
b05a7ce3b7
Fix generation of the version.h header when inside a Git submodule.
6 years ago
Vladimír Vondruš
1f55a11f31
Platform: fix Clang compiler warning about signed/unsigned comparison.
6 years ago
Vladimír Vondruš
c357a449fc
MeshTools: use only the first set of vertex attribs in compile().
6 years ago
Vladimír Vondruš
af0ab0d25b
MeshTools: test compile() with multiple sets of vertex attributes.
...
It should be using only the first set ... but it doesn't.
6 years ago
Vladimír Vondruš
ad27487e4c
Trade: minor.
6 years ago
Vladimír Vondruš
f8389cf271
Trade: doc++
6 years ago
Vladimír Vondruš
1d0ffc0217
Trade: accidentally missed a test for empty MeshAttributeData.
6 years ago
Vladimír Vondruš
f052fc43ec
Trade: oh, those material APIs were also long-deprecated. Delete.
6 years ago
Vladimír Vondruš
8b97946996
Trade: Y tho.
6 years ago
Vladimír Vondruš
f225497475
Math: assert valid binomialCoefficient() input instead of returning 0.
6 years ago
Vladimír Vondruš
53a26ad024
Math: use 64-bit literals in a test to be really really sure.
6 years ago
Vladimír Vondruš
f1c713f4c8
Minor cleanup, doc++, updated changelog & credits.
6 years ago
janos
8013afc28c
Math: add binomial coefficient function.
6 years ago
Vladimír Vondruš
cec77c0a80
SceneGraph: remove constructor signature requirements in addChild().
...
It now calls setParent() afterwards instead of requiring the last
constructor parameter to be a parent pointer.
6 years ago
Vladimír Vondruš
87381d1744
modules: make our own FindVulkan.cmake.
...
With blackjack and actually working properly on all platforms.
Seriously, did nobody ever try to use the vanilla version on Mac or MSYS
since it was added several years ago in CMake 3.7?
6 years ago
Vladimír Vondruš
90283408cc
Math: doc++
6 years ago
Vladimír Vondruš
c68ea7945b
Shaders: mention the setViewportSize() requirement clearer.
6 years ago
Vladimír Vondruš
8ac9750a81
Platform: properly initialize EmscriptenApp GLConfiguration.
6 years ago
erikwijmans
68aec7b088
Platform: *really* destroy EGL context in WindowlessEglApp destructor.
6 years ago
Vladimír Vondruš
3ceedb3680
Doc++
6 years ago
Vladimír Vondruš
8d4dda12cd
GL: recognize all remaining WebGL extensions.
6 years ago
Vladimír Vondruš
af73929c67
GL: implemented WEBGL_blend_equation_advanced_coherent.
6 years ago
Vladimír Vondruš
bb5004dbb5
GL: added Framebuffer::Status::IncompleteDimensions.
...
Sigh, NVidia.
6 years ago
Vladimír Vondruš
083ecf72b8
GL: implement EXT_texture_norm16 ES and WebGL extension.
6 years ago
Vladimír Vondruš
868843c9bb
Remove heavy compatibility includes added in 2019.01.
...
Should have a strictly positive effect on compile times.
6 years ago
Vladimír Vondruš
cd48c59cab
Remove remaining APIs deprecated in 2018.10.
6 years ago
Vladimír Vondruš
cf4dc69f0d
sceneconverter: add a --bounds option.
6 years ago
Vladimír Vondruš
6feb5a4cab
GL: fix compilation on macOS + ANGLE.
6 years ago
Vladimír Vondruš
e6a8c99d89
Math: don't include Utility fwdecls when not needed.
6 years ago
Vladimír Vondruš
cb4f6183dc
Doc++, changelog, credits and version marker updates.
6 years ago
Pablo Escobar
daa6d9125e
Math: add fmod function
6 years ago
Vladimír Vondruš
fac6f4da26
Of course I messed up generating the version header.
...
Trailing zeros, undef'd "falsy" variable. Sigh.
6 years ago
Vladimír Vondruš
fe4acbae7d
GL: there's no EXT_DSA anymore.
6 years ago
Vladimír Vondruš
c4e41d28f1
GL: one more iteration on the Apple buffer texture workaround.
...
This broke DSA-less contexts with ARB_multi_bind present.
6 years ago
Vladimír Vondruš
5222cf3478
doc: change all "latest" additions/deprecations to 2020.06.
6 years ago
Vladimír Vondruš
36f51e3116
GL: finalize the apple-buffer-texture-unbind-on-buffer-modify workaround.
...
Followup to 24cc971b1f , covering the
remaining case.
6 years ago
Vladimír Vondruš
51473776f1
GL: repro for the last remaining Apple buffer texture issue.
6 years ago
Vladimír Vondruš
a5722f175a
Doc++
6 years ago
Vladimír Vondruš
d0fa28c331
Use the new half/packed typedefs where appropriate.
...
Had this in a stash for a while, not sure why it wasn't commited
already.
6 years ago
Vladimír Vondruš
769e27340f
Trade: AbstractImporter::importerState() expects a file to be opened.
...
The restriction was there always, but was undocumented and untested.
6 years ago
Vladimír Vondruš
00acfbc659
sceneconverter: add a more complex example.
6 years ago
Vladimír Vondruš
4933b48652
imageconverter,sceneconverter: compact image info if possible.
...
If the images have all just a single level and no names, print each on
just a single line.
6 years ago
Vladimír Vondruš
1ff8baa220
GL: clarify Shader error reporting.
6 years ago
Vladimír Vondruš
c74e49b3f4
Shaders: make instancing finally work on ES2 / WebGL 1.
...
This was stupid, eh? Blame Mesa and SwiftShader for not exposing
ANGLE_instanced_arrays so the only way to test this for me was via the
browser, which is practically impossible. Then found this by an
accident.
Pushing straight to master because YOLO.
6 years ago
Vladimír Vondruš
7547cfd10a
Platform: CMAKE_TOOLCHAIN_FILE should be always absolute.
6 years ago
Vladimír Vondruš
609275f993
Audio,GL: shorter way to avoid crashes on nullptr C strings.
...
This is actually to avoid an ambigous overload with Corrade's new
StringView APIs, but doesn't hurt to commit that anyway.
6 years ago
Vladimír Vondruš
54a48992ff
GL: doc++
6 years ago
Vladimír Vondruš
1436b7bc86
Shaders: fix various WebGL issues with new MeshVisualizer features.
...
* Shader compilation failed with vertex, object and primitive ID
enabled due to the NO_GEOMETRY_SHADER define not being correctly
propagated
* Enabling just vertex ID visualization on WebGL caused an assert in
constructor, complaining that "at least one visualization feature has
to be enabled", which is wrong
* Defaults were not correctly set up for vertex ID rendering, causing
all-black render when setColor() wasn't called
* Forgot to list/bundle some ground truth test images for the test
case, causing the test to fail due to files not found
* The test asserted when generating mesh data due to an unhandled
corner case
* The test expected an ES2 assertion message on WebGL 2
* Flag::Wireframe now implicitly enables Flag::NoGeometryShader also on
WebGL. This was done only for ES2 previously, but WebGL doesn't have
(and won't have) geometry shaders, so it makes sense to do the same
there.
6 years ago
Vladimír Vondruš
3aca89ec82
GL: minor.
6 years ago
Vladimír Vondruš
e2621fac3c
GL,Audio: use plain old binary search for extension setup.
...
Because the cost of hundreds of tiny allocations when filling a
std::unordered_map (and then the cache unfriendliness of the whole
thing) definitely overweights the potential speedup by searching in O(1)
instead of O(log n). Same approach is chosen in the upcoming Vulkan
wrapper, I just backported it here.
This strips about 8 kB off the Emscripten build.
6 years ago