Vladimír Vondruš
b1025b7bc0
Updated FindCorrade.cmake from Corrade repository.
14 years ago
Vladimír Vondruš
a9d2062efe
More checks for sanity of Matrix4::rotation().
...
These should be true for all rotation matrices.
14 years ago
Vladimír Vondruš
8f13362f7a
Allow attribute-less Mesh.
...
For e.g. fullscreen triangle with no vertex data.
14 years ago
Vladimír Vondruš
049523cb74
Worked around long-standing Doxygen warnings.
14 years ago
Vladimír Vondruš
6dbdf58476
Component-wise comparison for Vector class.
14 years ago
Vladimír Vondruš
231c002838
Explicitly use *Matrix in names when appropriate.
...
* In shader uniforms (projectionMatrix makes more sense than projection
alone)
* For underlying types for SceneGraph transformation. It is already
used in Drawable::clean() as transformationMatrix, so why not use it
also in AbstractFeature::clean(). Moreover, clean() could be in
future also done using something else, this helps to distinguish the
type just from parameter name.
* In Physics shapes - applyTransformationMatrix() (as it could be in
future also done using something else).
14 years ago
Vladimír Vondruš
35d8905790
Debug output and configuration parser for Mesh::Primitive.
14 years ago
Vladimír Vondruš
ca0bbe79fb
Debug output and configuration parser for Type enum.
14 years ago
Vladimír Vondruš
f184c6f005
Using real class for testing configuration value parsing.
14 years ago
Vladimír Vondruš
891cc6606e
Adapted to Corrade changes.
14 years ago
Vladimír Vondruš
2fc010263d
Class AbstractResourceLoader.
...
Base for (a)synchronous resource loading automatically trigerred from
ResourceManager.
14 years ago
Vladimír Vondruš
d688cf2efc
ResourceManager: new Loading and NotFound data states.
...
Updated, cleaned up and extended unit tests.
14 years ago
Vladimír Vondruš
72145e1339
Debug output operator for ResourceState enum.
14 years ago
Vladimír Vondruš
1ac9041680
ResourceManager: stateless test.
...
It now doesn't reuse manager instance among test cases, making it more
failproof.
14 years ago
Vladimír Vondruš
ca9828de64
ResourceManager: various cleanup.
...
Using proper cast in ResourceDataState enum.
14 years ago
Vladimír Vondruš
510755ea6e
ResourceManager: privately inherit Implementation::ResourceManagerData.
...
Protected inheritance has no sense, as there shouldn't be any subclasses
touching internals in Implementation namespace.
14 years ago
Vladimír Vondruš
4bdb248e76
ResourceManager: public accessor for fallback resource.
14 years ago
Vladimír Vondruš
9623229ec0
Reorganized ResourceManager.h / Resource.h files.
...
Moved #include where it belongs, moved ResourceManager-only enums to
ResourceManager.h, moved debug operator for ResourceKey to Resource.h.
14 years ago
Vladimír Vondruš
9c007114ac
ResourceManager: make internal functions private.
...
Even if this is internal implementation class, the functions should be
accessible only from Resource itself.
14 years ago
Vladimír Vondruš
4545eb8987
Doc++
14 years ago
Vladimír Vondruš
a387e23f43
Updated forward declarations.
14 years ago
Vladimír Vondruš
b7e3871cde
Split Resource and ResourceManager to two files.
...
They still include each other, but at least it is now possible to scroll
through the files.
14 years ago
Vladimír Vondruš
0181bad749
Workaround to fix KDevelop autocompletion.
14 years ago
Vladimír Vondruš
3ac906db9e
Fixed AbstractShaderProgram documentation.
...
Forgot to do it in 259a9f6666 .
14 years ago
Vladimír Vondruš
2f4092bde0
Prefix *_EXPORT macros with MAGNUM_ to avoid collisions.
14 years ago
Vladimír Vondruš
6793a30701
NaClApplication: implemented mouse locking.
14 years ago
Vladimír Vondruš
331b027fb8
Minor cleanup.
14 years ago
Vladimír Vondruš
78e9c7add1
NaClApplication: schedule one more redraw after fullscreen switch.
...
Otherwise NaCl displays previous image, notable mainly when exiting
16:9 fullscreen back to 4:3.
14 years ago
Vladimír Vondruš
8a3d2c12c6
Doc++
...
Crosslinked types from Math namespace with typedefs in Magnum namespace.
14 years ago
Vladimír Vondruš
03721cd95c
Bring Math::Constants<float> to Magnum namespace.
...
You can now write only
Constants::sqrt3();
instead of
Math::Constants<GLfloat>::sqrt3();
For other types you can still use the fully qualified name.
14 years ago
Vladimír Vondruš
438bd52bf3
Doc++
14 years ago
Vladimír Vondruš
afacc9071f
Updated forward declaration header.
14 years ago
Vladimír Vondruš
8e3e3ac6d3
Doc++
14 years ago
Vladimír Vondruš
97383b8a62
NaClApplication: fullscreen switching support.
14 years ago
Vladimír Vondruš
152eb4e4b4
NaClApplication: fixed boolean fuckup.
...
Now viewportEvent() is called properly on startup _and_ when resizing,
not everytime else.
14 years ago
Vladimír Vondruš
c488d8f2d0
Minor #include cleanup.
14 years ago
Vladimír Vondruš
d7f9538f15
PKGBUILD-nacl: we can use makeflags.
...
Was building only on one core all the time. Arrgh.
14 years ago
Vladimír Vondruš
7ba6fc51ed
Fixed compilation for OpenGL ES.
14 years ago
Vladimír Vondruš
ef1642aea1
Added MAGNUM_ASSERT_{VERSION,EXTENSION}_SUPPORTED() macros.
14 years ago
Vladimír Vondruš
a5e8d4535c
Debug output operator for Version enum.
14 years ago
Vladimír Vondruš
5b707d3524
Using GLfloat as default template parameter also in Color.
14 years ago
Vladimír Vondruš
d2f0a2a045
Using default template arguments instead of GLfloat everywhere.
...
It was mainly in DimensionTraits usage. Also using DimensionTraits::*Type
for private members of physics shapes instead of manually specified
superclasses. The header is still included because of all the inline
accessors, so why not use the same type inside the class.
14 years ago
Vladimír Vondruš
642ab3b74d
WTF?
14 years ago
Vladimír Vondruš
def1d7b3c6
Class for putting marks into OpenGL command stream for use in debuggers.
14 years ago
Vladimír Vondruš
99ac6ff812
Added missing extensions into Context.cpp.
14 years ago
Vladimír Vondruš
04c8f21360
Fixed serious issue with Context::is*Supported().
...
Some extensions are not part of any core OpenGL version (such as
EXT_direct_state_access, EXT_texture_filter_anisotropic etc.), thus they
have None for core version. Current mechanism in
Context::isExtensionSupported() is that it checks for core version first
and if that is supported, it doesn't check for the extension itself.
Until now Context::isVersionSupported(None) returned always true, which
meant that all non-core extensions were marked as supported
_everywhere_.
14 years ago
Vladimír Vondruš
757ca13514
Sdl2Application: don't request specific OpenGL version.
...
I don't want to ditch old Intels with GL 2.1 yet. Also now the version
reported in Context is really the highest supported version, which
optimizes extension presence checks a bit.
14 years ago
Vladimír Vondruš
985b28cf07
Sdl2Application: fix modifiers everywhere, not only for key press.
14 years ago
Vladimír Vondruš
72ffca1dad
Cube primitive has now flat normals.
...
Exactly how would everyone expect.
14 years ago
Vladimír Vondruš
cf0ca06d39
NaClApplication: relative position in MouseMoveEvent.
14 years ago