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š
159623120f
package: adapted to Corrade Jenkins CI changes.
...
Namely using deprecated/non-deprecated Corrade build.
12 years ago
Vladimír Vondruš
4698c4276f
doc: updated directory documentation.
...
Noting what dir is part of which library.
12 years ago
Vladimír Vondruš
24d470e0b1
doc: don't show files used to generate the documentation.
...
Also useless.
12 years ago
Vladimír Vondruš
e2abab17b7
doc: show include for each class.
...
Had to explicitly disable showing includes for files. Useless stuff.
12 years ago
Vladimír Vondruš
d34ea5d5be
doc: added Doxygen layout file.
...
Will be used to tweak the documentation output even more.
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š
be3f3664fe
modules: updated FindCorrade.cmake.
12 years ago
Vladimír Vondruš
2b2ad57280
Making includes absolute, part 3: updated FindMagnum.cmake.
...
If MAGNUM_BUILD_DEPRECATED is defined, it behaves the same as
previously, although you may need to recreate your build dir.
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š
adfe95fb9f
modules: updated FindCorrade.cmake.
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š
9617646c41
package: explicitly build also WindowlessGlxApplication in dev PKGBUILDs.
12 years ago
Vladimír Vondruš
a3d4fc0042
Platform: forgot to initialize variable.
...
Caused crash on startup for both GlutApplication and *XApplication.
Sorry about that.
12 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
Vladimír Vondruš
df69909a12
Fully test query functionality.
...
The test now fails due to wrong result<bool>() implementation.
13 years ago
Vladimír Vondruš
b72533602c
Minor cleanup.
13 years ago
Vladimír Vondruš
29489dc21a
MeshTools: simplified fullScreenTriangle() code, fixed literals.
13 years ago
Vladimír Vondruš
bc8368fcf2
MeshTools: don't return naked pointer from fullScreenTriangle().
...
Also make it possible to specify version for which we want it.
13 years ago
Vladimír Vondruš
47b16d11b1
Use more descriptive resource group name.
13 years ago
Vladimír Vondruš
98df39d9c2
Use *Image::dataSize() in Framebuffer::read().
...
Fixes Framebuffer test when ARB_robustness is used (without
ARB_robustness it was overwriting memory and could lead to weird
behavior).
13 years ago
Vladimír Vondruš
73cb557291
Added *Image::dataSize().
...
Will be used to compute size of data array needed to store image of
given size.
13 years ago
Vladimír Vondruš
2826345111
Fix AbstractImage::pixelSize() for depth and stencil types.
...
Also make the assertion more descriptive and add "to sleep better" test.
This fixes the assertion failure in FramebufferGLTest.
13 years ago
Vladimír Vondruš
1fcabbdfcb
Export publicly used symbol.
...
Framebuffer test now at least links.
13 years ago
Vladimír Vondruš
dff292a5f1
Test framebuffer functionality.
...
The attach() functions are a total mess, need to be reworked along with
typesafe array etc. textures. The test doesn't link or pass due to some
issues, see the following commits.
13 years ago
Vladimír Vondruš
bdc77c744b
Verify that framebuffer extension is available for test on desktop GL.
13 years ago