Vladimír Vondruš
90f614aa84
package/ci: unify comments.
4 years ago
Vladimír Vondruš
9e56e6e5f4
package/ci: no reason to not use GCC 4.8 also for Vulkan.
...
There isn't any STL used on the interface to libulkan.so, so the ABI
mismatch shouldn't be a problem.
4 years ago
Vladimír Vondruš
33385a7670
package/ci: use Ubuntu 18.04 on CircleCI.
4 years ago
Vladimír Vondruš
1fe29a8333
DebugTools: fix WebGL 2 build on Emscripten < 2.0.17.
...
Eheh. But given that nobody complained for so long, it means nobody uses
those ancient versions anymore. Or nobody uses DebugTools, that's more
like it.
4 years ago
Vladimír Vondruš
07c88b6fb2
doc: upgrade DdsImporter to a "no caveats" state.
...
Yey!
4 years ago
Vladimír Vondruš
8d770524e1
imageconverter: show total data size in --info.
...
Counterpart to d07b6a2bb4 , which did this
for sceneconverter (I should really do changes in both at the same
time). Additionally, it's not saying "uncompressed" for images anymore,
since it's more confusing than just saying nothing, especially when
block-compressed formats are involved.
4 years ago
Vladimír Vondruš
4a54de117d
doc: updated changelog.
4 years ago
Vladimír Vondruš
cdfe668d58
AnyImageImporter: recognize ASTC files and data.
4 years ago
Vladimír Vondruš
a63e175687
doc: link to plugin behavior docs even if there are no caveats.
...
Just in case the File Formats table would get outdated. Or if people
would want to know what exactly the plugin does extra.
4 years ago
Vladimír Vondruš
4b6248cfb2
package/ci: retry Android tests 10x more after a two minute timeout.
...
Should finally get rid of random CI hangups. No, three time was NOT
enough, and some GL tests/benchmarks need more than 15 seconds.
4 years ago
Vladimír Vondruš
d087dbb349
package/ci: parametrize CMake download.
4 years ago
Vladimír Vondruš
602aac8036
AnyImageImporter: remove a TODO for KTX magic recognition.
...
It's now done in a few other places already, so no need to have it here
as well.
4 years ago
Vladimír Vondruš
c1d5454cf7
AnySceneImporter: use Compare::StringHasPrefix in a test.
4 years ago
Vladimír Vondruš
f024963ff9
{Obj,Tga}Importer: clean up now-unneeded StringStl.h includes.
4 years ago
Vladimír Vondruš
c9bc0d7777
doc: updated changelog.
4 years ago
Vladimír Vondruš
53a74b5e6c
gl-info: port away from std::string.
4 years ago
Vladimír Vondruš
70d286774f
Platform: use StringView in *Application::Text*Event.
...
Which allows to get rid of a now-unneeded ArrayView include in the
header. Also, now that we're returning a StringView, it's useful to
have the view always null-terminated. In SDL2 and Emscripten it was
already like that, GLFW needed a minor change.
4 years ago
Vladimír Vondruš
59989fa3ea
Platform: port *XApplication away from std::string.
4 years ago
Vladimír Vondruš
ca1cbe2950
Platform: port Sdl2Application away from std::string.
...
Co-authored-by: Squareys <squareys@googlemail.com>
4 years ago
Vladimír Vondruš
c3024cbcc9
Platform: port EmscriptenApplication away from std::string.
...
Co-authored-by: Squareys <squareys@googlemail.com>
4 years ago
Vladimír Vondruš
b9459d3669
Platform: port GlfwApplication away from std::string.
...
Co-authored-by: Squareys <squareys@googlemail.com>
4 years ago
Vladimír Vondruš
a6da074ae0
doc: updated changelog.
4 years ago
Christophe Meyer
8a32694c5d
Reword a sentence in vulkan-wrapping.dox
...
I couldn't parse the original sentence 😉
Hopefully, that's what was meant.
4 years ago
Vladimír Vondruš
65e09afa75
package/ci: xcode 11.4 image on CircleCI is useless now.
...
Waiting for 2+ hours for a VM assignment and then failing on a timeout.
4 years ago
Vladimír Vondruš
7a382db5f6
DebugTools: thanks, Doxygen, for brightening up my MONDAY.
4 years ago
Vladimír Vondruš
f526e0418e
sceneconverter: store IDs of custom field names instead of raw values.
4 years ago
Vladimír Vondruš
a961f580e8
doc: updated changelog and credits.
4 years ago
Vladimír Vondruš
06dfb8e985
DebugTools: mention that buffer[Sub]Data() always uses a new allocation.
...
To avoid a false impression that the returned Array may contain a
mapped memory and thus needs special treatment.
4 years ago
Vladimír Vondruš
8d604a4803
package/ci: Emscripten 2.0.17 to 2.0.24 is utterly broken, skip.
...
UGH.
4 years ago
Pablo Escobar
4350f1358a
package/ci: Run emscripten-webgl2 on Emscripten 2.0.17
...
Required for Buffer::data()/subData() used by GLES3 tests. Otherwise
all the tests would have to check the Emscripten version and skip if
it's too old.
4 years ago
Pablo Escobar
342a8a9235
DebugTools: test size 0 in buffer[Sub]Data()
4 years ago
Pablo Escobar
1ac982f258
DebugTools: make bufferData()/bufferSubData() available on WebGL 2.0
...
Co-authored-by: Vladimír Vondruš <mosra@centrum.cz>
4 years ago
Pablo Escobar
588f62d2a0
DebugTools: make bufferData()/bufferSubData() default to Buffer::subData()
...
This avoids requiring any Desktop GL extensions and allows forwarding to
Buffer::subData() also on WebGL 2.0 (in a follow-up commit)
4 years ago
Pablo Escobar
3ab4c74a66
GL: expose Buffer::data()/subData() on WebGL 2.0
...
Since glGetBufferSubData() is only exposed on Emscripten 2.0.17 and up,
both functions are not available on older versions. This is to avoid any
accidental foot guns since it explodes at compile time. The webgl2 CI
will be upgraded to 2.0.17 in a later commit.
4 years ago
Vladimír Vondruš
500e41e4a8
DebugTools: adapt tests to buffer[Sub]Data() deprecation.
4 years ago
Vladimír Vondruš
0113b34852
DebugTools: deprecate templated bufferData().
...
As was done with GL::Buffer::data() back in 2017 -- the size parameter
is way too error prone this way (is it bytes? or multiples of
sizeof(T)?), plus arrayCast() contains a few extra checks that would
have to be replicated here to have the same level of robustness, etc.,
etc.
4 years ago
Vladimír Vondruš
fabfdba0fb
DebugTools: buffer[Sub]Data() relies on ARB_map_buffer_range.
...
Not sure why this wasn't documented.
4 years ago
Vladimír Vondruš
d90c512cc2
SceneTools: use the fancier member-function-slicing APIs.
...
Too verbose otherwise. And I might not be hitting that GCC 4.8 wart this
way anymore.
4 years ago
Vladimír Vondruš
41d9616c18
SceneTools: no need to preserve this expressions on a no-assert build.
...
Autocomplete hiccup? Or did I originally increment inside that
assert expression??
4 years ago
Vladimír Vondruš
6b18a5e11f
TODOs for the stupid annoying Emscripten -s<SPACE>WHATEVER flags.
4 years ago
Vladimír Vondruš
a1bd845c34
Doc++
4 years ago
Vladimír Vondruš
d07b6a2bb4
sceneconverter: show also total data size in --info.
...
For animations, scenes, meshes and images, where the memory impact is
measurable. For others such as materials or cameras the memory impact is
either unclear (depending on the final representation) or so small it's
not important.
4 years ago
Vladimír Vondruš
e0909fedfe
Math: add castInto() variants for Double<->integer.
...
Because yes of course dealing with a JSON just isn't possible
without having to make decisions between insufficiently imprecise
integers and unnecessarly overprecise doubles.
4 years ago
Vladimír Vondruš
f9ce0476b7
Math: fixed incorrectly copypasted docs in castInto().
4 years ago
Vladimír Vondruš
96360aff25
SceneTools: mark everything here as experiental.
...
To make people not rely too much on anything here -- I smell some API
changes incoming.
4 years ago
Vladimír Vondruš
f049ba9012
Fix a non-deprecated build on MSVC, again.
...
I attempted in 54394e2c2f and in
54394e2c2f , but still not enough.
Hopefully now?
4 years ago
Vladimír Vondruš
5f5cfb1094
doc: updated credits and changelog.
4 years ago
Christophe Meyer
35b376e619
Fix tiny english issue in features.dox
...
from most part --> for the most part
4 years ago
Vladimír Vondruš
0508e29320
doc: updated credits & changelog.
4 years ago
Vladimír Vondruš
2ee6054f69
doc: adapt to the fact there's a real GltfImporter now.
...
I.e., with the intention to be implemented in the best way possible,
without relying on some 3rd party library with murky corner cases and
questionable tradeoffs.
4 years ago