Vladimír Vondruš
e6ba699b6f
GL: make this doc section easier to find.
7 years ago
Vladimír Vondruš
8d22aaa28f
GL: improve docs for RenderbufferFormat, list alternatives.
...
I'm spending way too much time looking for alternatives here, so this
helps me.
7 years ago
Vladimír Vondruš
d0a02a2429
GL: allow reading of zero-size images.
...
It's useless, but not disallowed -- it shouldn't assert on that.
7 years ago
Vladimír Vondruš
c0a206d5f4
GL: minor code reordering, doc++.
...
Getter and setter *should* be next to each other. I was horrified for 9
seconds that there's no setViewport().
7 years ago
Vladimír Vondruš
df6582d948
Platform: ask for debug context if --magnum-gpu-validation is enabled.
...
Also mention the option more prominently in related docs.
7 years ago
Vladimír Vondruš
8af19f21f0
Audio: make it possible to disable OpenAL extensions as well.
...
Finally, a feature parity.
7 years ago
Vladimír Vondruš
8131701e7e
Doc++, updated credits and changelog.
7 years ago
Vladimír Vondruš
a14be9b154
Adapt to (breaking) Corrade changes.
7 years ago
Vladimír Vondruš
1b37d22006
Doc++
7 years ago
Vladimír Vondruš
b0def187ae
Mutable image views can be passed via const&.
...
We're not changing the view parameters, only writing to the memory it
points to.
7 years ago
Vladimír Vondruš
07b3253714
GL: make it possible to read pixel data into mutable image views.
...
UGH I hate cube maps and all the driver bugs that make them so freaking
annoying to implement.
7 years ago
Vladimír Vondruš
09f5a15d36
GL: my engrish is bettar now.
7 years ago
Vladimír Vondruš
e8cd9a2b93
GL: minor cleanup in the test.
7 years ago
Vladimír Vondruš
1b7c2d9666
Use Basic[Mutable]ImageView aliases instead of nondescript raw types.
7 years ago
Vladimír Vondruš
93789721b2
De-inline Image headers, remove dependency on ImageView.
...
This means users have to add some more #includes on their side. Sorry
but it's for your own good :P
7 years ago
Vladimír Vondruš
41b975cb69
New Mutable[Compressed]ImageView types for non-const image data views.
7 years ago
Vladimír Vondruš
3d5f50ac49
Test: use the new setTestCaseTemplateName().
7 years ago
Vladimír Vondruš
6144a73c8e
GL: avoid using deprecated templated Image::data() in tests.
...
This discovered quite a few potentially dangerous casts, so yay!
7 years ago
Vladimír Vondruš
1c8cbaa68a
GL: trim vendor string in the engine startup log.
...
Mesa has a space at the end and my OCD goes crazy about that.
7 years ago
Vladimír Vondruš
bb921d0f86
GL: print a message about GPU validation in verbose log output.
7 years ago
Vladimír Vondruš
3508439445
GL: clarify Context::DetectedDriver value docs.
7 years ago
Vladimír Vondruš
14911500bd
GL: warn if using --magnum-gpu-validation w/o debug context on AMD.
...
That's so far the only driver where it matters I think, so not printing
the warning elsewhere.
7 years ago
Vladimír Vondruš
e746b38d3c
GL: what?! why? no.
7 years ago
Vladimír Vondruš
7feb6df0ab
GL: harden image upload tests in GLCubeMapGLTest.
...
In particular, the usual setStorage() + six times setSubImage() wasn't
really tested anywhere except in fullImageQuery(), which usually fails
for other reasons anyway. Also testing more than just +X, since SOME
DRIVERS apparently fail with other coordinates.
7 years ago
Vladimír Vondruš
bc9068efda
GL: harden multi-Context test.
7 years ago
Vladimír Vondruš
51cd4b3dd0
GL: fixed a 64-to-32-bit conversion warning on MSVC.
7 years ago
Vladimír Vondruš
11a94c16a3
GL: added Context::makeCurrent().
7 years ago
Vladimír Vondruš
a3c7968e64
Adapt to BUILD_MULTITHREADED being part of Corrade now.
...
If building with deprecated features enabled, the buildsystem checks if
the option is still set and is inconsistent with what Corrade reports
and reports a deprecation warning. For backwards compatibility the
MAGNUM_BUILD_MULTITHREADED CMake variable and preprocessor macro are
still provided as well.
7 years ago
Vladimír Vondruš
8e714280fa
GL: test for multithreaded behavior of GL::Context.
7 years ago
Vladimír Vondruš
cf1c78f93c
GL: ffs, a time query and nowhere it mentions *what* is the time unit.
7 years ago
Vladimír Vondruš
f419b25763
Doc++
7 years ago
Vladimír Vondruš
11b9f2382c
GL: doc++
7 years ago
Vladimír Vondruš
687496fccb
CMake: make OpenGL_GL_PREFERENCE settable from outside.
7 years ago
Vladimír Vondruš
a3ea5154d6
GL: explicitly instantiate template function.
...
It suddenly started causing linker errors on macOS Travis builds.
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
Max Schwarz
f58c26c66d
GL: add unit test for Platform::GLContext{NoCreate, ...}
7 years ago
Vladimír Vondruš
0b43018f6c
GL: make Context constructors and internal methods protected.
...
But hidden from Doxygen. So these can be called from both
Platform::GLContext (without friending) and also tested.
7 years ago
Max Schwarz
c38319ef00
GL: Use Corrade::Containers::Pointer for Context _state
...
The old raw pointer could cause a segfault if the context is never
created, since the destructor unconditionally deleted _state.
7 years ago
Vladimír Vondruš
927b75efaf
GL: this internal API always takes a C string anyway.
7 years ago
Vladimír Vondruš
f8b9c69b16
Don't use std::tie() on std::pair().
...
It's nice and all, but including the whole <tuple> just for that is not
worth it.
7 years ago
Vladimír Vondruš
b24ffa4a3e
Use min() / max() / minmax() from Math instead of std::.
...
First step to avoid the <algorithm> header.
7 years ago
Vladimír Vondruš
18d8b11ecd
Doc++
7 years ago
Vladimír Vondruš
84d553cd28
GL: get rid of std::bitset and std::array in Context internals.
...
We have our own lighter versions.
7 years ago
Vladimír Vondruš
377719147c
Audio, GL: remove deprecated Context conversion to pointer.
...
Deprecated since 2017.
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