Vladimír Vondruš
1f9fc43c92
Text: avoid assertion failure on ES2 with EXT_texture_rg.
...
Affects iOS, among others.
8 years ago
Vladimír Vondruš
994b9b22ba
CMake: properly specify IDE folders for everything.
8 years ago
Vladimír Vondruš
fe2020bc62
CMake: provide correct alias targets for Any* plugins.
...
Forgotten in 8a2815ade5 when moving these
out of the plugins directory.
8 years ago
Vladimír Vondruš
35cf428974
doc: bundling with CMake for macOS/iOS, HiDPI info.
8 years ago
Vladimír Vondruš
b0186c3022
MeshTools: explicitly set buffer target hints in compile().
...
These were the defaults anyway, but it's good to be explicit.
8 years ago
Vladimír Vondruš
3f96639dae
GL: properly preserve Buffer target hint in Mesh::setIndexBuffer().
8 years ago
Vladimír Vondruš
fa89b4e8d5
modules: provide also include install dir for external headers.
8 years ago
Vladimír Vondruš
06073b65f5
doc: even more iOS docs.
8 years ago
Vladimír Vondruš
dbd55d5909
doc: some more iOS info.
8 years ago
Vladimír Vondruš
2e4beb361c
TextureTools: don't require more than 8 texture units in distanceField().
...
ES2 contexts on iOS don't have more than that. It's weird, because ES3
contexts have 16.
8 years ago
Vladimír Vondruš
4edb080239
SceneGraph: prefix private variable with an underscore.
8 years ago
Vladimír Vondruš
da7d443b67
Math: added lerp(T, T, bool).
...
Last missing piece for fully orthogonal functionality. There was a
lerp(T, T, BoolVector) before, but not a scalar version. This also makes
scalar interpolation phase in select() working with arbitrary types.
8 years ago
Vladimír Vondruš
b024d69a44
Math: properly forward-declare BoolVector.
8 years ago
Vladimír Vondruš
1821482881
Trade: doc++
8 years ago
Vladimír Vondruš
2502df3513
Trade: removed unreachable code.
8 years ago
Vladimír Vondruš
792c31f4d0
Trade: exclude deprecated alias from code coverage.
8 years ago
Vladimír Vondruš
f9267735ae
Trade: exhaustive test for AbstractImporter.
...
Also fixed typos and copypaste errors in assertion messages; added
assertions to functions that should never get called.
8 years ago
Vladimír Vondruš
365f501f72
Trade: debug output for AbstractImporter::Feature and Features.
8 years ago
Vladimír Vondruš
25a75800ef
Trade: doc++
8 years ago
Vladimír Vondruš
70e58bd990
Trade: test that importerState is saved in material and object data.
8 years ago
Vladimír Vondruš
c20d50bf5f
Trade: test that PhongMaterialData acessors fail where they should.
8 years ago
Vladimír Vondruš
5f9a33f164
ObjImporter: ugh, exceptions.
...
Ugh, caught by value. Reported by latest GCC.
8 years ago
Vladimír Vondruš
10b4c069eb
Trade: support separate translation/rotation/scaling in ObjectData.
...
Doesn't make any backwards-incompatible change -- plugins can still
export the transformation as matrix and users can still access the
combined one even if separate transformations are used. Yay!
8 years ago
Vladimír Vondruš
7cad71cf64
Doc++
8 years ago
Vladimír Vondruš
e830892057
CMake: embarrassing typo prevented ObjImporter from working in subprojects.
...
I am on a roll today!
8 years ago
Vladimír Vondruš
38eb725143
doc: updated changelog.
8 years ago
Vladimír Vondruš
cc51bff893
Math: make lerp() take any type.
...
Needed in order to easily pass interpolators to the Animation library.
8 years ago
Vladimír Vondruš
002d2260fd
Math: added select().
...
For animations I need a constant interpolator with the same API as
lerp() and friends.
8 years ago
Vladimír Vondruš
6e74966d94
Math: doc++
...
Make the whole vector bold, including the subscript.
8 years ago
Vladimír Vondruš
507761cb8e
doc: stupid me.
8 years ago
Vladimír Vondruš
d08b064b5b
Math: doc++
8 years ago
Vladimír Vondruš
24b91e40c2
Platform: ability to specify color/depth/stencil buffer sizes.
8 years ago
Vladimír Vondruš
5589353b9a
Platform: doc++
8 years ago
Vladimír Vondruš
b48b0c1296
Platform: properly redraw GlfwApplication restored from minimize.
...
Lots of things unfinished here.
8 years ago
Vladimír Vondruš
1b5e6812fb
Platform: setup GlfwApplication callbacks in a central place.
...
Removes all needless private static class members and fixes a bug
introduced when getting rid of the global window pointer -- the user
window pointer was set only in the case of having a GL context, not in
the contextless case. Boom. (This bug happened after 2018.04, so I'm not
putting that in the changelog.)
8 years ago
Vladimír Vondruš
4498fd0a15
doc: more keywords for easier search.
8 years ago
Vladimír Vondruš
80e682d046
Platform: implemented GlfwApplication::MouseMoveEvent::buttons().
...
Improves feature parity with Sdl2Application.
8 years ago
Vladimír Vondruš
57868e57c4
Platform: mark all GlfwApplication event constructors explicit.
8 years ago
Vladimír Vondruš
84ab1d7dad
Platform: lazy-load modifiers in GlfwApplication mouse move/scroll event.
...
No need to fetch them every time. Doing it similarly to Sdl2Application.
8 years ago
Vladimír Vondruš
36461ce7ea
GL: clean up rendundant ifdefs.
8 years ago
Vladimír Vondruš
b4c52b096d
GL: don't try to test mesh labels if VAOs are disabled.
8 years ago
Vladimír Vondruš
403d9301a6
package/archlinux: go through most code paths in coverage PKGBUILD.
8 years ago
Vladimír Vondruš
90c54a489b
GL: don't create (and leak) VAOs when VAOs are disabled.
...
Ugh. Discovered by looking at a code coverage report and seeing the
non-VAO creation function never used.
8 years ago
Vladimír Vondruš
6465fa14c9
GL: fix undefined behavior and potential leaks in Mesh.
...
The change done in 680144f1c5 was not
properly handling these cases:
* Mesh(NoCreateT) and wrap() were not constructing the internal vector,
which blew up when move-assigning another instance.
* ~Mesh() was not destructing the internal vector if the VAO ID was
zero or non-owning wrap() was used.
Strangely enough none of these were causing *any* problems for me on
Linux (even ASan was totally quiet and due to the unfortunate
combination of bugs even when I assigned totally random data to the
storage vector). This however blew up on MSVC, assuming there the
implementation is more checked.
Because it's possible to construct Mesh with no GL context available,
the move construction and destruction needs to avoid accessing Context
unless really necessary (it would be also unclear which type of vector
should be constructed if we have no context).
Extended the tests to handle hopefully all the cases.
8 years ago
Vladimír Vondruš
d0004865e5
modules: properly handle GLVND also in case of context libraries.
8 years ago
Vladimír Vondruš
ff7b9eadcb
modules: doc++
8 years ago
Vladimír Vondruš
816891ec2e
doc: keywords to make important pages more accessible.
8 years ago
Vladimír Vondruš
3a0d6ee57a
Hide m.css-specific variables from Doxygen.
8 years ago
Vladimír Vondruš
3dc5957142
package/ci: adapt to FindSDL2 updates on WinRT.
8 years ago
Vladimír Vondruš
c2e47ed10c
modules: doc++
8 years ago