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
Vladimír Vondruš
a8199340fb
Math: fixed confusing naming.
...
Probably was byte vector originally, but isn't anymore.
12 years ago
Vladimír Vondruš
0b13f94a65
Use std::reference_wrapper instead of raw pointer for non-null reference.
12 years ago
Vladimír Vondruš
598b456eb7
Implemented ARB_vertex_type_10f_11f_11f_rev (GL 4.4).
...
Please don't look into AbstractShaderProgram::Attribute implementation.
Your life will never be the same afterwards.
12 years ago
Vladimír Vondruš
85f35f7cd9
Cleanup of AbstractShaderProgram::Attribute::DataOption enum operators.
...
Ensure that all enum sets have the operators defined, remove duplicate
code.
12 years ago
Vladimír Vondruš
c621886f72
Minor color/texture format fixes.
...
Just fooling around. Also, I hate random four-letter abbreviations.
12 years ago
Vladimír Vondruš
5998f46e12
Added support for glMultiDrawArrays()/glMultiDrawElements().
...
In OpenGL ES this is implemented in EXT_multi_draw_arrays extension, if
it is not available, the functionality is emulated using sequence of
normal draw() calls.
12 years ago
Vladimír Vondruš
f8dfa180b2
Removed duplicate code from MeshGLTest.
...
As there is now no distinction between vertex and index count we don't
need separate checker utility for non-indexed and indexed meshes.
12 years ago
Vladimír Vondruš
189023b613
Removed redundant preprocessor branches from MeshGLTest.
...
No need to have ES2 workarounds in code that is not compiled for ES2.
12 years ago
Vladimír Vondruš
764d2fe400
Make use of threaded shader compilation in MeshGLTest.
12 years ago
Vladimír Vondruš
6c9066be8c
doc: removed old Doxygen workarounds.
...
It can finally handle operators, yay! (Well, some of them...)
12 years ago
Vladimír Vondruš
ec0569e96c
Doxygen workarounds.
12 years ago
Vladimír Vondruš
69d02ee7ee
doc: strict ordering of sections in detailed documentation.
...
It makes sense, but this ordering also helps to avoid bug in Doxygen
1.8.6+ which merges next non-xrefitem section with the previous one (so
e.g. the TODO list contained the following @see block, which is not
desired).
12 years ago
Vladimír Vondruš
c7ccf18ffb
doc: make section names unique.
12 years ago
Vladimír Vondruš
08dbf60b93
Revert "Fixed compilation with GCC 4.9."
...
The final release doesn't have the issue with non-explicit
default std::vector constructor. Most of the conflicts resulted from
Mesh::Primitve -> MeshPrimitive refactoring.
This reverts commit c2ad09706e .
Conflicts:
src/Magnum/Primitives/Capsule.cpp
src/Magnum/Primitives/Circle.cpp
src/Magnum/Primitives/Crosshair.cpp
src/Magnum/Primitives/Cylinder.cpp
src/Magnum/Primitives/Icosphere.cpp
src/Magnum/Primitives/Implementation/WireframeSpheroid.cpp
src/Magnum/Primitives/Line.cpp
src/Magnum/Primitives/Plane.cpp
src/Magnum/Primitives/Square.cpp
src/Magnum/Primitives/UVSphere.cpp
src/Magnum/SceneGraph/Object.hpp
src/Magnum/Text/GlyphCache.cpp
src/Magnum/TextureTools/Atlas.cpp
src/Magnum/TextureTools/Test/AtlasTest.cpp
12 years ago
Vladimír Vondruš
839a87df43
Missing extension checks in texture GL tests.
12 years ago
Vladimír Vondruš
4b6ae7afe6
Support for EXT_texture_sRGB_decode.
12 years ago
Vladimír Vondruš
4ceec156b5
MagnumExternal: updated glLoadGen-generated files.
12 years ago
Vladimír Vondruš
257426d77c
Updated Optional with fix for GCC 4.8 on OSX.
...
Thanks to Stefan Wasilewski for reporting.
12 years ago
Vladimír Vondruš
2ca955bb29
Math: documented Matrix[34]::invertedRigid().
12 years ago
Vladimír Vondruš
bfbd4d2036
Completed documentation review in root namespace.
12 years ago
Vladimír Vondruš
f079e37a0f
Trade: completed documentation review.
12 years ago
Vladimír Vondruš
6ef3f72d2e
TextureTools: completed documentation review.
12 years ago
Vladimír Vondruš
834f1a0346
Text: completed documentation review.
...
Added missing documentation and license header to deprecated header.
12 years ago