Vladimír Vondruš
23d2ab1d1b
gl-info: modernize output printing a bit, list remaining defines.
6 years ago
Vladimír Vondruš
1fd8722d51
doc: provide a separate \def_vk and \val_vk.
...
Originally, \def_vk was used for enum values (equivalently to how
\def_gl is used for "enum" values in GL), but I also need to reference
actual defines such as VK_VERSION_MINOR(), so renamed it to \val_vk and
reused \def_vk for actual defines.
6 years ago
Vladimír Vondruš
ff22cb8758
Platform: print EGL device count before overwriting the count variable.
...
Otherwise it would report a wrong count.
6 years ago
Vladimír Vondruš
6ce74205ac
doc: updated credits and changelog.
6 years ago
Vladimír Vondruš
5ea2880979
doc: port to m.css's new Python-powered config.
...
And finally enable the color swatch postprocessing.
6 years ago
Vladimír Vondruš
6fa8a17fbb
doc: move Doxyfiles out of the root.
...
Those are useless for 90% of users, needlessly polluting the root
directory.
6 years ago
Vladimír Vondruš
e352fa78ba
Platform: allocate only for how many EGL devices there is.
6 years ago
Vladimír Vondruš
2803ccb241
Platform: minor whitespace, doc and error handling cleanup.
...
In particular, the "likely a driver issue" messages don't apply here.
6 years ago
erikwijmans
7514716fe7
CUDA device selection support
6 years ago
Vladimír Vondruš
4b24a27a88
GL: expose AMD_sample_positions and NV_sample_locations.
...
No wrapping yet, just recognize the extensions and load entrypoints.
6 years ago
Vladimír Vondruš
08fe6b1762
Fix Hunter badge link in README.
6 years ago
Vladimír Vondruš
503401b243
doc: fix Vulkan extension links to not point to the single page docs.
...
Because it's excessively huge and slow.
6 years ago
Vladimír Vondruš
f5e2217ae6
external: update copyright headers in flextGL templates.
...
Ugh, @@. I need to throw away this baroque template engine already.
6 years ago
Vladimír Vondruš
41522c674f
doc: updated credits and changelog.
6 years ago
Burak Canik
c5574d89e7
Add missing UnsignedInt cast.
6 years ago
Vladimír Vondruš
293f092f14
Add a version.h header with full Git version information.
6 years ago
Vladimír Vondruš
19e0e96d74
Updated copyright year.
6 years ago
Vladimír Vondruš
7f7c8c933f
package/archlinux: keep debug versions of all console tools.
6 years ago
Vladimír Vondruš
de00da7040
imageconverter: doc++
6 years ago
Vladimír Vondruš
036207f88e
sceneconverter: add --mesh and --level options.
...
Following the addition to imageconverter.
6 years ago
Vladimír Vondruš
5c954a22be
imageconverter: split error handling for file opening and image loading.
6 years ago
Vladimír Vondruš
fa31202c9c
sceneconverter: show mesh reference count only if there's a scene.
...
Otherwise, for plain formats without a scene graph such as PLY or STL,
the information is useless.
6 years ago
Vladimír Vondruš
d96442389a
Platform: remove copypasted comment.
6 years ago
Vladimír Vondruš
660cb69327
doc: add *.ico to the file format table.
...
And due to my latest experience with DevIL and how it handles animated
GIFs, downgrade the caveats to "severe".
6 years ago
Vladimír Vondruš
bd78759b81
doc: mention IcoImporter in Windows platform docs.
6 years ago
Vladimír Vondruš
a66964898f
AnyImageImporter: recognize *.ico and *.cur files.
6 years ago
Vladimír Vondruš
413dc56670
imageconverter: support image & level selection.
6 years ago
Vladimír Vondruš
f6fdfac27e
sceneconverter: allow to filter attributes on input.
6 years ago
Vladimír Vondruš
3381cedc90
sceneconverter: doc++
6 years ago
Vladimír Vondruš
e4e5795669
modules: properly list the transitive dependency of Primitives on GL.
6 years ago
Vladimír Vondruš
131a2b9a81
MeshTools: attempt to work around a Emscripten test failure on Travis.
6 years ago
Vladimír Vondruš
6a97fa2fed
MeshTools: drop now-obsolete special case for attrib-less meshes.
...
It was incomplete, asserting in some cases anyway.
6 years ago
Vladimír Vondruš
101e8fd11b
MeshTools: isInterleaved() and interleavedData() work with custom formats.
...
The interleavedLayout() etc don't yet (those need to explicitly assert),
added a TODO there.
6 years ago
Vladimír Vondruš
1f070cf77d
MeshTools: reduce code duplication in interleavedData() internals.
6 years ago
Vladimír Vondruš
add3eb4b55
MeshTools: MSVC 2015, thanks for being shitty.
6 years ago
Vladimír Vondruš
55ee67c5ca
MeshTools: fix build on old Clang.
6 years ago
Vladimír Vondruš
c3082ac355
MeshTools: expand coverage exclude marker over all affected lines.
6 years ago
Vladimír Vondruš
d843dc2e31
sceneconverter: no, it's not anymore.
6 years ago
Vladimír Vondruš
51ae59ddc1
Primitives: use non-fuzzy duplicate removal in icosphere.
...
Now that it actually works properly, it ... works properly.
6 years ago
Vladimír Vondruš
a91aa47a02
sceneconverter: add --remove-duplicates-fuzzy.
6 years ago
Vladimír Vondruš
145e055b41
MeshTools: implement removeDuplicatesFuzzy() for MeshData.
6 years ago
Vladimír Vondruš
ab7c1b14d4
MeshTools: save memory and speed up removeDuplicates() by storing size once.
...
I also tried storing only a 32-bit index and have the base pointer stored
in ArrayEqual/ArrayHash also, but that didn't really improve amything
much (probably because the allocated items are 8-byte aligned anyway) and
only made the code a lot less clear.
6 years ago
Vladimír Vondruš
a362657dc6
MeshTools: fix removeDuplicates() to not mutate map keys.
...
Now it works reliably. It's (again) slower than the previous variant,
I'll try some ideas next.
6 years ago
Vladimír Vondruš
d06b789673
MeshTools: put subdivide / removeDuplicates benchamrks into their tests.
...
One less executable to build, and we need to test more variants. The
original measured thing ("when to remove duplicates") is no longer really
relevant.
Interestingly enough the fuzzy variant isn't that much slower.
6 years ago
Vladimír Vondruš
fcd329ba55
MeshTools: add a soak test for removeDuplicates[Fuzzy]InPlace().
...
Something fishy going on in there, caused by the algorithm overwriting
the key values (and the map relying on them being immutable).
Interestingly enough the fuzzy variants works on GCC's libstdc++ even
though the key data get changed every entry, fails only on libc++.
6 years ago
Vladimír Vondruš
31960290d5
MeshTools: add a comment to the test.
...
So I don't spend ages searching for where the heck are the other
overloads tested, if at all.
6 years ago
Vladimír Vondruš
d846944b7a
MeshTools: de-template removeDuplicatesFuzzy().
...
Basically using the same idea as with the discrete version -- having the
second dimension dynamic, together with restricting the implementation to
just Float and Double.
According to the SubdivideRemoveDuplicatesBenchmark, this makes the
implementation slightly slower. I presume this is due to how minmax and
offsets are calculated which is quite cache-inefficient as it goes over
the same memory block multiple times. Added a TODO for later.
6 years ago
Vladimír Vondruš
5e7f562dda
MeshTools: use floats for removeDuplicatesFuzzy() tests.
...
Because it makes no sense to use ints for this, and I'll be removing the
template to make it work only on floating-point types anyway.
6 years ago
Vladimír Vondruš
1cc2564c53
MeshTools: properly reduce unique prefix in the last iteration.
...
The test passes now.
6 years ago
Vladimír Vondruš
7a72cb06e4
MeshTools: test reducing of last dimension in removeDuplicatesFuzzy().
...
I spotted a potential bug -- and it clearly *is* a bug. The test doesn't
reduce the data size in the last dimension, leaving a duplicate (and
unused) item at the end.
6 years ago