Vladimír Vondruš
41235c20eb
Fix version checks on OpenGL 2.1 and OpenGL ES 2.0.
...
Both don't have GL_{MAJOR,MINOR}_VERSION enums so we must decide whether
the version is older than OpenGL 3.0 / ES 3.0 either using
MAGNUM_TARGET_GLES2 preprocessor definition or checking for invalid enum
error and then we have to parse version string to ensure that the
version is not too old. On ES2 the version check wasn't present at all
(only optimistic hope), this makes it more hardened.
12 years ago
Vladimír Vondruš
17ae24cee2
It probably isn't good idea to have version checks as assertions.
...
In particular when building with CORRADE_NO_ASSERT the version doesn't
get checked at all, silently failing on null pointer somewhere else.
12 years ago
Vladimír Vondruš
fa4558f5b5
Use version() utility function also internally.
12 years ago
Vladimír Vondruš
deb69d1197
Print more information when cannot retrieve OpenGL version.
...
At least the OpenGL error should be enough to pinpoint what went wrong.
12 years ago
Vladimír Vondruš
370f1bf7e3
Hide yet-unused private function on ES.
12 years ago
Vladimír Vondruš
10669f9e78
Fix class/struct mismatch.
...
Thanks, Clang.
12 years ago
Vladimír Vondruš
132c2f4e64
package: ensure that static libs are being kept in ArchLinux packages.
...
I forgot to merge my /etc/makepkg.conf.pacnew and thus didn't notice it
until now.
12 years ago
Vladimír Vondruš
a88155a198
Actually make use of EXT_texture_storage on ES2.
...
Currently it was ignored when deciding about *Texture::setStorage()
implementation.
12 years ago
Vladimír Vondruš
a05594bdfd
Doc++
12 years ago
Vladimír Vondruš
97874a15ac
Fix BufferImage test to pass and retrieve data with proper alignment.
12 years ago
Vladimír Vondruš
fc35adaac2
Use *Image::dataSize() instead of manual buggy size computation.
...
BufferImage test currently fails.
12 years ago
Vladimír Vondruš
11522ac0cf
Get rid of pointers in internal texture implementation.
12 years ago
Vladimír Vondruš
932e629456
Actually implement the fallback for Renderer::resetNotificationStrategy().
...
It was documented and all, but wasn't ever implemented.
12 years ago
Vladimír Vondruš
1d218cbed2
Enable Buffer::invalidate*Data() on ES.
...
This smells fishy. The function _does have_ a no-op fallback
implementation to remove the need to wrap everything with an #ifdef
and/or extension check, so why I did exactly that everywhere?
12 years ago
Vladimír Vondruš
57ca8ee909
Removed Buffer::maxVertexAttributeBindings().
...
This queries limit for ARB_vertex_attrib_binding extension, which isn't
and probably won't be implemented in near future.
12 years ago
Vladimír Vondruš
1ef4a364c9
doc: actually we have a way to retrieve object labels.
...
Not sure why I forgot it.
12 years ago
Vladimír Vondruš
5d938e7f4f
Moved global data from Renderer class to per-context state.
12 years ago
Vladimír Vondruš
1ad8be425f
Moved global data from Mesh class to per-context state.
12 years ago
Vladimír Vondruš
e921a111b5
Moved global data from Buffer class to per-context state.
12 years ago
Vladimír Vondruš
8cdefa1e0b
Moved global data from shader classes to per-context state.
12 years ago
Vladimír Vondruš
37b9f4d846
Moved global data from texture classes to per-context state.
12 years ago
Vladimír Vondruš
c1c71339e4
Moved global data from framebuffer classes to per-context state.
...
On the way to unify and reduce the "Using optional features" messages.
12 years ago
Vladimír Vondruš
28939078e2
Decide about used extensions on only one place.
...
Having the same branch cascade twice for debug output and for actual
feature selection is not good for maintenance. Put the extensions into
some list and then make it unique instead.
12 years ago
Vladimír Vondruš
7fa39a5b3f
modules: once more.
12 years ago
Vladimír Vondruš
7ec314dbb5
modules: updated FindCorrade.cmake from Corrade repository.
12 years ago
Vladimír Vondruš
d140cfd87e
Don't export template class.
...
The explicit instantiations are exported already.
12 years ago
Vladimír Vondruš
11c84563f8
modules: updated FindCorrade.cmake from Corrade repository.
12 years ago
Vladimír Vondruš
49d8c71a59
MagnumFont: mention lineHeight value in documentation.
12 years ago
Vladimír Vondruš
6f0ba96cb6
Happy new year too.
12 years ago
Vladimír Vondruš
7e1c93121c
modules: updated FindCorrade.cmake from Corrade repository.
12 years ago
Vladimír Vondruš
2b94a350e7
Platform: fix magnum-info NaCl markup.
...
Somehow XHTML5 is misunderstood here.
12 years ago
Vladimír Vondruš
aec9e63d0d
Platform: display proper application class name in magnum-info.
12 years ago
Vladimír Vondruš
6f58bfd4e3
Platform: fix documentation.
...
The templates arguments were breaking the doc layout badly, hiding them
for documentation.
12 years ago
Vladimír Vondruš
cc9e6c6161
Fix NaCl build.
...
Apparently I enabled the queries for NaCl without testing at all.
12 years ago
Vladimír Vondruš
f7a3b74083
package: fix NaCl Jenkins configuration.
12 years ago
Vladimír Vondruš
f21f10c344
package: initial Jenkins configuration for NaCl build.
...
Fails on master, as it needs compatibility branch for x86 builds (GCC
4.4).
12 years ago
Vladimír Vondruš
7ff7ac73d4
package: don't bother with the tests on Emscripten at all.
...
They are slow to link and are always failing anyway.
12 years ago
Vladimír Vondruš
a653c21298
package: updated to Corrade's Jenkins CI changes.
12 years ago
Vladimír Vondruš
848d2fe45b
Doc++
...
Somehow explicit references are not working here.
12 years ago
Vladimír Vondruš
09a273928a
doc: new page with troubleshooting for common issues.
12 years ago
Vladimír Vondruš
072ee4e288
doc: mapping of OpenGL limit and state queries, various improvements.
12 years ago
Vladimír Vondruš
1dd8b51e69
doc: added OpenGL support status and OpenGL command mapping.
12 years ago
Vladimír Vondruš
09cc03888b
Skip mipmap generation test cases if required extension is not available.
12 years ago
Vladimír Vondruš
d563d0906f
Buffer::mapAlignment() requires ARB_map_buffer_alignment.
...
Return 0 if the extension is not supported.
12 years ago
Vladimír Vondruš
4820476beb
Doc++
...
Also added new Doxygen alias for more specific GL function links.
12 years ago
Vladimír Vondruš
6e2dcec59c
Platform: better checks for magnum-info compilation.
...
In particular GLX is not available on OS X.
12 years ago
Vladimír Vondruš
412011f2f8
Fixed linker errors on Windows.
12 years ago
Vladimír Vondruš
f06495dc04
Doc++
12 years ago
Vladimír Vondruš
597a14d760
Fixed OpenGL ES 2.0 and 3.0 build.
12 years ago
Vladimír Vondruš
3df96b5944
Shaders: don't use deprecated header in tests.
12 years ago