Vladimír Vondruš
2b7a9b7eaf
GL: fix AbstractShaderProgram compute test on ES 3.1 contexts.
7 years ago
Vladimír Vondruš
24210a00f9
GL: disable ANGLE_instanced_arrays and OES_texture_3D on ES2 SwiftShader.
...
Turns out the extensions are advertised but the ANGLE-suffixed and
OES-suffixed entrypoints are missing, leading to crashes.
7 years ago
Vladimír Vondruš
c9937f73a0
GL: disable indexed Mesh tests on drivers w/o indexed extensions.
7 years ago
Vladimír Vondruš
f5e9ba7e8a
GL: wait, there's not just three ES instanced extensions, there's FIVE.
...
Like, why can't they just depend on each other or something?
7 years ago
Vladimír Vondruš
44a77ed918
GL: fixed broken links to extensions.
...
These were originally working around some inconsistencies in the
upstream naming, but that's fixed since.
7 years ago
Vladimír Vondruš
1ae982020d
GL: detect ANGLE using the renderer string on non-WebGL platforms.
...
No need to use such hacks there.
7 years ago
Vladimír Vondruš
b76d1226e0
GL: detect SwiftShader.
7 years ago
Vladimír Vondruš
6a982f7841
Adapted to Corrade changes.
7 years ago
Vladimír Vondruš
127c8b624b
GL: engrish.
7 years ago
Vladimír Vondruš
d6e0186dbf
GL: actually fix the VAO / element array buffer binding state interaction.
...
Fixing the new (and now failing test) from the previous commit. In
setIndexBuffer(), I was resetting the state tracker to a VAO state that
was about to be set in the very next step, and then, when doing that
next step the state tracker "optimized away" the state change because it
thought it was already done (even though it wasn't). Reordering the two
operations fixes it.
In comparison to how this was meant to be done in the original
169031fb7b , the new way should do the same
but additionally avoid a bunch of redundant state calls. Let's hope no
more bugs related to this appear.
7 years ago
Vladimír Vondruš
ee16c25125
GL: further harden VAO and index buffer binding state interaction tests.
...
This one crashes. Turns out the 169031fb7b
contained a random temporary test state instead of the real solution
(and so the comment didn't even match the code, it should have been
resetting that to 0). That also made some tests fail with DSA disabled,
but none of the tests were actual Mesh tests, just accidentally hitting
the problematic code path.
I took the opportunity to look at this more closely and investigate
*why* this failed -- turns out, in setIndexBuffer(), I was resetting
the state tracker to a VAO state that was about to be set in the very
next step, and then, when doing that next step the state tracker
"optimized away" the state change because it thought it was already done
(even though it wasn't). The new test in MeshGLTest covers this
particular case.
7 years ago
Vladimír Vondruš
de12c7ca78
doc: update changelog and credits.
7 years ago
Vladimír Vondruš
169031fb7b
GL: reset element buffer binding state tracker when switching VAOs.
...
Fixes the failing test from previous commit and obsoletes another
incomplete and ugly state tracking fix.
7 years ago
Vladimír Vondruš
df463d5452
GL: test yet another interaction of VAOs and index buffer binding.
...
Fails (well, why else would I be adding the test, right?).
7 years ago
Vladimír Vondruš
4c8195ec9b
GL: new --magnum-gpu-validation command-line option.
...
Enables KHR_debug, if available. This should have been here since ages.
7 years ago
Vladimír Vondruš
4f2f29d1bb
GL: use EnumSet instead of bool for internal flags.
...
There will be more soon.
7 years ago
Vladimír Vondruš
25ef63ecd7
TgaImporter: report error message on empty file being opened.
...
Also updated the test cases to be consistent with other image plugins.
7 years ago
Vladimír Vondruš
839a3ed1c2
TgaImporter: test non-constant alpha.
7 years ago
Vladimír Vondruš
4ab3633d5b
Trade: clarifying comment.
7 years ago
Vladimír Vondruš
df5b09744f
SceneGraph: fix build with latest Corrade.
...
TBF, I'm increasingly unhappy with this abomination.
7 years ago
Vladimír Vondruš
1346573798
Platform: document that GlfwApplication::swapInterval() doesn't exist.
7 years ago
Vladimír Vondruš
9a8e874eb4
Math: minor cleanup.
7 years ago
Vladimír Vondruš
5bfdd71af6
Math: microoptimizations.
7 years ago
Vladimír Vondruš
5a010269bd
Math: implement component-wise bool operations on BoolVector.
7 years ago
Vladimír Vondruš
d9682b49e7
doc: make the Plugins page easier to search for.
7 years ago
Vladimír Vondruš
a1356decdd
Platform: extend GLFW and SDL2 test applications.
...
Was checking how text input and key events are related.
7 years ago
Vladimír Vondruš
d0673816ef
Animation: fix TrackView to have the same default extrapolation as Track.
7 years ago
Vladimír Vondruš
5a416200a7
package/ci: enable Sdl2Application and GlfwApplication on Linux GLES.
7 years ago
Vladimír Vondruš
bd3c241830
package/ci: don't live in the Middle Ages.
...
16.04 finally has usable GLFW, so use that instead of building our own.
7 years ago
Vladimír Vondruš
7048983a88
doc: mention all new packages also in the Getting Started guide.
7 years ago
Vladimír Vondruš
5cf84d6956
doc: mention MSYS2 Magnum Integration package.
7 years ago
Guillaume Jacquemin
3e7adf67d3
package/msys/magnum: update PKGBUILD optdepends
...
This change depends on mosra/magnum-integration#39's merge.
7 years ago
Vladimír Vondruš
e75c7639e7
Math: test Matrix[34]::scalingSquared().
7 years ago
Vladimír Vondruš
b31f886fe2
DebugTools: deprecate ForceRendererOptions::scale() in favor of size().
...
Who named it like that?!
7 years ago
Vladimír Vondruš
428773fdcb
GL: minor cleanup in the tests.
7 years ago
Vladimír Vondruš
6ee6898c31
GL: properly execute these tests on WebGL 1 as well.
7 years ago
Vladimír Vondruš
2d5e2fda41
SceneGraph: properly prefix the assertion message.
7 years ago
Vladimír Vondruš
1bd3d270d8
Compile ResourceManager documentation snippets.
7 years ago
Vladimír Vondruš
2d04b22aba
Make it possible to pass Containers::Pointer to ResourceManager APIs.
...
Also cleaned up the test from naked new. This still needs to be reworked
to not do manual memory management inside (and then deprecate the raw
pointer versions), but for now this has to suffice.
7 years ago
Vladimír Vondruš
304cd6f036
DebugTools: greatly simplified ForceRenderer and ObjectRenderer impls.
...
This code was neglected for a while. No need to have naked new or
explicit handling of vertex/index buffers anymore.
7 years ago
Vladimír Vondruš
5cf147ec21
DebugTools: fix an assertion in ForceRenderer.
7 years ago
Vladimír Vondruš
44997465a7
DebugTools: test ForceRenderer and ObjectRenderer.
...
I spent some time trying ForceRenderer3D to produce the same image as
ForceRenderer2D but it *does not want* to show the arrowhead to me, so I
gave up.
7 years ago
Vladimír Vondruš
537177ca26
DebugTools: added screenshot().
7 years ago
Vladimír Vondruš
d4b3e950d3
DebugTools: minor cleanup.
7 years ago
Vladimír Vondruš
db44b570f7
DebugTools: make CommpareImage usable with CORRADE_COMPARE_AS().
7 years ago
Vladimír Vondruš
1a946e5bc3
Updated toolchains submodule with an android_create_apk() fix.
7 years ago
Vladimír Vondruš
49d70377af
Test: fixed various unused function warnings.
7 years ago
Vladimír Vondruš
d9e7b3c384
GL: added *Framebuffer::implementationColorRead{Format,Type}().
...
Long overdue. Also wow, the drivers ARE SHIT.
7 years ago
Vladimír Vondruš
0a4228cb29
package/ci: some cosmic rays affecting Travis, again.
...
I'm using a non-beta 9.3 elsewhere without problems, so let's do that
here too.
7 years ago
Vladimír Vondruš
2b08995c24
Math: after the pack() fix, some Android issues are no more. Yay!
7 years ago