Vladimír Vondruš
e5175583a7
Added Image::pixels(), ImageView::pixels() and Trade::ImageData::pixels().
...
Hard to explain in a tweet, err, commit message. Blog post incoming.
7 years ago
Vladimír Vondruš
4b6fabb004
Math: ability to Debug colors as actual colored squares.
7 years ago
Vladimír Vondruš
988a33c000
Added convenience BoolVector2, BoolVector3 and BoolVector4 typedefs.
7 years ago
Vladimír Vondruš
fb930187c1
Animation: adapt to Corrade changes.
7 years ago
Vladimír Vondruš
da7ac5a4f0
doc: updated changelog.
7 years ago
Vladimír Vondruš
8b37d4fd78
modules: different search order for plugin libs in FindMagnum.
...
This makes Vcpkg-built static plugins be found correctly. Previously
both the debug and release variant pointed to the same lib.
7 years ago
Vladimír Vondruš
eccebcbdd7
Accept nullptr in AbstractResourceLoader::set().
...
Also implement setNotFound() using set() and make the code more
flexible.
7 years ago
Vladimír Vondruš
de1e1fa4d5
MeshTools: make interleave() work with Corrade containers too.
7 years ago
Vladimír Vondruš
e1061f1766
MeshTools: fix a bad corner case in compile().
...
Having texture coordinates *and* colors is very unusual, nevertheless it
was a bug.
7 years ago
Vladimír Vondruš
36ba5f4333
Math: ensure ZeroInit and IdentityInit constructors are explicit.
...
Like NoInit ones. Not sure what I was doing there.
7 years ago
Vladimír Vondruš
1f305e7cbe
CMake: give priority to our own module path.
7 years ago
Vladimír Vondruš
687496fccb
CMake: make OpenGL_GL_PREFERENCE settable from outside.
7 years ago
Vladimír Vondruš
522db683a9
external: provide the GL_VERSION_* defines in our GL headers.
...
This fixes a conflicting definition of GLsizeiptr and GLintptr when
Magnum is combined with qopengl.h from Qt on Windows. Khronos has it as
`signed long int`, whereas qopengl.h as ptrdiff_t, which is just `int`.
7 years ago
Vladimír Vondruš
d557563a83
doc: updated changelog and credits.
7 years ago
Vladimír Vondruš
e8d6f337f4
doc: fix invalid references in changelog.
7 years ago
Vladimír Vondruš
99ab736f93
doc: whoops, wrong link.
7 years ago
Vladimír Vondruš
b77651cf93
GL: remove Buffer::set[Sub]Data() taking std::array / std::vector.
...
Instead make use of the ArrayView STL compatibility. To avoid breaking
almost all existing code the Corrade/Containers/ArrayViewStl.h header is
included implicitly when MAGNUM_BUILD_DEPRECATED is defined, but this
will get removed in some future release to speed up the compilation.
7 years ago
Vladimír Vondruš
b05c887375
Audio, GL: make the extension lists constexpr.
...
The Audio::Extension::extensions() and GL::Extension::extensions()
functions now return an ArrayView instead of a reference to std::vector.
Having a function-local static std::vector is the worst thing ever. Ugh.
7 years ago
Vladimír Vondruš
3626562e1d
Adapted to Corrade changes.
...
Mostly missing includes now.
7 years ago
Vladimír Vondruš
fb27ecd87d
doc: updated changelog and credits.
7 years ago
Vladimír Vondruš
7f7728a592
doc: adapted to m.css changes.
7 years ago
Vladimír Vondruš
93686746ab
Pernament is not a word.
...
/me hides in embarrassment
7 years ago
Vladimír Vondruš
5cf4f6bb19
Math: be nicer to people and preserve compatibility.
...
This broke backwards compatibility pretty heavily for little reason.
Putting back a compat include.
7 years ago
Vladimír Vondruš
0339a59995
MagnumMath as a single-header lib.
...
Let's shake the foundations of *everything* now.
7 years ago
Vladimír Vondruš
db1b888188
doc: mention ADB and multiple connected Android devices.
7 years ago
Vladimír Vondruš
53c1549e69
Math: deprecate Frustum::planes() in favor of begin()/end().
...
This allows us to get rid of the StaticArrayView, which is the last
roadblock on the way to a single-header math. The planes() are now
deprecated, along with the include, and will get removed in a future
release.
7 years ago
Vladimír Vondruš
c12680ec38
Math: move batch functionality to FunctionsBatch.h.
...
Avoids including a (relatively) large ArrayView in Functions.h. Yes,
we are now at a point where 500 lines matter.
7 years ago
Vladimír Vondruš
547a3f3cea
Math: use a dedicated type for HSV colors instead of a tuple.
...
Pros:
* faster compile times (#include <tuple> is 13k lines, ugh)
* ability to have NoInit and ZeroInit constructors
* ability to do fuzzy compare
* named members, so we don't have to use mutable std::tie()
Cons:
* ... none?
The old Color[34]::Hsv is still a tuple and the new ColorHsv is
convertible to/from it (and even std::tie() works). These are all
deprecated (along with the <tuple> include).
7 years ago
Vladimír Vondruš
64bc7f9c8e
Math: moved configuration value parsers to a dedicated header.
...
There's a lot of string operations and that's nothing good to have
included everywhere. Should speed up the compilation quite a bit.
7 years ago
Vladimír Vondruš
18d8b11ecd
Doc++
7 years ago
Vladimír Vondruš
6cf2282c43
doc: updated changelog.
7 years ago
Vladimír Vondruš
8ba3489265
Audio: removed deprecated Context::hrtfSpecifier().
...
Deprecated since 2018.02, use hrtfSpecifierString() instead.
7 years ago
Vladimír Vondruš
377719147c
Audio, GL: remove deprecated Context conversion to pointer.
...
Deprecated since 2017.
7 years ago
Vladimír Vondruš
90577d5bfc
Platform: removed deprecated Application constructors taking nullptr.
...
Deprecated since 2017, use the ones taking NoCreate instead.
7 years ago
Vladimír Vondruš
86a21282d6
GL: removed deprecated Mesh::IndexType and indexSize().
...
Deprecated as part of the 2018.04 GL split, use GL::meshIndexType() and
GL::meshIndexSize() instead.
7 years ago
Vladimír Vondruš
4726094906
GL: removed deprecated CubeMapTexture::Coordinate.
...
Deprecated since 2016.
7 years ago
Vladimír Vondruš
dad4fc7396
GL: removed deprecated Context::DetectedDriver aliases.
...
Deprecated since 2017.
7 years ago
Vladimír Vondruš
ecc0ab6a59
GL: removed long-deprecated templated Buffer data access APIs.
7 years ago
Vladimír Vondruš
36a3f32d64
GL: make *Texture::unbindImage() work on ARM Mali.
...
Easy to fix, but the format should not matter in this case at all.
7 years ago
Vladimír Vondruš
b7d9171b54
GL: disable EXT_disjoint_timer_query on ARM Mali in a shell.
7 years ago
Vladimír Vondruš
6c5d037005
GL: detecting ARM Mali drivers on Android.
7 years ago
Vladimír Vondruš
e699d2eea4
GL: don't assume debug output callbacks are called from the same thread.
...
Interesting that I didn't run into this until testing on Mesa AMD
drivers. So far it worked for NV, Mesa Intel, Intel Windows, Android and
many more. Heh. Also improved the test to actually verify the user
pointer gets passed through correctly and updated the docs to reflect
this behavior.
7 years ago
Vladimír Vondruš
e5a8191b70
GL: fix line wrapping, mention Chromium bug zoo as well.
7 years ago
Vladimír Vondruš
094ea1bbd0
GL: new "intel-windows-broken-dsa-integer-vertex-attributes" workaround.
7 years ago
Vladimír Vondruš
3c1a12c677
GL: new "intel-windows-broken-dsa-indexed-queries" workaround.
7 years ago
Vladimír Vondruš
174e63e8d0
GL: new "intel-windows-broken-dsa-framebuffer-clear" workaround.
...
I'm too lazy to write the commit messages now.
7 years ago
Vladimír Vondruš
89e1c49d2c
GL: "intel-windows-broken-dsa-layered-cubemap-array-framebuffer-attachment".
...
New workaround. The names are getting too effing long.
7 years ago
Vladimír Vondruš
f9c6deae63
GL: new "intel-windows-half-baked-dsa-texture-bind" workaround.
...
This is broken as well, in a novel and interesting way. Haha.
7 years ago
Vladimír Vondruš
580a3c5553
GL: new "intel-windows-broken-dsa-for-cubemaps" workaround.
...
Fixes everything related to cube maps when ARB_DSA is used.
7 years ago
Vladimír Vondruš
ece6eef5a4
GL: new "intel-windows-buggy-dsa-bufferdata-for-index-buffers" workaround.
...
This is getting ridiculous, heh.
7 years ago