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
Vladimír Vondruš
1965dffbbd
Text: prefix private member variables with underscore.
...
Fixes MSVC 2015 shadowing warning.
11 years ago
Vladimír Vondruš
1ad5f330b0
MeshTools: silence conversion warning on MSVC.
11 years ago
Vladimír Vondruš
127f34b657
Math: fix typedef shadowing.
11 years ago
Vladimír Vondruš
5391ab247e
Math/Algorithms: fix variable shadowing.
11 years ago
Vladimír Vondruš
8b6ff33476
DebugTools: prefix private member variables with underscore.
...
Fixes MSVC 2015 variable shadowing warnings. Fortunately no bug caused
by these.
11 years ago
Squareys
2e778f235b
package/ci: Write alsoft.ini
...
Configuration for OpenAL, which requires a null device to be used for
tests.
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
2275544fa9
Audio: Expand Source test and fix bugs revealed in the process
...
Only minor copy past bugs introduced when implementing the getters.
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
c68e77e247
Audio: Add debug operator for Audio::Renderer::DistanceModel
...
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
65c6eb78e3
Audio: Expand RendererTest
...
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
badbc41b4e
Audio: Implement missing getters for Audio::Renderer
...
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
111f566f2f
Audio: Add remaining getters to Source
...
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Vladimír Vondruš
03c8272aea
doc: updated MinGW-w64 building documentation.
11 years ago
Vladimír Vondruš
d7a922bfb5
Remove old std::u32string-related MinGW workarounds.
11 years ago
Vladimír Vondruš
e2c1ca1487
Remove old std::to_string()-related MinGW workarounds.
11 years ago
Vladimír Vondruš
d971d388c2
MagnumFont: at least some test for glyph cache creation.
...
Had to create some non-zero-size TGA file for it to pass.
11 years ago
Vladimír Vondruš
0df7b1b40d
Avoid ambiguous overloads when passing Containers::Array to BufferImage.
11 years ago
Vladimír Vondruš
b3f20e41fd
Passing nullptr data to BufferImage would assert anyway.
...
I can't think of any valid use case, so no problem when these are
producing deprecated warnings.
11 years ago
Vladimír Vondruš
0c086b631b
Fix OpenGL object label queries.
...
Passing 0 as bufSize to glGetObjectLabel() is not allowed by the spec
even when just querying the size, thus passing the maximum. Might
hopefully fix the label queries on AMD drivers.
11 years ago
Vladimír Vondruš
7230d47af8
magnum-distancefieldconverter: use AnyImageConverter by default.
11 years ago
Vladimír Vondruš
7c231ca5a5
package/ci: no need to specify SDL2 library explicitly anymore.
11 years ago
Vladimír Vondruš
2521c3d5d7
modules: support Windows release package by default.
11 years ago
Vladimír Vondruš
326d1d6a98
modules: FindSDL2.cmake cleanup.
11 years ago