Vladimír Vondruš
cc1d878cff
Math: put types before static functions.
7 years ago
Vladimír Vondruš
8ee5f5cc6d
Math: include proper header for std::div().
7 years ago
Vladimír Vondruš
e98e10a58e
Math: make Constants base incomplete.
7 years ago
Vladimír Vondruš
676b19ec0b
Math: avoid using std::array.
...
Plain C array and a view on it is much better. And lighter weight. And
compiles faster.
7 years ago
Vladimír Vondruš
93b62148ce
Math: avoid BOMs.
...
Caused acme.py to fail. I need to fix acme.py to handle this properly,
but the BOM should not have been here in the first place.
7 years ago
Vladimír Vondruš
77a8c0c99b
Math: make it possible to opt-out of Tweakable parsers.
...
Again, for magnum-singles export.
7 years ago
Vladimír Vondruš
cee530733e
Math: make it possible to opt out of Debug output operators.
...
Undocumented at this point, will be used for magnum-singles export.
7 years ago
Vladimír Vondruš
e7af6bf07b
Math: minor cleanup and code shuffling.
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š
b24ffa4a3e
Use min() / max() / minmax() from Math instead of std::.
...
First step to avoid the <algorithm> header.
7 years ago
Vladimír Vondruš
2cd1e4b7c6
Do not use GL-related ifdefs for API-agnostic functionality.
7 years ago
Vladimír Vondruš
6735d4547f
Don't undef MAGNUM_TARGET_VK by accident.
...
Stupid. Good thing nobody's using that yet.
7 years ago
Vladimír Vondruš
48765bdfa3
DebugTools: no need to use std::array.
...
C array is great. Use it.
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š
e6fb085db7
DebugTools: minor cleanup.
7 years ago
Vladimír Vondruš
10fec86534
DebugTools: no need to use std::vector in CompareImage internals.
...
Containers::Array will do juust fine.
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š
0c33aeca9e
Use HTTPS for submodule URLs.
...
Goes easier through firewalls and also is encrypted.
7 years ago
Vladimír Vondruš
6f3c6f85ad
DebugTools: expect more differences in renderer tests on ARM Mali.
...
This makes the tests pass 100%.
7 years ago
Vladimír Vondruš
7cc70c6dad
DebugTools: fix textureSubImage() test on ARM Mali.
...
This time it was just a missing state, no crazy shit like gl_VertexID
not working.
7 years ago
Vladimír Vondruš
f6a978c5c4
DebugTools: properly reference rendereing test files.
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š
a1ed7f4863
GL: fix Framebuffer::implementationColorRead*() to follow spec.
...
Not sure what I thought here, but using GL_IMPLEMENTATION_COLOR_READ_*
with glGetFramebufferParameteriv() is possible only since GL 4.5
(there's no extension adding it) and there's no equivalent for it in
GLES 3.1. I assumed that since the entry point is defined in 3.1 then it
would also accept the same enum, but apparently not -- and this
inconsistency is not fixed in 3.2 either.
Funnily enough, all drivers I tried (Mesa ES, SwiftShader, ANGLE) were
accepting this. The first driver that complained was ARM Mali on Huawei
P10 and there I assumed a driver bug -- but on the contrary, this is the
only driver following the spec properly :)
Now the glGetFramebufferParameteriv() API (and the DSA equivalent) is
used only on GL 4.5 contexts and up, everywhere else it's done using
the old-style glGetInteger(). I also renamed the implementations to not
misleadingly mention ES 3.1, since it has nothing to do with this. The
code path dispatch code is a bit entangled due to all the workarounds,
hopefully not breaking any behavior that worked before.
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š
2f406315a2
Added Hunter badge to README.
7 years ago
Vladimír Vondruš
aa293440e0
modules: updated FindCorrade.cmake.
7 years ago
Vladimír Vondruš
d008d59c79
GL: fix MeshGLTest::bindScratchVaoWhenEnteringExternalSection().
...
Would fail on an incomplete framebuffer error on framebuffer-less
windowless contexts. Didn't happen before, I think it's because of a new
check in a new Mesa.
7 years ago
Vladimír Vondruš
689fbe7f35
GL: unindent the workaround list so it shows better in the docs.
7 years ago
Vladimír Vondruš
dce0e052ef
DebugTools: increase test fuziness for Intel Windows drivers.
...
This is how adapting to different drivers should look. Not discovering
seriously broken *basic* functionality.
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š
5198910d03
GL: XFAIL cube map tests we have no chance of fixing on Intel Windows.
7 years ago
Vladimír Vondruš
d18e1d9a54
GL: avoid assertions due to random memory on shitty Intel Windows drivers.
...
This code path is not run there due to the newly added
"intel-windows-broken-dsa-for-cubemaps" workaround, but in case someone
disables it for testing purposes the code should not randomly blow up on
an assertion in compressedPixelFormatPack().
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š
fa62122c98
GL: add XFAIL to some well-known failures with Intel Windows drivers.
7 years ago
Vladimír Vondruš
85754c813a
GL: don't require ARB_DSA in the tests only due to laziness.
...
This uncovers some potential new issues in drivers affected by cubemap
bugs / workarounds.
7 years ago