Vladimír Vondruš
c8444bdbbe
Added EXT_texture_storage ES2 extension to the list.
14 years ago
Vladimír Vondruš
23d481afb7
Doc++
...
Not using @copydoc for Texture derivatives but linking manually instead.
It looks better and doesn't have mixed up irrelevant information.
14 years ago
Vladimír Vondruš
52300cf402
Math: function for base-2 logarithm.
...
Verbatim copy from Corrade, might be better to have it here too
(possibly some SIMD optimizations?).
14 years ago
Vladimír Vondruš
08d9f65b06
Text: assert that {ARB,EXT}_texture_rg is supported.
...
EXT_texture_rg is not available on my OpenGL ES 2.0 implementation, will
find alternative later. At least it now compiles.
14 years ago
Vladimír Vondruš
9ad15b12fb
Mark ARB_invalidate_subdata as done.
14 years ago
Vladimír Vondruš
eaa87147d4
Doc++
...
This is how it should like after debug renderer rework. Don't know what
got forgotten or messed up.
14 years ago
Vladimír Vondruš
35a918d050
Extension-aware Buffer and *Texture data invalidation.
...
If ARB_invalidate_subdata is not available, these functions do nothing,
instead of crashing on null pointer dereference. It results in more
convenient usage, enabling users to call them whenever they want,
improving performance on implementations which supports that.
14 years ago
Vladimír Vondruš
03f6095b9d
Forgot to hide DSA functions when targetting ES.
14 years ago
Vladimír Vondruš
78bfe51966
Fixed compiler warnings.
14 years ago
Vladimír Vondruš
3829401e45
Fixed compilation on ES2.
14 years ago
Vladimír Vondruš
5c5efea168
Fixed CubeMapTexture*::invalidateSubImage().
...
The coordinates are 3D, not 2D.
14 years ago
Vladimír Vondruš
a7541e68d8
Doc++
14 years ago
Vladimír Vondruš
d59297aeeb
Implemented ARB_invalidate_subdata GL 4.3 extension.
...
Framebuffer invalidation is also available in OpenGL ES 3.0 and ES 2.0
using EXT_discard_framebuffer extension.
14 years ago
Vladimír Vondruš
5b9b2dedef
Added EXT_discard_framebuffer ES2 extension to the list.
14 years ago
Vladimír Vondruš
80cb4eb8e5
Reworked framebuffer attachment enums.
...
Instead of having pair of functions for depth/stencil and color
attachments this is now solved using specialized class. It is now more
descriptive, as specifying color attachment is now done explicitly using
Framebuffer::ColorAttachment(2) instead of just `2`. Specifying "no
attachment" is now also done explicitly using
Framebuffer::DrawAttachment::None instead of `-1`.
Also updated related documentation.
14 years ago
Vladimír Vondruš
3ab53e050a
Doc: another copypasta error.
14 years ago
Vladimír Vondruš
d3208013a2
More strict compiler warnings.
...
* Error when function is missing return type (not just warning).
* Warn when functions in source don't have corresponding declarations
in header. In case that it is not an error they should be put in
anonymous namespace.
14 years ago
Vladimír Vondruš
fdded7281d
Renamed *Texture::set*Data() to set*Image().
...
Better consistency with OpenGL naming.
14 years ago
Vladimír Vondruš
90ba19b601
Doc: copypasta error.
14 years ago
Vladimír Vondruš
aef9b16c62
Don't allow removing vertex/index buffer from meshes.
...
Would cause weird issues with state, it's better to just not allow it
and follow KISS principle than trying to implementing it. Also
crosslinked required function calls in documentation.
14 years ago
Vladimír Vondruš
3f727b4abc
Doc: fixed a few issues with OpenGL ES extensions.
14 years ago
Vladimír Vondruš
cdb8893e7b
Added all currently supported OpenGL ES extensions to the list.
14 years ago
Vladimír Vondruš
3c347441e6
Ability to build Magnum for OpenGL ES emulated with desktop OpenGL.
14 years ago
Vladimír Vondruš
ae801ea945
OpenGL ES compilation fixes & workarounds.
14 years ago
Vladimír Vondruš
b400fb7766
ES 2.0 extension list is equivalent to GL 2.1 extension list -- empty.
...
We assert that minimal OpenGL version is GL 2.1 / ES 2.0, thus
there is no need for list of extensions implemented in these versions.
14 years ago
Vladimír Vondruš
c6c659431b
Marked implemented extensions as such.
...
Extension list is now something like internal TODO list.
14 years ago
Vladimír Vondruš
6fd67c978e
Buffer memory mapping.
...
I sincerely hope for glMapBuffer() being marked as deprecated.
14 years ago
Vladimír Vondruš
3e32d5ece7
Added ARB_map_buffer_range extension to the list.
...
OpenGL 3.0 specification is awesomely confused with extensions. The ones
listed in specs don't have the complete functionality and references
to related ARB extensions are nowhere to be found.
14 years ago
Vladimír Vondruš
7183110eee
Doc++, @todo++
14 years ago
Vladimír Vondruš
5f19343bee
Math: linear interpolation of two Vectors.
14 years ago
Vladimír Vondruš
1eef70b184
Doc++
14 years ago
Vladimír Vondruš
a4514e7acb
Brought Math::Quaternion<GLfloat> into Magnum namespace as Quaternion.
14 years ago
Vladimír Vondruš
c7d7fdad28
Math: removed done TODO.
14 years ago
Vladimír Vondruš
f06b53724c
Math: spherical linear Quaternion interpolation.
14 years ago
Vladimír Vondruš
538601fc06
Minor code cleanup.
14 years ago
Vladimír Vondruš
b9f21d1430
Removed unnecessary prefix from test filename.
...
My brain is lagging behind my keyboard.
14 years ago
Vladimír Vondruš
669a08daa5
Math: angle between two quaternions.
...
Also updated related Vector test.
14 years ago
Vladimír Vondruš
53a95b6296
Math: test also parameterless Quaternion::dot().
...
Just to be sure (and to be consistent with Vector test).
14 years ago
Vladimír Vondruš
23a94b2709
Math: Quaternion has dot product too!
...
Original lengthSquared() renamed to parameterless dot(), it is now
consistent with what Vector has. Also updated related Vector
documentation.
14 years ago
Vladimír Vondruš
ed147ebe40
Math: linear Quaternion interpolation.
14 years ago
Vladimír Vondruš
eaa819755f
Math: added Quaternion addition and subtraction.
14 years ago
Vladimír Vondruš
705bf3f597
Math: reverse scalar/quaternion multiplication and division operators.
...
Also updated related documentation in RectangularMatrix.
14 years ago
Vladimír Vondruš
eeed955154
Minor code cleanup.
14 years ago
Vladimír Vondruš
d9c900f076
Doc++
...
* Added math equations to Quaternion, Vector and Matrix method
documentation.
* Removed confusing Quat*=Quat operator overload, as it isn't exactly
clear from which side the non-commutative multiplication is done:
Quaternion a;
a *= b; // eh?
a = a*b; // okay!
For similar reason this operator wasn't present in RectangularMatrix
either.
* Unified documentation of expected vector/quaternion normalization
state. Now it is not "assumed" but "expected", because failing to do
so results in assertion failure.
14 years ago
Vladimír Vondruš
b55f3a2071
Math: function for negating Quaternion, improved tests.
14 years ago
Vladimír Vondruš
8e93520bd6
Math: converting Quaternion to rotation matrix.
14 years ago
Vladimír Vondruš
3b92d2b9f3
Math: creating Quaternion from axis/angle.
14 years ago
Vladimír Vondruš
3076c42663
Math: using absolute #includes in Quaternion.h.
14 years ago
Vladimír Vondruš
3126d0947d
Math: "checked" function for inverting normalized Quaternion.
14 years ago
Vladimír Vondruš
3b57d530a4
Math: test also properties of normalized Quaternion.
14 years ago