Vladimír Vondruš
dfb051b74a
Removed long-deprecated Magnum/Swizzle.h header and Magnum::swizzle().
...
Use Math/Swizzle.h and Math::swizzle() instead.
12 years ago
Vladimír Vondruš
a24ea3ce25
Ability to set base and max mip level on textures.
...
Curiously this functionality is not available on ES2, just the max limit
is supported by APPLE_texture_max_level extension.
12 years ago
Vladimír Vondruš
8590d351b1
Doc++
12 years ago
Vladimír Vondruš
de64c2e3e4
Proper class/function names for *Texture GL tests.
...
Another copypase bug.
12 years ago
Vladimír Vondruš
bf1d2e26fa
Support for setting border color on integer textures.
...
EXT_texture_integer implementation is now complete. Just GL 3.0 subset,
though, as apparently glClearColorI*() is not part of it.
12 years ago
Vladimír Vondruš
67f4a2ff65
Doc++
12 years ago
Vladimír Vondruš
0955390ca8
Follow OpenGL terminology for texture binding units.
...
Until now the textures were bound to layers, which was rather confusing,
especially when binding layered textures to layers (gaah). Also the
wording might have implied that each texture must be in some layer in
order to make it usable in shader. This is no longer the case with (yet
unimplemented) bindless texture, so another reason to remove the
confusion.
All occurences of texture layers were replaced texture binding units to
follow OpenGL naming. It was mostly in the docs, except for
already-deprecated *Layer enums in shaders, but they will be removed
soon anyway.
12 years ago
Vladimír Vondruš
98f7dbb61b
Fix ShaderGLTest on ES3.
12 years ago
Vladimír Vondruš
d7a13940b1
Shaders: making use of parallel compilation.
...
Compiling fragment and vertex shader simultaenously, at least. Nothing
more can be done for now.
Also removed weird duplicate compile/link calls from MeshVisualizer,
went unnoticed since b9a72bd3d1 . Why did I
do that?!
12 years ago
Vladimír Vondruš
e9af8c8825
Fixed, cleaned up and updated AbstractShaderProgram documentation.
12 years ago
Vladimír Vondruš
4be1c5e15c
Print non-error shader compilation/linking messages to Warning output.
...
Instead of schizophrenic Debug/Error.
12 years ago
Vladimír Vondruš
7b504a9bb1
Finally implemented parallelizable shader compilation and linking.
...
As g_truc said long ago:
https://twitter.com/g_truc/status/352778836657700866
Currently there is not much use of this as the stock shaders are
compiled one by one (and doing it differently would make things
needlessly overcomplicated), but the users can do parallel compilation
of their own shaders.
Also removed a bunch of now-unneeded TODOs and made the linker/compiler
code nearly similar. Also the whole Shader::compile() call now does two
allocations in total instead of two allocations for each shader.
12 years ago
Vladimír Vondruš
346f723f57
Doc++
12 years ago
Vladimír Vondruš
87d8b6a229
Disable 64bit integers for WebGL.
...
Due to crappy JavaScript design which doesn't count with any integers at
all, the integers needs to be "emulated" inside the 52-bit exponent of
doubles, which means that only 32bit integers can fit there (not to
mention various issues with 32b overflow, which needs to be emulated
somehow to work properly).
12 years ago
Vladimír Vondruš
2cb165d63a
Platform: show MAGNUM_TARGET_WEBGL in magnum-info.
12 years ago
Vladimír Vondruš
8a011b7c4e
Use more general MAGNUM_TARGET_WEBGL instead of CORRADE_TARGET_EMSCRIPTEN.
...
Only where it matters, though.
12 years ago
Vladimír Vondruš
6ea243d246
doc: document all WebGL restrictions.
12 years ago
Vladimír Vondruš
6dee292654
Added MAGNUM_TARGET_WEBGL definition.
...
Treating JavaScript and WebGL as first-class compile target. What the
world had come to :-)
12 years ago
Vladimír Vondruš
e5c366c6af
Doc++
12 years ago
Vladimír Vondruš
1b85fba608
Minor cleanup.
12 years ago
Vladimír Vondruš
35e49c47e2
doc: mention more features in math documentation.
...
Introduce angle classes, more thoroughly explain the type conversion and
do overview of component-wise functions.
12 years ago
Vladimír Vondruš
a72ca4b2b6
Math: doc++
12 years ago
Vladimír Vondruš
8e9aa554f7
Doc++
12 years ago
Vladimír Vondruš
22155e575a
Don't show *_EXPORT macros in the documentation.
...
Got broken probably when trying to work around the issues with
CORRADE_DEPRECATED() macro.
12 years ago
Vladimír Vondruš
7a1789470a
Initial ARB_multi_bind usage in *Texture::bind().
12 years ago
Vladimír Vondruš
b5017752a3
Platform: fix Emscripten build.
12 years ago
Vladimír Vondruš
4ce0135154
package: fix Emscripten PKGBUILD.
...
Caused by cb987f25d3 , unnoticed since.
12 years ago
Vladimír Vondruš
fde41147be
ObjImporter: fix compilation on GCC 4.6.
12 years ago
Vladimír Vondruš
617e52436a
Fix ES build.
12 years ago
Vladimír Vondruš
b5814305bd
Missing undef.
12 years ago
Vladimír Vondruš
d4ec4ed339
package: run the tests multiprocess.
...
They are now taking too long (9 secs), with -j5 just 3 secs.
12 years ago
Vladimír Vondruš
085d96ce25
Platform: support for debug context flag in GlutApplication.
...
For some weird reason this doesn't work for me.
12 years ago
Vladimír Vondruš
c275640ee0
Platform: ability to specify context flags in Sdl2Application.
...
Finally proper support for debug contexts :-)
12 years ago
Vladimír Vondruš
0d7f779125
Platform: don't display limits by default.
...
The output with limits is overly verbose and I caught myself typing
`magnum-info --no-limits` all the time, so let's reverse the default.
12 years ago
Vladimír Vondruš
2e700ee384
Platform: create context later so its output is at better place.
12 years ago
Vladimír Vondruš
6c2740b7d9
Platform: print context flags in magnum-info.
12 years ago
Vladimír Vondruš
ca320d9e37
Debug output operator for Context::Flag enum.
12 years ago
Vladimír Vondruš
25994f28ab
Follow OpenGL naming in Context::Flag enum.
...
As usual, the old Context::Flag::Robustness is marked deprecated and
will be removed in future release.
12 years ago
Vladimír Vondruš
05f677cc30
Platform: removed deprecated Flags from Sdl2Application::Configuration.
...
WindowFlags should be used instead, these would now conflict with
context flags.
12 years ago
Vladimír Vondruš
2f8e5f31a1
Make Image*::release() documentation clearer.
12 years ago
Vladimír Vondruš
8adde55377
Platform: improve documentation of redraw() function.
...
Make it clear that it's possible and non-harmful to call it from
drawEvent() itself.
12 years ago
Vladimír Vondruš
cfca2b50df
Platform: doc++
...
Display actual named constants in Doxygen.
12 years ago
Vladimír Vondruš
93de51c32f
Added EXT_shader_integer_mix to extension list.
12 years ago
Vladimír Vondruš
30809a86f3
Shapes: updated and cleaned up the documentation.
12 years ago
Vladimír Vondruš
9d2ea4ba15
Shapes: removed unused variable from the test.
...
The purpose wasn't commented at all, so I may just assume that it got
lost after some refactoring.
12 years ago
Vladimír Vondruš
218b950aed
Shapes: added Shape::collision().
...
Much like Shape::collides() is equivalent to the more low-level
collision detection using operator%, the Shape::collision() returns
collision details similarly to operator/. Currently only Sphere/Sphere
and Sphere/Point collision is done, thus the dispatch is nearly empty.
12 years ago
Vladimír Vondruš
e76178691d
Shapes: added missing test for Shape::collides().
...
There is one not-yet-sure-about behavior, expecting the failure.
12 years ago
Vladimír Vondruš
4027a097e4
package: build ObjImporter in all packages by default.
12 years ago
Vladimír Vondruš
6910281731
MeshTools: be const-correct.
12 years ago
Vladimír Vondruš
cdf24cb58c
Proper detection for AMD driver bug workaround.
...
Not sure where I got that.
12 years ago