Vladimír Vondruš
3f0737fa98
Added missing ARB_compute_shader limit queries.
10 years ago
Vladimír Vondruš
305f066003
Platform: another chaotic limit position.
...
I need to sort this out.
10 years ago
Vladimír Vondruš
926c9532c6
Oops.
10 years ago
Vladimír Vondruš
62064d523d
ARB_shader_storage_buffer_object seems to be done now.
...
That binding function is not needed as I would deprecate it anyway.
10 years ago
Vladimír Vondruš
f71bd7a2b8
Implemented ARB_texture_barrier.
10 years ago
Vladimír Vondruš
5b6875ca4a
Implemented glMemoryBarrier() from ARB_shader_image_load_store.
...
And also the ByRegion variant from ES3.1.
10 years ago
Vladimír Vondruš
1caf96a347
Finally completed ARB_uniform_buffer_object.
...
Also with ES3/WebGL2 port.
10 years ago
Vladimír Vondruš
7fb268bb62
Preprocessor madness cleanup.
10 years ago
Vladimír Vondruš
c463526feb
Don't yell at people.
...
Also minor cleanup and string copy optimization.
10 years ago
Vladimír Vondruš
19d9fb452d
Platform: put the limit into proper section.
10 years ago
Vladimír Vondruš
6849acb5c0
Doc++
10 years ago
Vladimír Vondruš
3820ec39d7
Adapt to Corrade improvements.
10 years ago
Vladimír Vondruš
407f019977
Make the XFAIL in Mesh GL test more restrictive.
...
Surprisingly OSX drivers are the only ones that are doing it right?!
10 years ago
Vladimír Vondruš
5908609a2d
Prevent test crash on drivers w/o ARB_get_texture_sub_image.
10 years ago
Vladimír Vondruš
d5fa097143
Don't do shader validation in GL tests on OSX.
...
Apple wants insane amount of state to return true (bound FB, bound VAO,
etc.). Ugh.
10 years ago
Vladimír Vondruš
b52d0e345d
Fix false-positive AMD/NVidia driver detection on OSX.
...
Apple has its own drivers but still names the vendor the same way as if it
were the Windows/Linux binary drivers. Weird and/or sneaky.
10 years ago
Vladimír Vondruš
6d067e389f
Forgotten enumset operators for Context::DetectedDrivers.
10 years ago
Vladimír Vondruš
7ac84644da
Avoid errors in GL tests on windowless applications w/o default FB.
...
Like the one on OSX.
10 years ago
Vladimír Vondruš
2e6e53b552
Don't use GLSL < 130 in GL tests on OSX.
...
OSX doesn't support anything below what's in GL 3.1 when using core contexts.
10 years ago
Vladimír Vondruš
39f6e849a6
Properly check for all extensions in object label test.
10 years ago
Vladimír Vondruš
931f78d577
Fix object label queries with EXT_debug_label.
10 years ago
Vladimír Vondruš
fede9f3f8d
Math: fix test compilation on XCode.
...
See file comment for details. Yet another instance of the problem described
in #37 .
10 years ago
Vladimír Vondruš
2557c963ab
Shaders: fix compilation on ES2.
10 years ago
Vladimír Vondruš
e0645d30df
TgaImporter: fix compilation on ES2.
10 years ago
Vladimír Vondruš
395450cd5b
Fix compilation on Windows.
10 years ago
Vladimír Vondruš
20b4c98a9b
More NVidia-specific XFAILs for compressed pixel storage.
...
Or I misunderstood the 3D BPTC compression completely.
10 years ago
Vladimír Vondruš
a5cea792cb
package/ci: run Jenkins GL tests also with extension subsets.
...
Hardened test cases!
10 years ago
Vladimír Vondruš
5623b2ca38
Audio: well this is superfluous.
10 years ago
Vladimír Vondruš
162b7b9926
Audio: return reference also from Audio::Context::current().
...
Similarly to previous commit, the old way is backwards compatible but
deprecated.
10 years ago
Vladimír Vondruš
d1714bfd1e
Context::current() now returns reference instead of pointer.
...
103% of use cases use the returned value directly without checking, so
we might as well do the check ourselves. Added new function hasCurrent()
and added deprecated backward-compatibility conversion and -> operators.
Wow, that creeped to a lot of places.
Last dinosaur from the pointer age.
10 years ago
Vladimír Vondruš
d36f45ac98
Fixed compiler warnings when building with CORRADE_NO_ASSERT.
10 years ago
Vladimír Vondruš
fbeb2bf890
More strict XFAIL in CubeMapTexture GL test on NV.
10 years ago
Vladimír Vondruš
707d1d084d
Ability to disable workarounds and extensions from environment.
...
Use MAGNUM_DISABLE_WORKAROUNDS and MAGNUM_DISABLE_EXTENSIONS environment
variables.
10 years ago
Vladimír Vondruš
ce67d652ea
Adapted to Corrade::Utility::Arguments changes.
10 years ago
Vladimír Vondruš
c054e5f1a2
doc: updated and fixed OpenGL mapping table.
10 years ago
Vladimír Vondruš
3cfaab654a
Platform: Doxygen workarounds.
10 years ago
Vladimír Vondruš
f1643c827e
Expect more test failures on NV.
...
I'm tired of that poorly specified compressed stuff shit.
10 years ago
Vladimír Vondruš
d5dae1a211
Added workaround for NVidia reporting compressed block size in bits.
...
Instead of bytes as per specification of glGetInternalformativ().
10 years ago
Vladimír Vondruš
645edecbcd
Compressed image support, part 15: compressed subimage download.
...
NVidia reports compressed block data size in bits instead of bytes, thus
all the test currently fail. (Another) workaround incoming.
10 years ago
Vladimír Vondruš
56cdc71a52
Compressed image support, part 14: queries for compressed block sizes.
10 years ago
Vladimír Vondruš
1a685842c8
Fix SampleQuery GL test on NVidia.
...
For some reason binding a framebuffer resulted in populating the sample
query.
YAY ALL TESTS PASS AGAIN WOW
10 years ago
Vladimír Vondruš
5f8c32f05d
Expect failure on NVidia with array/cubemap compressed pixel storages.
...
I'm tired of these. Finally all pixel storage tests are working again.
10 years ago
Vladimír Vondruš
ed04395762
Test compressed array/cube textures also w/o problematic pixel storage.
...
To ensure that the implementation works at least in some cases. (It
does.)
10 years ago
Vladimír Vondruš
60d6c96710
Platform: use context configuration flags also on ES builds.
10 years ago
Vladimír Vondruš
f746eaaf7d
Workaround broken full cube map compressed image query on NVidia.
...
The query returns only data of the first cube map face and not the
others, worked around that by querying each face separately.
10 years ago
Vladimír Vondruš
6bb6c4c398
Add workaround for inconsistent cubemap compressed image size on NVidia.
...
The affected test case now passes again.
10 years ago
Vladimír Vondruš
9715e0c4b8
Add NVidia to list of detected drivers.
...
I hoped this commit will never need to happen.
10 years ago
Vladimír Vondruš
ea376e2fbc
Test that GL_TEXTURE_COMPRESSED_IMAGE_SIZE behaves consistently on cubemap.
...
It returns different value based on whether the cube map is immutable
(allocated using setStorage()) or a sequence of setImage() calls, well,
at least on my NVidia. That should not happen, workaround incoming.
10 years ago
Vladimír Vondruš
7d0a5d9047
Make it possible to get predictable compressed cubemap image sizes.
...
I expect the drivers to return size of *one* face when I'm querying that
particular face using the pre-DSA or EXT_DSA API and size of *all* six
faces when I'm querying whole texture using DSA API.
One can dream, eh?
It appears that, at least on my NVidia, the returned value does not
depend on whether I'm querying all faces or a single one, but RATHER
is based on whether the texture is immutable or not. How's that
predictable at all?! Workaround in the next commit.
10 years ago
Vladimír Vondruš
27aea0ccd5
Don't spread cubemap texture level parameter query workarounds elsewhere.
...
Pre-DSA code paths need to specify for which face we are querying the
level parameters, which meant that all other calls had to specify the
(implicit) target too. I'm also preparing to put a cubemap-specific
workaround in the level parameter query and that really shouldn't be
present in the generic implementation for all texture types.
The other place where a specific target is needed is in setImage()
implementations, but these are rather big chunks of code and I don't
feel like copying these verbatim to cubemap implementation just to
isolate the workaround in one place.
10 years ago