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š
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š
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š
d140cfd87e
Don't export template class.
...
The explicit instantiations are exported already.
12 years ago
Vladimír Vondruš
9b8d185e6a
MSVC 2013 compatibility: some explicit typing needed.
12 years ago
Vladimír Vondruš
d55858b8cb
MSVC 2013 compatibility: work around more compiler crashes.
12 years ago
Vladimír Vondruš
152701fe15
MSVC 2013 compatibility: different attribute placement.
12 years ago
Vladimír Vondruš
57e2c47cab
MSVC 2013 compatibility: more workarounds for array initialization bug.
...
Followup to e2180ee85b .
12 years ago
Vladimír Vondruš
083cdcd679
MSVC 2013 compatibility: no rvalue references for *this.
12 years ago
Vladimír Vondruš
e5ad83b0d9
MSVC 2013 compatibility: fix includes.
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š
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š
a3a9f2bb79
GCC 4.5 compatibility: no forward enum declarations.
12 years ago
Vladimír Vondruš
e2d0e5898c
GCC 4.4 compatibility: lack of auto-conversion of typed enums.
12 years ago
Vladimír Vondruš
68c326eedd
GCC 4.5 compatibility: can't list-initialize array of classes.
...
As said earlier in cb7a0f6404 , this is
just another case of the same issue.
12 years ago
Vladimír Vondruš
b913f93bf9
GCC 4.5 compatibility: some explicit typing needed.
12 years ago
Vladimír Vondruš
1ad6d97558
GCC 4.5 compatibility: fix the merge.
...
This was already fixed earlier but I forgot to copy it over in
9ea4f85968 merge commit.
12 years ago
Vladimír Vondruš
35196b6a49
GCC 4.5 compatibility: fix includes.
...
Forgotten in the latest merge.
12 years ago
Vladimír Vondruš
848d2fe45b
Doc++
...
Somehow explicit references are not working here.
12 years ago
Vladimír Vondruš
072ee4e288
doc: mapping of OpenGL limit and state queries, various improvements.
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.
13 years ago
Vladimír Vondruš
597a14d760
Fixed OpenGL ES 2.0 and 3.0 build.
13 years ago
Vladimír Vondruš
3df96b5944
Shaders: don't use deprecated header in tests.
13 years ago
Vladimír Vondruš
38ded20b94
SceneGraph: fix documentation of DrawableGroup aliases.
13 years ago
Vladimír Vondruš
9743d2abf3
SceneGraph: fixed compilation of Drawable on GCC 4.6.
...
This error was present since the very beginning but it didn't appear
until we were explicitly instantiating the Drawable class.
13 years ago