Vladimír Vondruš
69dfc39f30
Math: don't compare const char* as pointers in test by accident.
10 years ago
Vladimír Vondruš
210949f2dd
Math: long double is the same as double also on Android.
10 years ago
Vladimír Vondruš
c47f8e04e3
Math: test for size of long double.
...
In order to have predictable results in the tests.
10 years ago
Vladimír Vondruš
60b56b0999
Math: no need for that GCC type deduction workaround anymore.
10 years ago
Vladimír Vondruš
081f79a766
Bundle test files for both Android and Emscripten.
10 years ago
Vladimír Vondruš
261c573557
Platform: build Android glue C source separately.
...
So I don't include the pedantic flags for it and don't treat it as C++
source.
10 years ago
Vladimír Vondruš
d1ce761cce
Trade: conditionally disable noexcept for GCC 4.9.0 in Android NDK.
...
It complains about singatures not matching the implicit and thus not
being defaultable. Works everywhere else, even on GCC 4.7 and 5.0, so I
don't bother.
10 years ago
Vladimír Vondruš
a2c8435ede
Use new TestSuite numeric comparators where appropriate.
10 years ago
Vladimír Vondruš
cf185b00fa
Math: add explicit boolean conversion to BoolVector.
10 years ago
Vladimír Vondruš
90b005cfa3
Doc++
...
I have no idea what I was doing here. Insufficient focus again.
10 years ago
Vladimír Vondruš
5c7b1a0eb2
Math: simplify Matrix4::lookAt().
10 years ago
Vladimír Vondruš
6422a27b46
Math: improve Matrix4::lookAt() test.
...
It now verifies all assumptions about how the resulting matrix should
look like.
10 years ago
Vladimír Vondruš
56e75295be
Math: mention more useful dot product and determinant properties.
10 years ago
Vladimír Vondruš
832289f7c3
SceneGraph: ability to access parent from AbstractObject.
...
Didn't do any tests because there's nothing for AbstractObject anyway
(it's on my TODO list, though).
10 years ago
Vladimír Vondruš
8b06913534
CMake: make the plugin directories used in utilities more configurable.
...
In particular it is now possible to override the MAGNUM_PLUGINS_DIR
variables and even specify them relative, which will make them relative
to executable location.
It's nice when everything clicks together :)
10 years ago
Vladimír Vondruš
ddf6cd27f0
CMake: install plugin binary / library to different places.
...
In order to have it correct on Windows where DLLs should be next to
executables.
10 years ago
Vladimír Vondruš
e9a2623e02
Math: expect NoInit test failures on GCC 6.1+ with optimizations enabled.
...
It's nothing harmful, just inefficient.
10 years ago
Vladimír Vondruš
71f57b5378
Shaders: fixed default Phong light color in ES builds.
...
The cause was careless coding in
da2ac00478 . I desperately need those
shader output tests :/
10 years ago
Vladimír Vondruš
5ca4e2e517
Fix compilation on WebGL 2.
10 years ago
Vladimír Vondruš
a60dc74dac
Implemented Mesh::draw(..., TransformFeedback&).
...
Supports classic, instanced, stream and stream instanced draw. With this
I consider the transform feedback implementation complete.
10 years ago
Vladimír Vondruš
40205b47de
Explicitly mention extension requirements of Mesh[View]::draw().
...
They were mentioned in various setters, but never together in a single
place.
10 years ago
Vladimír Vondruš
bec5f5471d
Added missing getters to MeshView to match Mesh API.
10 years ago
Vladimír Vondruš
7b60cad9b0
Properly handle instance count in the fallback multi draw implementation.
10 years ago
Vladimír Vondruš
b6dbc8fc58
Check for mesh emptiness even before binding the shader.
...
Prevents unnecessary state touching.
10 years ago
Vladimír Vondruš
2519f9fc06
Test: don't have unnecessarily large buffer size for XFB.
...
Caused me a few minutes figuring out what's wrong and why my overflow
query doesn't work.
10 years ago
Vladimír Vondruš
9642869c59
Implemented ARB_transform_feedback_overflow_query.
10 years ago
Vladimír Vondruš
9373a2e01d
Support for AMD_transform_feedback3_lines_triangles.
...
Just adding the extension to the list, otherwise not much to do.
10 years ago
Vladimír Vondruš
f275143e9f
Support for indexed primitive queries.
...
Amazing how it all still fits my original design without needing to
rewrite half of the API.
10 years ago
Vladimír Vondruš
3568469430
Minor code reordering.
...
No functional change.
10 years ago
Vladimír Vondruš
9a7d3a1bec
Added TransformFeedback::maxVertexStreams() limit query.
10 years ago
Vladimír Vondruš
0749afa2eb
Improve query documentation, document type of all query targets.
10 years ago
Vladimír Vondruš
a4d67fcc29
PrimitiveQuery::Target::PrimitivesGenerated *is* available in GLES.
...
In AEP or in 3.2 (I suppose).
10 years ago
Vladimír Vondruš
a3bcae928b
Doc++
10 years ago
Vladimír Vondruš
0e2d28130c
New magnum-imageconverter utility.
...
Converts images of different formats.
10 years ago
Vladimír Vondruš
7dca1cdcbc
Synchronized windowless app dependencies of all utilities.
...
And document them properly.
10 years ago
Vladimír Vondruš
ae4c8f55b6
Avoid unwanted decay to deprecated functions in Image constructors.
...
Only possible to hit this in tests, otherwise I don't see much point in
creating a 0x0 image.
10 years ago
Vladimír Vondruš
f490176cae
Trade: added clever ImageConverter::exportTo*() ImageData overloads.
...
They call either the compressed or the uncompressed version based on
whether the image is compressed or not.
10 years ago
Vladimír Vondruš
7bd41d2b93
Implemented support for desktop GLES on Windows.
...
Because the library still links to the old crappy opengl32.dll, we need
to load all symbols above OpenGL 1.1, not just those that are above
OpenGL ES 2.0/3.0.
10 years ago
Vladimír Vondruš
d44d50293f
Platform: added missing define for desktop GLES on Windows.
10 years ago
Vladimír Vondruš
c93cc0ba08
Added nv-windows-dangling-transform-feedback-varying-names workaround.
...
On Windows NVidia drivers the glTransformFeedbackVaryings() does not
make a copy of its char* arguments so it fails at link time when the
original char arrays are not in scope anymore. Enabling *synchronous*
debug output circumvents this bug. Can be triggered by running
TransformFeedbackGLTest with GL_KHR_debug extension disabled.
10 years ago
Vladimír Vondruš
a2e3c3a3f4
Math: added Algorithms::gaussJordanInverted().
10 years ago
Vladimír Vondruš
3764f5b830
Math: don't zero-initialize output variables if not necessary.
...
Could possibly save some cycles.
10 years ago
Vladimír Vondruš
87074202c8
Math: support infinite far plane in Matrix::perspectiveProjection().
10 years ago
Vladimír Vondruš
9fdf467c59
Math: added *Matrix::setRow().
...
Row equivalent for the mutable operator[]().
10 years ago
Vladimír Vondruš
98735f50f4
Math: document the math behind 2D/3D matrix transformations.
10 years ago
Vladimír Vondruš
2e91bb4372
Math: work around MSVC constexpr issues yet again.
10 years ago
Alice
d3239b6be6
Audio: minor correction of documentation for ALAW and MULAW.
10 years ago
Vladimír Vondruš
b033af3b59
Math: ability to convert Color from/to external representation.
10 years ago
Vladimír Vondruš
238d2db591
Audio: implemented ALC_ENUMERATION_EXT.
10 years ago
Vladimír Vondruš
32b757f036
Audio: properly initialize HRTF member of Audio::Context::Configuration.
10 years ago