Vladimír Vondruš
1ad8be425f
Moved global data from Mesh class to per-context state.
12 years ago
Vladimír Vondruš
e921a111b5
Moved global data from Buffer class to per-context state.
12 years ago
Vladimír Vondruš
8cdefa1e0b
Moved global data from shader classes to per-context state.
12 years ago
Vladimír Vondruš
37b9f4d846
Moved global data from texture classes to per-context state.
12 years ago
Vladimír Vondruš
c1c71339e4
Moved global data from framebuffer classes to per-context state.
...
On the way to unify and reduce the "Using optional features" messages.
12 years ago
Vladimír Vondruš
28939078e2
Decide about used extensions on only one place.
...
Having the same branch cascade twice for debug output and for actual
feature selection is not good for maintenance. Put the extensions into
some list and then make it unique instead.
12 years ago
Vladimír Vondruš
d140cfd87e
Don't export template class.
...
The explicit instantiations are exported already.
12 years ago
Vladimír Vondruš
49d8c71a59
MagnumFont: mention lineHeight value in documentation.
12 years ago
Vladimír Vondruš
6f0ba96cb6
Happy new year too.
12 years ago
Vladimír Vondruš
2b94a350e7
Platform: fix magnum-info NaCl markup.
...
Somehow XHTML5 is misunderstood here.
12 years ago
Vladimír Vondruš
aec9e63d0d
Platform: display proper application class name in magnum-info.
12 years ago
Vladimír Vondruš
6f58bfd4e3
Platform: fix documentation.
...
The templates arguments were breaking the doc layout badly, hiding them
for documentation.
12 years ago
Vladimír Vondruš
cc9e6c6161
Fix NaCl build.
...
Apparently I enabled the queries for NaCl without testing at all.
12 years ago
Vladimír Vondruš
848d2fe45b
Doc++
...
Somehow explicit references are not working here.
12 years ago
Vladimír Vondruš
072ee4e288
doc: mapping of OpenGL limit and state queries, various improvements.
12 years ago
Vladimír Vondruš
09cc03888b
Skip mipmap generation test cases if required extension is not available.
12 years ago
Vladimír Vondruš
d563d0906f
Buffer::mapAlignment() requires ARB_map_buffer_alignment.
...
Return 0 if the extension is not supported.
12 years ago
Vladimír Vondruš
4820476beb
Doc++
...
Also added new Doxygen alias for more specific GL function links.
12 years ago
Vladimír Vondruš
6e2dcec59c
Platform: better checks for magnum-info compilation.
...
In particular GLX is not available on OS X.
12 years ago
Vladimír Vondruš
412011f2f8
Fixed linker errors on Windows.
12 years ago
Vladimír Vondruš
597a14d760
Fixed OpenGL ES 2.0 and 3.0 build.
12 years ago
Vladimír Vondruš
3df96b5944
Shaders: don't use deprecated header in tests.
12 years ago
Vladimír Vondruš
38ded20b94
SceneGraph: fix documentation of DrawableGroup aliases.
12 years ago
Vladimír Vondruš
9743d2abf3
SceneGraph: fixed compilation of Drawable on GCC 4.6.
...
This error was present since the very beginning but it didn't appear
until we were explicitly instantiating the Drawable class.
12 years ago
Vladimír Vondruš
42b1d26965
Shaders: renamed magnumShadersResourceImport.hpp to resourceImport.hpp.
...
No need to duplicate the namespaces in filename. The old file is alias
to new one, is marked as deprecated and will be removed in future
release.
12 years ago
Vladimír Vondruš
222292239b
Making includes absolute, part 7: fix documentation.
12 years ago
Vladimír Vondruš
7a68362170
Making includes absolute, part 6: better filenames for internal files.
...
As we are now using absolute includes, there is no need to prefix
everything with "magnum<Namespace>" etc. All generated configuration
files are renamed to configure.h and their path is included _before_
everything else to avoid accidental collisions.
12 years ago
Vladimír Vondruš
0616f24f34
Making includes absolute, part 5: absolute includes everywhere.
...
The only places where they aren't absolute are:
- when header is included from corresponding source file
- when including headers which are not part of final installation (e.g.
test-specific configuration, headers from Implementation/)
12 years ago
Vladimír Vondruš
8c2291aa49
Making includes absolute, part 4: using absolute includes for Corrade.
...
Also adapted to some Corrade renames.
12 years ago
Vladimír Vondruš
05b620dd09
Making includes absolute, part 2: make it compile again.
...
Added new root CMakeLists.txt file, the old include paths are used only
if MAGNUM_BUILD_DEPRECATED is set, thus it can now compile and install
only if deprecated build is enabled.
12 years ago
Vladimír Vondruš
45a10cefdf
Making includes absolute, part 1: moving files around.
...
Everything what was in src/ is now in src/Corrade, everything from
src/Plugins is now in src/MagnumPlugins, everything from external/ is in
src/MagnumExternal. Added new CMakeLists.txt file and updated the other
ones for the moves, no other change was made. If MAGNUM_BUILD_DEPRECATED
is set, everything compiles and installs like previously except for the
plugins, which are now in MagnumPlugins and not in Magnum/Plugins.
12 years ago
Vladimír Vondruš
6f12e2c741
Math: proper error when using deprecated header.
12 years ago
Vladimír Vondruš
46df7734a9
Audio: reorder includes.
12 years ago
Vladimír Vondruš
a3d4fc0042
Platform: forgot to initialize variable.
...
Caused crash on startup for both GlutApplication and *XApplication.
Sorry about that.
13 years ago
Vladimír Vondruš
c84fa89281
Properly error out when using unsupported header.
13 years ago
Vladimír Vondruš
92dce50d4d
Documented internal formats unsupported in 3D textures.
13 years ago
Vladimír Vondruš
6c2c020b89
Added some TODOs.
13 years ago
Vladimír Vondruš
c5b80e76d9
Fix compilation on Emscripten.
13 years ago
Vladimír Vondruš
9418822d25
Platform: don't store useless variable on Emscripten.
13 years ago
Vladimír Vondruš
89d9b47529
Removed forgotten call from Mesh test.
...
No change in test results.
13 years ago
Vladimír Vondruš
66ecc2ee48
Documented texture formats disallowed in *Texture::setStorage().
13 years ago
Vladimír Vondruš
40af1ed693
SceneGraph: documentation update for feature classes.
13 years ago
Vladimír Vondruš
2b4d52ea3c
SceneGraph: template implementation file for Drawable class.
...
The class has virtual member, so it's good to have it in one place and
not in thousand five ones.
13 years ago
Vladimír Vondruš
4395a1d21e
Platform: rename Sdl2Application::Configuration::Flags to WindowFlags.
...
Flags etc. will be used for context flags in the future and this would
result in naming collision.
13 years ago
Vladimír Vondruš
46e2ca80cd
Various documentation fixes and updates.
...
{} in Matrix constructor caused Doxygen to forget all functions after
it.
13 years ago
Vladimír Vondruš
314a47399b
Fix index buffer offset in MeshView.
...
I'm not sure why I marked this as bug instead of fixing this directly.
The mesh test now fully passes.
13 years ago
Vladimír Vondruš
5ad98d41ca
Expose vertex attribute size as vector size + vector count.
...
Makes it possible to properly compute offset when adding matrix
attributes to mesh. The matrix-related test cases in Mesh test are now
passing. The vector count is now enum value to make it more clear that
that is compile-time constant independent of what was said in
constructor.
13 years ago
Vladimír Vondruš
1456718c7c
Fully test mesh functionality.
...
This was painful. The test currently fails for a few reasons, see
following commits.
13 years ago
Vladimír Vondruš
7bda254690
Doc++
13 years ago
Vladimír Vondruš
89c7d75a45
Fix return value from *Query::result<bool>().
...
This is just a convenience wrapper around result<UnsignedInt>(), so we
can implement it using that. And return true whenever the result is
nonzero (previously was returning true for 1 and false for 0, 2, 3,
etc., which is wrong). The tests now pass again.
13 years ago