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š
72fe6c3e10
Update OpenGL support.
...
Don't be too optimistic :-)
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š
99c0ec7195
doc: Missing include in Getting Started Guide.
...
And unfortunately this one spits out insanely large compiler error.
Sorry!
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š
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