Vladimír Vondruš
8f35ebaedf
Platform: actually create the fallback context in Sdl2Application.
...
Apparently this was broken ever since. Heh.
11 years ago
Vladimír Vondruš
d4ee9b7184
Revert "Platform: really properly fix context creation in Sdl2Application."
...
Apparently, on NVidia, this forces the driver to version 3.1. AARGH.
This reverts commit a7661d7076 .
11 years ago
Vladimír Vondruš
83fb312cfb
Platform: try to request core profile also in WindowlessGlxApplication.
11 years ago
Vladimír Vondruš
4adcc5b3a9
Platform: remove obsolete comment.
11 years ago
Vladimír Vondruš
a7661d7076
Platform: really properly fix context creation in Sdl2Application.
11 years ago
Squareys
03106cf5cb
Audio: Remove getter/setter cross references
...
Should be obvious and are positioned above each other, so getting to the
getter from the setter vice versa should be easy.
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
2d6f6af974
Audio: Add Listener feature and test
...
Listener manages position, orientation and gain of the OpenAL listener and
provides a method to update mutliple PlayableGroups efficiently aswell
as making sure there is at most one active Listener used at any given time
(since OpenAL only supports the notion of exactly one listener).
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
ef777c8078
Audio: Add Playable feature, PlayableGroup and test
...
Playable manages the position, orientation and gain of an
`Magnum::Audio::Source`. PlayableGroup is its corresponding FeatureGroup,
which enables playing/pausing/stopping multiple sounds sources, aswell as
setting a common gain and sound transformation for them.
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Vladimír Vondruš
670c9d0763
Adapted to Corrade::Utility::Debug changes.
11 years ago
Vladimír Vondruš
0aa16595eb
Use new-style debug operators everywhere.
11 years ago
Vladimír Vondruš
2ec073ad37
Superfluous comma.
11 years ago
Vladimír Vondruš
9ef89cfdf4
doc: mention Travis CI in building documentation.
11 years ago
Vladimír Vondruš
e9c4fc3f0f
modules: updated FindCorrade.cmake from Corrade repository.
11 years ago
Vladimír Vondruš
6e98f5145c
Advertise ANGLE support.
11 years ago
Vladimír Vondruš
cf1a5b219d
doc: documented building for ANGLE.
11 years ago
Vladimír Vondruš
6fe4485c3e
doc: various updates of building documentation.
11 years ago
Vladimír Vondruš
b4aa394681
Platform: make it possible to use Sdl2Application with EGL on Windows.
11 years ago
Vladimír Vondruš
eb590c7f47
Make it possible to run GL tests on Windows/EGL.
11 years ago
Vladimír Vondruš
8f9bda9817
Disable other utilities on Windows/GLES.
...
They require texture image queries which aren't available there.
11 years ago
Vladimír Vondruš
ad342ab18f
Platform: build magnum-info on Windows/EGL too.
11 years ago
Vladimír Vondruš
500b18f657
Platform: added WindowlessWindowsEglApplication.
...
Windowless application on Windows, OpenGL ES and EGL. Works with ANGLE.
11 years ago
Vladimír Vondruš
70c0ca7c66
Fix constexpr mismatch on MSVC 2015 and GLES.
11 years ago
Vladimír Vondruš
e7e8b75d06
Platform: properly find and use EGL when needed.
...
Otherwise I was using some ghost remains from elsewhere.
11 years ago
Vladimír Vondruš
222947ae2c
Avoid including unsupported headers on ES2.
11 years ago
Vladimír Vondruš
5922c859a2
Don't compile desktop-only stuff on ES.
11 years ago
Vladimír Vondruš
ebd8794ce6
Don't include ES3/desktop-only header on ES2.
11 years ago
Vladimír Vondruš
3d7953f2e9
Test Version debug output.
...
Somehow it wasn't anywhere. Heh?
11 years ago
Vladimír Vondruš
177aa7b7d9
modules: support ANGLE in FindOpenGLES2/3 and FindEGL CMake modules.
...
It has lib prefix even on Windows, making it unfindable for CMake.
11 years ago
Vladimír Vondruš
8d5cccf285
Use BPTC instead of S3TC in 3D compressed texture test.
...
Mesa properly complained that S3TC isn't supported on 3D textures using
GL error (good), while AMD and NV had both their own unique data
corruption/random shuffling (bad!).
BPTC is available only on desktop, will have to wait until ASTC HDR is
more widely available.
11 years ago
Vladimír Vondruš
0d2ee71f64
S3TC really is *not* supported on 3D textures.
11 years ago
Vladimír Vondruš
8ebbd5be45
Use Texture2DArray instead of Texture3D for compressed pixel storage test.
...
Mesa drivers (rightfuly) complained that S3TC is not supported on 3D
textures, the packing had weird behavior on NVidia but it passed w/o
problems on AMD. Now should be okay on all three, yay!
11 years ago
Vladimír Vondruš
eb00614ece
Fix compilation of transform feedback test shaders on Mesa.
...
Apparently they need to write something to gl_Position.
11 years ago
Vladimír Vondruš
c2ceda73d1
Fix compilation of MeshGLTest shader.
...
Precision qualifiers are not available in GLSL 1.20 and non-NVidia cards
are complaining.
11 years ago
Vladimír Vondruš
bbeed0ad83
Use CUBE_MAP_POSITIIVE_X instead of CUBE_MAP in glGetTexLevelParameter.
...
Pre-DSA code path needs to pass specific slice of a cube map to all
getters instead of just GL_TEXTURE_CUBE_MAP. I did that properly for
image size query, which weirdly enough, had its own implementation, but
forgot to do that in compressed image getters and, because I have DSA
drivers, never tested that on pre-DSA contexts.
Using single implementation of image size with explicit target
parameter now.
11 years ago
Vladimír Vondruš
420b3435f2
Use glGetStringi() on Emscripten/WebGL 2.
...
Available in recent versions.
11 years ago
Vladimír Vondruš
285ee48807
modules: fix finding of SDL2 on OSX.
...
See the file comment for details.
11 years ago
Vladimír Vondruš
d345d0a22b
package/ci: reorganize appveyor.yml.
11 years ago
Vladimír Vondruš
39ec4900eb
Various cleanup.
11 years ago
Vladimír Vondruš
0990f6ae46
package/ci: the AppVeyor workaround is not needed anymore.
11 years ago
Vladimír Vondruš
539e24787c
Travis CI badge in README.
11 years ago
Vladimír Vondruš
54e5d30806
package/ci: okay, CMD.exe is *fun*.
11 years ago
Vladimír Vondruš
8bdaab7a0e
package/ci: temporary workaround to unbreak AppVeyor CI build.
...
As suggested on https://github.com/appveyor/ci/issues/414 . To be clear,
it's SDK fault, not AppVeyor one.
11 years ago
Vladimír Vondruš
670ccb97f7
package/ci: initial Travis CI configuration.
...
Oh, I so *love* installing COMMON packages from scratch, yay!
11 years ago
Vladimír Vondruš
597f37c177
GCC 4.7 compatibility: some {}-related issues.
...
Travis build is broken, but worked for me locally. Weird.
11 years ago
Vladimír Vondruš
ab2a5c8a28
Fix compilation on Clang.
...
Apparently I can't call conversion operator using {}.
11 years ago
Vladimír Vondruš
da2ac00478
Shaders: ability to do alpha-masking with Phong.
...
All Color3 parameters are now Color4, but the API should be backwards
compatible as Color4 is implicitly convertible from Color3.
11 years ago
Vladimír Vondruš
2ad49aa351
Support for KHR_blend_equation_advanced{,_coherent}.
11 years ago
Vladimír Vondruš
f41321f930
MSVC 2015 compatibility: yet another {}-related bug.
...
Why am I intentionally doing this to myself?
11 years ago
Vladimír Vondruš
f2e20ba5c0
Math: default alpha parameter also for Color4::fromHSV().
...
Not sure why this was omitted.
11 years ago
Vladimír Vondruš
45e6985f25
SceneGraph: fix MSVC 2015 shadowing warnings.
11 years ago