Vladimír Vondruš
80aaa5bbbc
Minor cleanup.
10 years ago
Vladimír Vondruš
ad27e192f4
modules: link also all required frameworks when finding SDL2 on iOS.
10 years ago
Vladimír Vondruš
3e81fbad41
iOS-specific function pointer loader.
...
It seems that there is no such thing as eglGetProcAddress() and thus we
are able to use only functions that are defined in the ES[23]/glext.h
header and no others. So, currently, the function loader internally
undefs all function name macros that were defined in our flextgl.h
header, then includes the Apple's glext.h header and assigns function
pointers of those extensions that are defined in the header. Apple also
has some minor differences in function signatures (different constness
of pointer-to-pointer variables) so I had to reinterpret_cast
everything.
Might seem to be uglier than including glext.h directly in our code,
but I made bad experience when doing so -- I want to depend on my
header bugs that are consistent across all platforms instead of
depending on whatever changes Apple makes in its headers. I also want to
have all functions defined and not only those that are supported on
iOS.
Phew. Thank you, flextGL, for making it way easier than it appeared to
be at first.
10 years ago
Vladimír Vondruš
e36f919118
Platform: properly install WindowlessCglApplication headers.
10 years ago
Vladimír Vondruš
26b51ad614
Adapted to Corrade changes.
10 years ago
Vladimír Vondruš
51a76ef87f
Fix comparison in AbstractShaderProgram test.
...
Confirmed by @LB-- that it works on AMD. NVidia is producing garbage.
What the hell, NV?
10 years ago
Vladimír Vondruš
281bcac624
Fix building for Android with standard build systems.
...
In this case, standard doesn't mean that we can expect sane behavior.
10 years ago
Vladimír Vondruš
9e7c5656c6
Platform: don't use deprecated API in AndroidApplication.
10 years ago
Vladimír Vondruš
91753c1c42
Fix ES2 build.
10 years ago
Vladimír Vondruš
30fc1411bb
Adapted to Corrade changes.
10 years ago
Vladimír Vondruš
de62466eb4
Actually usable barriers in Renderer.
10 years ago
Vladimír Vondruš
740fdf35fe
Fix AbstractShaderProgram GL test on ES3.
10 years ago
Vladimír Vondruš
bcd8a81ba5
Implemented ARB_compute_shader.
...
The test fails somehow, but too tired to fix anything now.
10 years ago
Vladimír Vondruš
d9b25c6057
Implemented ARB_shader_image_load_store.
10 years ago
Vladimír Vondruš
a1cae889df
Use Containers::Array instead of std::vector for non-resizable storage.
10 years ago
Vladimír Vondruš
a981593bd0
DebugTools: don't force dependency on SceneGraph and Shapes.
10 years ago
Vladimír Vondruš
ce075752e9
MeshTools: removed unneeded enable_if.
10 years ago
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š
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