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
Vladimír Vondruš
ae2b2cd0f6
Platform: undefine more Xlib nonsense.
...
Status conflicts with *Framebuffer::Status enum.
13 years ago
Vladimír Vondruš
c5bab9bb52
Added convenience Color3ub and Color4ub typedefs.
13 years ago
Vladimír Vondruš
f31cbccbcc
Default template parameter for Buffer::data(), templated Image::data().
...
To have BufferImage::buffer().data() consistent with Image::data()
(default is unsigned char data type, but it is possible to reinterpret
the data). Saves some ugly code:
Image2D image(ColorFormat::RGB, ColorType::UnsignedByte, ...);
Color3ub a = reinterpret_cast<Color3ub*>(image.data())[0]; // before
Color3ub b = image.data<Color3ub>()[0]; // after
13 years ago
Vladimír Vondruš
f0a8d5d047
Updated documentation of framebuffer classes.
13 years ago
Vladimír Vondruš
5e5b5e9c4c
Updated documentation of mesh classes.
13 years ago
Vladimír Vondruš
4d252ac643
Fully test shader functionality.
13 years ago
Vladimír Vondruš
7530605f29
Documentation update for shader classes.
13 years ago
Vladimír Vondruš
1b9ff6a2df
Test Mesh::indexSize().
...
I wonder if it is possible to test the function even more.
13 years ago
Vladimír Vondruš
18eb3cd0dc
Update and fix documentation, remove obsolete TODO.
...
Don't link to inexistent or deprecated things.
13 years ago
Vladimír Vondruš
18682203ef
Don't expose unneeded ES2 extensions under ES3.
...
They provide the same or slightly different functionality as is present
in ES3 itself, causing confusion. Fortunately this change required only
one modification in Context test and nowhere else.
13 years ago
Vladimír Vondruš
340d020507
Math: make Matrix::Matrix(T) constexpr also under CC 4.6.
13 years ago
Vladimír Vondruš
c3a9f429be
Math: overload Matrix::diagonal() in subclasses to return proper type.
13 years ago
Vladimír Vondruš
01599e7d11
Math: overload RectangularMatrix::diagonal() in subclasses.
...
...to return proper type.
13 years ago