Vladimír Vondruš
73404fc6e5
Added Renderer::enable()/disable().
...
Should be preferred to Renderer::setFeature() to avoid unnecessary
branching. Also a bit shorter to write.
12 years ago
Vladimír Vondruš
824fc4974a
TextureTools: use threaded shader compilation also here.
12 years ago
Vladimír Vondruš
3be4422ded
Shaders: using attachShaders() everywhere.
12 years ago
Vladimír Vondruš
bc81eb92d8
Added AbstractShaderProgram::attachShaders().
...
Convenience overload to attachShader(), allowing the user to specify
more than one shader at once. Just a complement to initializer-list
versions of compile() and link(), but without any performance
difference.
12 years ago
Vladimír Vondruš
fb51517709
Audio: fix compilation on OSX.
...
Broken since c7b23a884f (missing include).
Thanks to @chris-chambers for the hint.
12 years ago
Vladimír Vondruš
dfb697dd0c
CMake 3.0 compatibility: use AppleClang for Clang on OS X.
...
Different name because of different version numbers. Also we need to
stay compatible with <3.0, which defines it as "Clang" only.
12 years ago
Vladimír Vondruš
23dd34e0f4
TgaImporter: use better-defined type.
...
Commit mosra/corrade@9485ef7effd6c8241e03982c53e8fabfe260b525 broke
this, apparently the compiler can't decide which overload to select when
a type has implicit conversion to another type which is then supported
by both Debug and std::ostream operator<<. Working around this for now as
it is the only case, hopefully we won't run into something similar later.
12 years ago
Vladimír Vondruš
a35ce64752
MeshTools: make compile() actually working with indexed meshes.
...
I was drunk out of my mind. Apparently didn't test once.
12 years ago
Vladimír Vondruš
50897e0dc0
Reset also viewport to default framebuffer on named FB destruction.
...
In text example the scene was rendered with viewport used for
distance field computation, which is wrong. Also amazingly enough that
worked until now.
12 years ago
Vladimír Vondruš
dc980454fc
TextureTools: fix shader compilation.
...
Amazingly enough this worked until now. Maybe more strict NVidia GLSL
compiler?
12 years ago
Vladimír Vondruš
3df0d63a1a
Platform: oh god what have I done.
12 years ago
Vladimír Vondruš
c74ccc22f3
Platform: fix AndroidApplication compilation.
...
Using type before it was defined. Blind changes FTW!
12 years ago
Vladimír Vondruš
87c411f841
ObjImporter: fix compilation on Android.
12 years ago
Vladimír Vondruš
ee21b75b15
Shaders: fix build on ES3.
...
I'm starting to hate these rushed prerelease fixes.
12 years ago
Vladimír Vondruš
21d3db82df
Doc++
12 years ago
Vladimír Vondruš
545ef14071
doc: documented all command-line utilities.
12 years ago
Vladimír Vondruš
2d6aa06df4
Improvements in utility help texts.
12 years ago
Vladimír Vondruš
c3df68aa28
doc: make section headers in class/function docs have sane size.
...
Similar reasoning as in mosra/corrade@93b8308bc6a4def9d4564a6cea236cabe54fe063.
12 years ago
Vladimír Vondruš
7e4143f86b
Proper default plugin dir for debug on multi-configuration buildsystems.
...
Similar logic to what we expose to the outside world.
12 years ago
Vladimír Vondruš
644556bd85
TextureTools: configurable plugin dir for distancefieldconverter utility.
...
Similarly to magnum-fontconverter utility.
12 years ago
Vladimír Vondruš
66af4edd7f
Text: actually make use of plugin-dir parameter in fontconverter utility.
...
What the hell.
12 years ago
Vladimír Vondruš
41b892296b
Text: unified help message for plugin names for all utilities.
12 years ago
Vladimír Vondruš
a97d7bbdae
Text: renamed configure.h.cmake to fontconverterConfigure.h.cmake.
...
Reason is that the configure file is not for whole Text library, but
only for the magnum-fontconverter utility. Rename it so it is more
clear.
12 years ago
Vladimír Vondruš
4a44d3b875
Shaders: fix compilation of MeshVisualizer on WebGL and ANGLE.
...
WebGL mandates that array subscription is done with constant expression,
ANGLE too (but I think that has also something to do with D3D9
limitations). This is however allowed by OpenGL ES 2.0 specification, so
enabling the workaround only for WebGL and ANGLE (i.e., this won't apply
to Native Client using native GL drivers).
12 years ago
Vladimír Vondruš
fcea05e316
Detecting whether ANGLE is used as GLES2 implementation.
12 years ago
Vladimír Vondruš
7f4a986c38
Added Context::detectedDriver().
...
A general way to detect drivers, which can be later used for applying
driver-specific workarounds. Currently used for disabling
ARB_explicit_uniform_location on AMD drivers.
12 years ago
Vladimír Vondruš
16eb32740b
Math: added Range::data().
...
The main side-effect of this is that the data layout is now really
specified, making it useful for various glGet*(GL_*_RANGE) calls.
12 years ago
Vladimír Vondruš
2848d1d37c
DebugTools: defaulted destructor implementation in source files.
...
To avoid errors about deleting incomplete when destructing Resource
instances. Spotted by Clang.
12 years ago
Vladimír Vondruš
795da389c8
Doc++
12 years ago
Vladimír Vondruš
d5f58b025f
Code reorganization.
12 years ago
Vladimír Vondruš
e4f7d0bb52
Doc++
12 years ago
Vladimír Vondruš
c7b23a884f
Be consistent and use our own platform definitions.
12 years ago
Vladimír Vondruš
dcd89bac0a
Math: no need to use class here.
12 years ago
Vladimír Vondruš
b475389cc9
Math: make the constructors in test also constexpr.
12 years ago
Vladimír Vondruš
098132f869
Platform: use delegating constructors.
12 years ago
Vladimír Vondruš
df05a2d8a5
Properly credit all contributors.
12 years ago
Travis Watkins
eb6eddd5d1
Don't link unneeded libraries in commands.
12 years ago
Travis Watkins
96d9327a83
Build fontconverter and distancefieldconverter on windowless OS X.
12 years ago
Travis Watkins
f845884a6e
Add support for windowless applications on OS X.
12 years ago
Vladimír Vondruš
757ca6d1ad
Use VectorTypeFor and MatrixTypeFor instead of DimensionTraits.
...
Much shorter lines. I like that.
12 years ago
Vladimír Vondruš
5a020abb5f
Added VectorTypeFor and MatrixTypeFor aliases to DimensionTraits.
...
Also a new gem we can use with GCC 4.7.
12 years ago
Vladimír Vondruš
4a4768a12a
Use template aliases where possible.
...
Because with GCC 4.7 we can.
12 years ago
Vladimír Vondruš
7f38ccaf63
Using delegating constructors where apropriate.
...
Because on GCC 4.7 we can.
12 years ago
Vladimír Vondruš
cbe63c7a04
Removed superfluous template parameter from EnumSet typedefs.
...
Because with GCC 4.7 we can.
12 years ago
Vladimír Vondruš
a9a5ead13d
Dropped GCC 4.6 support.
12 years ago
Vladimír Vondruš
f6fb14c30c
Fixed build on OpenGL ES.
12 years ago
Vladimír Vondruš
9935e138aa
SceneGraph: doc++
12 years ago
Vladimír Vondruš
a27c61c38e
Math: doc++
12 years ago
Vladimír Vondruš
71db38cb2f
Math: use Vector::max() instead of custom ugly solution.
12 years ago
Vladimír Vondruš
c537cda31e
Math: remove superfluous namespace scoping from test.
12 years ago