Vladimír Vondruš
8b209a24ba
Audio: use std::reference_wrapper instead of pointers.
...
I'm still learning.
12 years ago
Vladimír Vondruš
529513d536
Removed redundant `Buffer` suffixes from FramebufferBlit enum.
...
The old values are now aliases to new ones, are marked as deprecated and
will be removed in future release.
12 years ago
Vladimír Vondruš
8f9036104d
doc: explicitly mention that given extension is needed for ES2.
...
ES2 extensions which have equivalent in ES3 are not available there.
12 years ago
Vladimír Vondruš
5373fdf3ad
MeshTools: fix obvious out-of-range access in tipsify().
...
Spotted by MSVC compiler (which does range check on everything). This
was probably harmless, as the out-of-range memory wasn't accessed
afterwards (the for cycle would end right after that because vi == 3),
but it was firing the assertion so it's better to have it fixed.
12 years ago
Vladimír Vondruš
06f45d8674
Fix compilation on GCC 4.7.
12 years ago
Vladimír Vondruš
601913308b
Removed now duplicate extension support status, added some TODOs.
12 years ago
Vladimír Vondruš
0e87886ac4
Allow method chaining also on BufferTexture.
...
There is only one configuring function now, but still, be consistent
with the rest.
12 years ago
Vladimír Vondruš
10cf24e158
Publicly inherit AbstractTexture in BufferTexture.
...
There isn't anything to hide anymore.
12 years ago
Vladimír Vondruš
b68843bf22
Shader: ability to use version directive from shader source.
12 years ago
Vladimír Vondruš
bcf1cf1c63
Better texture attaching in Framebuffer.
...
The previous way was half-working at best, as it handled array textures
improperly. Now there is overload for each texture type. The old way
with attachTexture*D() is marked as deprecated and will be removed in
future release.
12 years ago
Vladimír Vondruš
959d40a02d
Split Texture into TextureArray, MultisampleTexture and RectangleTexture.
...
Each texture has slightly different usage requirements and having
everything under one generic class is not worth the additional runtime
checks and whatnot. The current way with Texture::Target enum
(hopefully not too widely used) is now deprecated and will be removed in
some future release. However general Texture1D/2D/3D usage is not
changed in any way.
12 years ago
Vladimír Vondruš
9e0db81093
Doc++
12 years ago
Vladimír Vondruš
ce403cd6a5
3D textures _are_ available in OpenGL ES 3.0.
12 years ago
Vladimír Vondruš
57eb4ea649
Code cleanup.
12 years ago
Vladimír Vondruš
dd2cac1e8a
Assert on each OES_vertex_array_object function occurence.
...
Until we have extension wrangler set up for ES2.
12 years ago
Vladimír Vondruš
8a865e10a6
Fix version string comparison on desktop GL.
...
I should really read the specs more carefully, this seems to be a very
dark corner of desktop/ES compatibility.
12 years ago
Vladimír Vondruš
a4fa56b36d
Fix ES3 build.
...
Gah. And I tested it seven times.
12 years ago
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š
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š
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š
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