Vladimír Vondruš
a58cbd8153
Avoid creating tag types more than once.
11 years ago
Vladimír Vondruš
cd740671a6
Don't use raw GL calls (that are even deprecated) in tests.
...
Fixes ContextGLTest on Mesa.
11 years ago
Vladimír Vondruš
d7d4bfccaf
doc: updated Debian building docs.
11 years ago
Vladimír Vondruš
45135ece7b
package: proper Debian build dependencies.
...
Otherwise dpkg-buildpackage fails during CMake step, which is wrong.
11 years ago
Vladimír Vondruš
72705691ce
Added Debian packaging temporaries to .gitignore.
11 years ago
Vladimír Vondruš
3c6598df11
Ignore only root build folders.
11 years ago
Vladimír Vondruš
b3e4314c49
Updated CREDITS.md.
11 years ago
Vladimír Vondruš
2dfa2815ae
Platform: documentation formatting fixes.
11 years ago
Squareys
70e4d411f5
Audio: Remove hrtfs() test case from ContextTest.
...
This test is entirely dependent on user settings and would fail if hrtfs
were disabled on the testing machines OpenAL installation.
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
96c5a9a0f5
Audio: Add hrtfSpecifier() to Context for querying HRTF name.
...
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
9d53f7cb2b
Audio: Fix hrtfStatus() and isHrtfEnabled() and move them to Context.
...
Since `ALC_HRTF_SOFT` is a ALC extension, we need to use `alcGetIntegerv()`
instead of `alGetIntegerv()` which requires access to the OpenAL device
stored in `Audio::Context` and therefore the aforementioned methods have
been moved there.
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Vladimír Vondruš
2d44f46f14
Math: fix compiler warning.
11 years ago
Vladimír Vondruš
d483a549b4
Audio: don't export internal function.
11 years ago
Vladimír Vondruš
a4d3beb0c3
Advertise Windows Phone and Store support.
11 years ago
Vladimír Vondruš
fd624d605e
Audio: try to fix AppVeyor build.
...
I tried to "optimize" and broke it.
11 years ago
Vladimír Vondruš
8cfbfd3b3a
doc: document building for Windows RT.
11 years ago
Vladimír Vondruš
360068475a
Platform: Windows RT support for Sdl2Application.
...
That was actually very easy and clean.
11 years ago
Vladimír Vondruš
df4e032e83
Platform: Sdl2Application documentation cleanup.
11 years ago
Vladimír Vondruš
71bb259e13
doc: link to relevant information from building page.
11 years ago
Vladimír Vondruš
41fe0254d9
Force TARGET_GLES on Windows RT.
11 years ago
Squareys
c8338bf158
package/ci: Update openal-soft download link.
...
The old download link has been removed and a new version of openal-soft
was released.
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Vladimír Vondruš
bec686cec4
package: update dependencies of Debian package.
11 years ago
Vladimír Vondruš
247d8dba6f
Math: added lerp(T, T, BoolVector).
...
In GLSL this is called mix() and I thought this is there for a long
time, but apparently it got included only in GL 4.5 / ES 3.1.
11 years ago
Vladimír Vondruš
7fb0efcea7
Make Corrade::Utility::Fatal available in Magnum namespace.
11 years ago
Vladimír Vondruš
e6567af364
Math: don't depend on char signedness in test.
...
Hopefully that was only in the test.
11 years ago
Vladimír Vondruš
7bb8bb271b
Math: test Quaternion SLERP division by zero with non-trivial data.
...
So that we test it returns the first argument and not
default-constructed value or something. Also updated the documentation.
11 years ago
Squareys
998f63bcb2
Math: Fix slerp interpolation of equal quaternions and add test.
...
If and only if the quaternions to interpolate are equal, the angle between
them is 0.0 and we therefore cannot safely divide by the sin of that angle.
Credits to @wivlaro for finding this one.
Fixes #117 .
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Vladimír Vondruš
ef7b456d17
Audio: don't assume anything about OpenAL enum sizes.
11 years ago
Vladimír Vondruš
40bd7adda8
Audio: added OpenAL Doxygen page.
...
Now the \requires_al_extension command works.
11 years ago
Vladimír Vondruš
00cc967739
Audio: make the frequency setting optional too.
11 years ago
Vladimír Vondruš
cf24013769
Audio: cleanup Context::Configuration member naming and documentation.
11 years ago
Vladimír Vondruš
443d6aaae2
Audio: rename Buffer::Format enum values for consistency.
...
It is unlikely that this will change any time soon, so just use Float
and Double instead of Float32 and Double.
11 years ago
Vladimír Vondruš
09e1eca432
Audio: add missing enum values to debug operator.
11 years ago
Vladimír Vondruš
5d1a26ec65
Audio: random cleanups.
...
Polished some minor stuff in the code, reordered Renderer getter-only
functions to be at the top, fixed \al_extension and \alc_extension
Doxygen commands to link to proper place and some other minor
Doxygen-related stuff.
11 years ago
Squareys
9587b31430
Doc: `ResourceManager::instance()` returns reference, not pointer.
...
Maybe a remnant of old API.
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
e8a75f270f
Audio: Add tests for hrtf methods in Renderer and the HrtfStatus enum.
...
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
12c795b95e
Audio: Improve support for ALC_HRTF_SOFT(X).
...
Add `HrtfStatus` and queries in `Audio::Renderer`, `ALC::SOFT::HRTF` and
`@requires_alc_extension` notes for relevant methods in `Configuration`.
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
488e8ab20c
MagnumExternal: Add ALC_SOFTX_HRTF defines and ALC_SOFT_HRTF procedures.
...
`ALC_SOFTX_HRTF` is the "in dev" hrtf extension present in OpenAL Soft
version 1.16.0, whereas `ALC_SOFT_HRTF` is the finished version of the Hrtf
extension, probably released with OpenAL Soft version 1.17.0.
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
f12f2624b2
Doc: Add fn_alc and def_alc aliases.
...
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
5acdbc9ba3
Doc: Add chapter for OpenAL Extension support.
...
Left todo: once there is a common OpenAL extension registry again,
use that for the al_extension and alc_extension aliases/expansions.
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
cf6ca0bf29
Doc: Add al_extension alias.
...
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
c4af4da397
Audio: Implement support for AL_EXT_double.
...
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
0c0c3dd70d
Audio: Implement support for AL_EXT_float32.
...
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
04077dcf6b
Audio: Make sure AL and ALC extensions are both detected.
...
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
2d3ef77ef5
Audio: Add Test for Context.
...
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
9f409713cc
Audio: Add ALC_ENUMERATION_EXT to extensions for testing
...
Is supported in all devices supporting OpenAL 1.1 and is therefore only
useful for testing purposes.
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
4f5551dbec
Audio: Initial Support for OpenAL Extensions (and ALC_SOFTX_HRTF)
...
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
7421bf045d
Audio: Add Extensions.h
...
Analog to Magnum::Extensions, but without Version, since OpenAL has only
one Version which is in use (OpenAL 1.1).
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
5536289890
MagnumExternal: Add OpenAL/extensions.h.
...
Custom header for implemented OpenAL extensions defines.
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
8b911c4ee3
Audio: Print additional info on Context creation
...
Analog to `Magnum::Context`.
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago