Vladimír Vondruš
7dc0fc4a4c
Math: Renamed Math.h to Functions.h
...
Math.h is reserved for forward declaration header.
14 years ago
Vladimír Vondruš
3b5b7c71d4
Debug output and configuration value handler for IndexedMesh::IndexType.
...
Mostly copy of what was already done for Type enum.
14 years ago
Vladimír Vondruš
98781b5052
Support for gaps in MeshTools::interleave().
14 years ago
Vladimír Vondruš
42f5ee4ce4
Doc++
14 years ago
Vladimír Vondruš
c8ef795cce
Removed SizeTraits, SizeBasedCall and related mess.
...
The implementation was really frightening and it was really used only in
MeshTools::compressIndices(). Other classes like SizeTraits, Pow and Log
were just waiting to be deleted, nothing of value was lost.
14 years ago
Vladimír Vondruš
ca24fe8f41
Mesh index type cleanup.
...
Using specialized enum instead of global Type and shitload of type
traits to handle it correctly. Removed TypeTraits::indexType() and
cleaned up MeshTools::compressIndices() while at it.
14 years ago
Vladimír Vondruš
9a571abb37
Added OES_element_index_uint ES2 extension to the list.
14 years ago
Vladimír Vondruš
7d0a523618
Moved projection matrix computation to Math namespace.
14 years ago
Vladimír Vondruš
f83c2b601b
Implemented ARB_texture_storage.
...
Equivalent functionality is in ES3 and also EXT_texture_storage ES2
extension.
14 years ago
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š
77068a1810
Added alias for linking to ES extension functions to Doxyfile.
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š
8837b35f58
Updated external OpenGL headers.
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