Vladimír Vondruš
b64ef212df
Test: we have halves now, so why not test them.
9 years ago
Vladimír Vondruš
ca000e1d52
Text: use container comparison for better test output.
9 years ago
Vladimír Vondruš
e0ee452297
Don't use deprecated Buffer functionality.
9 years ago
Vladimír Vondruš
c576644c9f
Added Buffer::mapRead() APIs.
9 years ago
Vladimír Vondruš
944b068f6d
Buffer: deprecate templated overloads of data(), subData() and map().
...
They were utterly confusing, as it was completely unclear what the units
of offset/size parameters are, whether byte sizes or element counts (and
moreover, some of these APIs had offset in bytes and size in count and
some not). All of those are deprecated now, with hinting the user to
convert to non-templated APIs in combination with
Containers::arrayCast(). Moreover, the non-templated range map()
function doesn't return just void* anymore, but a properly sized
ArrayView<char>. The old map() (which doesn't take range) still returns
just a pointer (but also a char* instead of void* for consistency), as
getting size there is non-trivial (and impossible on old ES/WebGL).
The switch to ArrayView might be a source breaking change, but I
silently hope that everyone was just using the templated functions
anyway (that are deprecated now). So, in short, this was before:
T* a = buf.map<T>(0, size_in_what_i_have_no_idea);
And this is now, with proper size safety and clear API:
ArrayView<T> a = Containers::arrayCast<T>(buf.map(0, size_in_bytes);
The deprecated APIs will be removed at some point in the future, as
usual.
9 years ago
Vladimír Vondruš
f33dc5ba75
Test: improve XFAIL messages a bit.
9 years ago
Vladimír Vondruš
1a279b4aae
ObjImporter: doc++
9 years ago
Squareys
20110358b0
Audio: Clear error for alcCreateContext failure on emscripten
...
Emscripten AL does not support specifying attributes and does not set a
ALC error when alcCreateContext fails.
Signed-off-by: Squareys <squareys@googlemail.com>
9 years ago
Squareys
30de872608
Audio: print human-readable error on context creation failure.
9 years ago
Vladimír Vondruš
3811a1b208
AnySceneImporter: support most of new formats from AssimpImporter.
9 years ago
Vladimír Vondruš
98a676ef65
Internal format should be equal to format on ES2 for tex storage fallback.
...
Fixes a case where passing TextureFormat::RGBA8 to
Texture::setStorage() on a platform w/o EXT_texture_storage would emit
an error. Now it passes GL_RGBA to both format and internalFormat
fields.
9 years ago
Vladimír Vondruš
b58029f62b
Cube map arrays *are* in ES now.
9 years ago
Vladimír Vondruš
fc54226a83
Make internal function file-local and fix its name.
9 years ago
Vladimír Vondruš
5aae094086
doc: enforce some sane page order.
9 years ago
Vladimír Vondruš
54f6da70a3
doc: added changelog since the last public snapshot.
9 years ago
Vladimír Vondruš
7423170645
Updated project website in hopefully all places.
9 years ago
Vladimír Vondruš
b16755fc13
Doxygen fixes and workarounds.
9 years ago
Vladimír Vondruš
98e9ac2d92
Minor cleanup.
9 years ago
Vladimír Vondruš
80e5cdf00d
Update project website to a new location.
...
At least in the main README. Lotta other places forgotten now, but ...
later!
9 years ago
Vladimír Vondruš
2384d5cccd
external: define also __gl3_h_ in the OpenGL headers.
...
Fixes bad interaction with Qt and system GL headers on macOS.
9 years ago
Vladimír Vondruš
e5bd799003
package/ci: Travis now explicitly needs libgl-dev.
9 years ago
Vladimír Vondruš
dca4ba7881
CMake: specify folders for plugins as well.
9 years ago
Vladimír Vondruš
7cb5848ea6
CMake: organize targets in folders.
9 years ago
Vladimír Vondruš
6f83ed516b
modules: give MAGNUM_DEPLOY_PREFIX a saner default.
...
Otherwise, when used as-is in the install() command, CMake complains
that DESTINATION can't be empty.
9 years ago
Vladimír Vondruš
5f6c032275
CMake: enable only C++, if possible.
...
Speeds up the configure run quite a bit, especially on Emscripten.
9 years ago
Vladimír Vondruš
df5c6fbd35
modules: added MAGNUM_DEPLOY_PREFIX cache variable.
...
Like CMAKE_INSTALL_PREFIX, but for deploying final executables (such as
Emscripten apps).
9 years ago
Vladimír Vondruš
05ed476446
CMake: use relative install paths.
...
CMAKE_INSTALL_PREFIX is prepended automatically for relative paths.
9 years ago
Vladimír Vondruš
ed7eac0b42
Platform: implement Sdl2Application::windowSize() on Emscripten.
9 years ago
Vladimír Vondruš
1cf11a58ca
Updated CREDITS.md.
9 years ago
Vladimír Vondruš
8757883bea
Math: don't expect long double (de)normalization to work on MSVC.
...
Ever. Because MSVC treats long double the same way as double.
9 years ago
Vladimír Vondruš
d7acd86d3c
DebugTools: the TODO still holds for MSVC 2017.
9 years ago
Vladimír Vondruš
0d7e1ba290
Shapes: functions are still not functions on MSVC 2017.
9 years ago
sigman
04c7ffdf1b
Math/Algorithms: MSVC 2017 needs operator==() as well.
9 years ago
Vladimír Vondruš
c6d77161a4
Math/Algorithms: deprecated std::iterator still needed in MSVC 2017.
9 years ago
Vladimír Vondruš
fb9dee2677
Math: MSVC 2017 gets confused by default parameters in constexpr funcs.
9 years ago
sigman
24183ce3ba
MagnumFont: explicit constructor required for MSVC 2017.
9 years ago
Vladimír Vondruš
2e14d2d752
modules: updated FindCorrade.cmake.
9 years ago
sigman
e287c3c410
Add vs2017 to the build images
9 years ago
Krzysztof Szenk
f1f34df6a0
Math: fixed bit setting bug in BoolVector::set
9 years ago
Krzysztof Szenk
4f746ce729
Added a test case for BoolVector::set
...
Also thought, that it'd be nice to cover bit setting from 1 to 0.
9 years ago
Vladimír Vondruš
477bf4c958
modules: work around CMake 3.0 bug with imported targets.
...
This affect virtually *all* targets so I would need to put this
everywhere, which I'm not. I am putting this only for the most often
used (and thus most problematic) dependencies, which is SDL and GLFW.
9 years ago
Vladimír Vondruš
c12e316c0e
package/ci: build GlfwApplication on AppVeyor.
9 years ago
Vladimír Vondruš
c317d56a02
package/ci: build GLFW as dynamic for consistency.
9 years ago
Vladimír Vondruš
142fcae746
package/ci: forgot to test building of GlutApplication.
...
It's about to be deprecated/removed, but it should still work.
9 years ago
Vladimír Vondruš
c8416ca4c3
package/ci: cache downloaded CMake on Travis.
9 years ago
Vladimír Vondruš
b109d520a9
MeshTools: doc++
9 years ago
Vladimír Vondruš
767f02525b
modules: updated FindCorrade.cmake.
9 years ago
Vladimír Vondruš
219417e0fd
Fix framebuffer attachments on ES2 w/o separate read/draw bindings.
...
Thanks to @julee for pointing this out.
9 years ago
Vladimír Vondruš
771bc60a0a
package/archlinux: test more GL code paths in development PKGBUILDs.
9 years ago
Vladimír Vondruš
8e6fd52963
Fix the unfortunate interaction of VAOs and buffers from parent commit.
...
The test now passes again.
9 years ago