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
Vladimír Vondruš
aacb6b7041
Trade: return references, not pointers from MeshData.
...
The access methods assert that the user is querying only available data.
Also updated Primitives implementation to create MeshData when
everything is done, not creating empty MeshData and then shooting the
data through interface intended for end users.
13 years ago
Vladimír Vondruš
1d6015e95b
Trade: pass ImageReference2D to image converter.
...
Also not through pointer, but throught const&, allows implicit
conversion from Image2D and Trade::ImageData2D, which is good.
Bumped plugin interface version a bit, as this is not so drastic change
in behavior.
13 years ago
Vladimír Vondruš
2eb4e3c8ba
Removed default template argument from DimensionTraits.
...
It's not obvious what should be the default and thus it is confusing.
Sometimes Int, sometimes Float, no clear winner.
13 years ago
Vladimír Vondruš
4197e1688a
Shapes: WHY there is that.
13 years ago
Vladimír Vondruš
0f2a1661d9
SceneGraph: use protected destructor rather than pure virtual one.
...
The Transformation classes are always instantiated by inheritance, thus
we don't need any virtual deletion capabilities.
13 years ago
Vladimír Vondruš
1fdc59cec1
Merge branch 'master' into compatibility
13 years ago
Vladimír Vondruš
c22740543f
MagnumFontConverter: avoid double padding around the glyphs.
...
The glyphs were exported with the padding and when they were inserted
back into the cache later, the padding was added again.
13 years ago