Vladimír Vondruš
f7f380064c
Link plugins to their dependencies on Windows.
...
Fixes linker issues, not present anywhere else.
13 years ago
Vladimír Vondruš
82ffeaae01
Link plugin dependencies to libraries, not test executables.
...
The test executables shouldn't need it at all.
13 years ago
Vladimír Vondruš
533be4db3d
MagnumFontConverter: the test needs OpenGL.
13 years ago
Vladimír Vondruš
d442cb964e
Explicitly specify library types for *TestLib targets.
...
Use static libraries for plugins which aren't used as dependencies (as
they don't export any symbols anyway), use shared libraries for plugins
used as dependencies (as they already export the symbols and static
libraries cause linker errors on mingw32).
13 years ago
Vladimír Vondruš
1e5f4d68de
Fixed visibility macros for plugins used as dependencies.
...
The symbols weren't exported on mingw32, causing linker errors.
13 years ago
Vladimír Vondruš
5e281db693
Yet another mingw32 linker fix.
13 years ago
Vladimír Vondruš
b003e53f00
Wrap CMAKE_SHARED_LIBRARY_CXX_FLAGS in quotes.
...
The variable is empty on some platforms (Windows), would cause issues.
13 years ago
Vladimír Vondruš
706560fb28
Mingw32's GCC 4.7 doesn't have std::to_string().
13 years ago
Vladimír Vondruš
0140aab5b1
Another mingw32 linker error fix.
...
This class is templated and thus doesn't export anything.
13 years ago
Vladimír Vondruš
56bb116305
Fix loud linker error on mingw32.
...
Mingw for some reasons instantiates depending template before dependent
one, causing the dependent one to be instantiated twice.
13 years ago
Vladimír Vondruš
b1766627a7
Treat MagnumMathObjects and MagnumObjects libs separately for exporting.
...
It's more intuitive and might be useful at some point.
13 years ago
Vladimír Vondruš
fc0bde4f47
Wrap CMAKE_SHARED_LIBRARY_CXX_FLAGS in quotes.
...
The variable is empty on some platforms (Windows), would cause issues.
13 years ago
Vladimír Vondruš
4d4d3c5a33
GCC 4.5 compatibility: no range-based for.
13 years ago
Vladimír Vondruš
f94a53fee0
Workaround Doxygen misparse.
...
Was displayed as EGL**.
13 years ago
Vladimír Vondruš
cfa3d35f11
Support for ARB_texture_mirror_clamp_to_edge.
...
This functionality was present in ATI_texture_mirror_once and
EXT_texture_mirror_clamp for ages, now (strict subset of) it is in core
OpenGL 4.4 too.
13 years ago
Vladimír Vondruš
6908738afb
Extended extension support bitset to handle MOAR of them.
...
160 should be enough for everyone ;-)
13 years ago
Vladimír Vondruš
b3e42f1ca4
Updated upstream OpenGL header for 4.4.
13 years ago
Vladimír Vondruš
9f61c08e97
Support for ARB_texture_stencil8.
13 years ago
Vladimír Vondruš
48260e2479
Assert instead of returning empty list in Context::supportedExtensions().
13 years ago
Vladimír Vondruš
99c72ed99b
Initial support for OpenGL 4.4.
13 years ago
Vladimír Vondruš
e72bf297ab
DebugTools: implemented ShapeRenderer for 3D sphere.
13 years ago
Vladimír Vondruš
d13388f7bc
Primitives: wireframe versions of Capsule, Cylinder and UVSphere.
...
Simplified representation of the shapes, i.e. an UVSphere is
visualized by three circles, one for each axis. Will be used mainly in
DebugTools.
13 years ago
Vladimír Vondruš
d67c0951f2
Primitives: no need to have this stuff public.
13 years ago
Vladimír Vondruš
115a0578e1
Primitives: fixed include guard.
13 years ago
Vladimír Vondruš
759a28ef45
Math: improved documentation for *::isNormalized().
13 years ago
Vladimír Vondruš
186c522fe5
Math: added lerpInverted().
13 years ago
Vladimír Vondruš
5787d66d45
Math: test also vector as interpolation phase in Math::lerp().
13 years ago
Vladimír Vondruš
1920e6383b
Merge branch 'master' into compatibility
...
Conflicts:
src/MagnumFont/MagnumFont.cpp
13 years ago
Vladimír Vondruš
4725aa6687
MagnumFont: store glyph advance with glyphs, not characters.
...
Allows to store glyph advance also for notfound glyph, which is exactly
what we want for unknown characters. Also added version information to
allow further extensions.
13 years ago
Vladimír Vondruš
6807cd2b39
Adapted to Magnum changes.
13 years ago
Vladimír Vondruš
e747c9b5b6
GCC 4.5 compatibility: ICE and miscompiled binary operators.
...
It seems that in this particular case `a &= b` is not doing the same as
`a = a & b`. In Release build the expression is miscompiled (it
always resets `a` to zero), in Debug build it triggers ICE:
Object.hpp:280:9: internal compiler error: in make_decl_rtl, at varasm.c:1318
Possibly related to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43880 .
Changed to `a = a & b` in all cases, now SceneGraphObject test passes
again. Outside of Object (e.g. in Corrade's EnumSet tests) this is not
reproducible, wtf.
Moreover, classic solution, `-fno-strict-aliasing` didn't help at all
here. Probably caused by some other optimization, IMHO.
13 years ago
Vladimír Vondruš
78b650400c
Merge branch 'master' into compatibility
13 years ago
Vladimír Vondruš
771968c69a
Shaders: forgot this.
...
Follow up to 2eb4e3c8ba . Damn.
13 years ago
Vladimír Vondruš
e35b82ba9b
Platform: forgot this.
...
Also the message in 883600e373 should say
"Make Configuration constructors _implicit_". Damn.
13 years ago
Vladimír Vondruš
d89e3a9a5a
GCC 4.5 compatibility: some explicit typing needed.
13 years ago
Vladimír Vondruš
112727e7c1
Merge branch 'master' into compatibility
13 years ago
Vladimír Vondruš
0a9b9b6270
Trade: hide unused parameter.
13 years ago
Vladimír Vondruš
d6ec398539
GCC 4.4 compatibility: some explicit typing needed.
13 years ago
Vladimír Vondruš
a37ffd510c
GCC 4.4 compatibility: can't default this, again.
13 years ago
Vladimír Vondruš
d696500933
Merge branch 'master' into compatibility
13 years ago
Vladimír Vondruš
231aaeb4aa
Platform: documentation updates.
...
It looks much better now without all that explicit/implicit deletion.
13 years ago
Vladimír Vondruš
883600e373
Platform: make Configuration constructors explicit.
...
As it now isn't passed by pointer, this allows doing things like this:
/* Lost all hope in this hardware */
if(!awesomeFeatureSupported)
createContext({});
13 years ago
Vladimír Vondruš
0bd2898972
GCC 4.5 compatibility: some explicit typing needed.
13 years ago
Vladimír Vondruš
3e8d8bb61a
GCC 4.5 compatibility: can't default this, again.
13 years ago
Vladimír Vondruš
e5394fb838
GCC 4.5 compatibility: more nullptr-related issues.
13 years ago
Vladimír Vondruš
6459c9c8c0
GCC 4.5 compatibility: can't default protected member in class body.
13 years ago
Vladimír Vondruš
fe91f02549
GCC 4.5 compatibility: nullptr-related issues.
13 years ago
Vladimír Vondruš
08c36ab6e5
GCC 4.5 compatibility: 4.5 and >4.5 have mutually exclusive requirements.
13 years ago
Vladimír Vondruš
ade77eaf2e
Merge branch 'master' into compatibility
...
Conflicts:
src/DebugTools/ShapeRenderer.cpp
src/Trade/AbstractImageConverter.cpp
src/Trade/MeshData2D.cpp
src/Trade/MeshData3D.cpp
13 years ago
Vladimír Vondruš
4222d8a297
Platform: pass application configuration via reference, not pointer.
...
Removes the need for explicit new/delete calls.
13 years ago