Vladimír Vondruš
a2b9a65b8f
Fixed segfault in AbstractTexture::bind().
...
Caused in 6ee2745503 , I accidentaly
removed code that initialized the array to proper length. Again I
experienced how useful unit tests for GL functionality would be.
13 years ago
Vladimír Vondruš
95a0b8f3f2
Improve sectioning in building documentation even more.
13 years ago
Vladimír Vondruš
f4c5adc233
Mention that both target and native Corrade is needed for crosscompiling.
13 years ago
Vladimír Vondruš
e61ccede22
We don't need Graphviz for Doxygen docs anymore.
...
The diagrams were useless anyway.
13 years ago
Vladimír Vondruš
ef08f1ff79
Remove totally useless introduction paragraph in building documentation.
13 years ago
Vladimír Vondruš
b66ce70154
Fixed and improved Getting Started documentation to be more failproof.
13 years ago
Vladimír Vondruš
b7e241f17a
Adapted to Magnum changes.
13 years ago
Vladimír Vondruš
d690dcbb92
Platform: ability to not print all those implementation-defined values.
13 years ago
Vladimír Vondruš
bc3cbf1ad6
Renamed ImageType and ImageFormat to ColorType and ColorFormat.
...
Makes more sense. Added aliases and header file for backwards
compatibility, will be removed in future versions.
13 years ago
Vladimír Vondruš
6ccf098fc8
Add some TODOs for remaining limit queries.
13 years ago
Vladimír Vondruš
94d204ec0c
Mention that line/polygon smooth and compiler query is not supported.
13 years ago
Vladimír Vondruš
6ee2745503
Texture-related limit queries.
...
Renamed AbstractTexture::maxSupportedLayerCount() to maxLayers(),
which is in fact alias to Shader::maxCombinedTextureImageUnits(). Also
renamed Samples::maxSupportedAnisotropy() to maxAnisotropy(). It now
has slightly confusing naming, will fix that later. Both
original functions are now alias to new ones to retain source
compatibility, will be removed in future releases.
Also printing the values in magnum-info.
13 years ago
Vladimír Vondruš
4a983566e6
Buffer-related limit queries.
...
Also printing the values in magnum-info.
13 years ago
Vladimír Vondruš
eb24db9b5f
Framebuffer-related limit queries.
...
Also printing the values in magnum-info.
13 years ago
Vladimír Vondruš
c44681dbe1
Mesh-related limit queries.
...
Also printing the values in magnum-info.
13 years ago
Vladimír Vondruš
a040b358ef
Shader-related limit queries.
...
Renamed AbstractShaderProgram::maxSupportedVertexAttributeCount() to
maxVertexAttributes(), the old function is now an alias to retain
source compatibility, will be removed in future release.
Also printing the values in magnum-info.
13 years ago
Vladimír Vondruš
323277a2f1
Added NV_fbo_color_attachments ES extension to the list.
13 years ago
Vladimír Vondruš
ce1e299b53
Fixed ES3 build.
13 years ago
Vladimír Vondruš
d714700899
Shapes: documented detailed collisions.
13 years ago
Vladimír Vondruš
c5280d9a0f
DebugTools: support for InvertedSphere in ShapeRenderer.
...
Currently drawn in the same way as Sphere.
13 years ago
Vladimír Vondruš
4a79d24e9e
Shapes: mention inverted shapes in the introductory docs.
13 years ago
Vladimír Vondruš
da114ef853
Shapes: collision of InvertedSphere and Sphere.
13 years ago
Vladimír Vondruš
42691fb035
Shapes: collision of InvertedSphere and Point.
13 years ago
Vladimír Vondruš
54465070ae
Shapes: added InvertedSphere shape.
13 years ago
Vladimír Vondruš
c8b82479f9
Shapes: minor cleanup.
13 years ago
Vladimír Vondruš
103875ea9d
Shapes: (detailed) collision of two spheres.
13 years ago
Vladimír Vondruš
cf11f7e8fb
Shapes: (detailed) collision of sphere vs. point.
13 years ago
Vladimír Vondruš
4b7187dd36
Shapes: Collision object, providing more detailed collision information.
13 years ago
Vladimír Vondruš
fb6f6e47f6
DebugTools: doc++
13 years ago
Vladimír Vondruš
2d25511570
Mention WITH_FIND_MODULE CMake option in documentation.
13 years ago
Vladimír Vondruš
ea00057207
Updated FindCorrade.cmake from Corrade repository.
13 years ago
Vladimír Vondruš
136e5c08fc
Mentioned version-aware extension queries in portability documentation.
13 years ago
Vladimír Vondruš
66a756a958
Shaders: extension queries depending on GLSL version in MeshVisualizer.
...
The geometry shader implementation somehow expects GLSL 1.50 and is not
working on GLSL 1.40 (probably inconsistent variable naming in
extension and core specification). Added checks for that. Might fix this
properly someday when there is need for geometry shader in GL 3.1.
13 years ago
Vladimír Vondruš
0b4e6391a0
Shaders: extension support queries depend on selected GLSL version.
...
Also added GLSL 1.30 (GL 3.0) into version list. Should fix issues where
extension is supported but is not available in selected GLSL version.
13 years ago
Vladimír Vondruš
0d28913731
Allow shader layout qualifiers only with GLSL 1.40 (GL 3.1) and above.
...
Even if the extension specification describes the minimum required
version as GL 2.1 (or doesn't mention it at all), most compilers can't
handle `layout(...)` before input/output declaration. These drivers mark
the extensions as supported on GL < 3.1, but then can't handle them at
all: Mesa fails to compile it with GLSL 1.20, NVidia fails with GLSL
1.30.
Also updated `EXPLICIT_*` defines in Shaders/compatibility.glsl to
reflect this change.
13 years ago
Vladimír Vondruš
06f0433250
Shaders: better preprocessor code formatting.
13 years ago
Vladimír Vondruš
4b773993e3
Ability to check that extension is supported in particular version.
...
Will be used in shader compilation when we need to decide based on
both GLSL version used *and* extension support.
13 years ago
Vladimír Vondruš
c807e4f1b1
Test version/extension checking functions in Context.
13 years ago
Vladimír Vondruš
2c0e7da5a0
Shaders: fix compilation of textured Phong shader on OpenGL ES.
13 years ago
Vladimír Vondruš
51ca4be9a9
Shaders: fix Phong shader compilation for more than one texture.
13 years ago
Vladimír Vondruš
9e2dc3cc2f
Shaders: test compilation of Phong shader.
...
Currently fails for some combinations.
13 years ago
Vladimír Vondruš
407fec17f3
SceneGraph: shorten lengthy test names to preserve 80-column ctest output.
...
As we now have 100 tests (yay!), ctest needs three more characters to
display the progress, thus we need to shorten the long test names a bit
more. Should suffice for a long time, I'm not planning to have >999
tests :-)
13 years ago
Vladimír Vondruš
55a557f419
Shaders: test compilation of MeshVisualizer shader.
13 years ago
Vladimír Vondruš
c2f69b20e8
Shaders: test compilation of Flat and VertexColor shaders.
13 years ago
Vladimír Vondruš
c13f8a77f5
Shaders: test compilation of *Vector shaders.
13 years ago
Vladimír Vondruš
c65ac5aeb3
Platform: NaCl build workaround.
13 years ago
Vladimír Vondruš
f4de432ac4
Shaders: `const` for readonly vars is in ARB_shading_language_420pack.
...
In the end it wasn't my NVidia shader compiler being too forgiving.
13 years ago
Vladimír Vondruš
fd1d067c36
Shaders: fix textured Phong for GLSL 1.20 and GLSL ES 1.0.
...
I desperately need unit tests for shader compilation.
13 years ago
Vladimír Vondruš
f166d006c2
Shaders: `const` for readonly variables is since GLSL 4.20.
13 years ago
Vladimír Vondruš
3240accce0
GLEW wasn't dependency for ES packages.
...
It's been [0] days since last issue caused by copypasting.
13 years ago