Vladimír Vondruš
3494e7db83
GCC 4.4 compatibility: no std::is_constructible.
13 years ago
Vladimír Vondruš
417ad16470
GCC 4.4 compatibility: we can't default these.
13 years ago
Vladimír Vondruš
1e48675e3b
Merge branch 'master' into compatibility
13 years ago
Vladimír Vondruš
a9ca7d7544
Platform: include cleanup.
13 years ago
Vladimír Vondruš
bdfa0b4abe
Proper syntax for deleted copy constructors.
...
Another bug caused by copypasting, but caused issue only on GCC 4.5.
Also removed unused parameter name.
13 years ago
Vladimír Vondruš
f3bfeb1813
Disable strict-aliasing warnings for GCC 4.5.
...
The current warnings are harmless and just pollute the output, not
present in GCC >= 4.6, thus I don't bother.
13 years ago
Vladimír Vondruš
fa9dbdaa2c
Disable `-pedantic` also for GCC 4.5 and 4.4.
...
It litters the output with "comma at the end of enumeration list" (in
most cases caused by glLoadGen), although it's perfectly valid in C++11.
13 years ago
Vladimír Vondruš
60b7357f7b
GCC 4.5 compatibility: cannot default constructor in class body.
13 years ago
Vladimír Vondruš
199428864f
GCC 4.5 compatibility: inherited move semantics somehow doesn't work.
...
We need to explicitly delete copy constructors (otherwise
std::is_constructible<A, const A&>::value is true) and add passthrough
move constructors. WHY.
13 years ago
Vladimír Vondruš
51f21137df
GCC 4.5 compatibility: nullptr-related issues.
13 years ago
Vladimír Vondruš
53bdfd059f
GCC 4.5 compatibility: no bool conversion of std::integral_constant.
13 years ago
Vladimír Vondruš
51b000d03a
GCC 4.5 compatibility: no forward declarations for enums.
13 years ago
Vladimír Vondruš
3dcb1d3f0c
Merge branch 'master' into compatibility
...
Conflicts:
src/Context.h
src/Platform/AbstractXApplication.cpp
src/Platform/AbstractXApplication.h
13 years ago
Vladimír Vondruš
fef811a01c
Add link to Google Groups to documentation.
13 years ago
Vladimír Vondruš
fbcec47086
package: reorder Jenkins CI axes.
...
The table is now able to fit onto the page.
13 years ago
Vladimír Vondruš
6d8b1d8eba
package: enable windowless apps for es3desktop Jenkins CI configuration.
...
Dammit. This was _exactly_ the thing why I added es3desktop and I forgot
to enable it?!
13 years ago
Vladimír Vondruš
39988cf128
package: don't check GL tests for es2 and es3 targets.
...
They don't have any windowless application yet, thus the operations are
basically a no-op. AND JENKINS IS SO DAMN SLOW THAT THIS MATTERS.
13 years ago
Vladimír Vondruš
6ce1a939dc
Enable VAOs by default for ES3.
...
The fallback code is kept, as somebody might want to use the "possibly
faster" path sometime.
13 years ago
Vladimír Vondruš
331433effa
Shaders: somehow I need to enable the extension also on ES3.
...
Although the extension is fully implemented in ES3 itself.
13 years ago
Vladimír Vondruš
3854e63f5a
Shaders: fix MeshVisualizer on ES3.
13 years ago
Vladimír Vondruš
d98d881587
package: added es3desktop variant to Jenkins CI configuration.
13 years ago
Vladimír Vondruš
35340fb184
package: added ES3 desktop PKGBUILD.
13 years ago
Vladimír Vondruš
d003549328
Platform: fixed compilation of magnum-info on ES3.
13 years ago
Vladimír Vondruš
d2b38b712f
Fixed compilation of tests on ES3.
13 years ago
Vladimír Vondruš
c1282964c5
Verify that version retrieval went right.
...
Sometimes the context is created improperly and all gl* functions are
causing errors. Added check for that case.
13 years ago
Vladimír Vondruš
63a611cd1f
Fix OpenGL ES-related documentation.
13 years ago
Vladimír Vondruš
a8b91a0914
package: building Sdl2Application also in es2desktop PKGBUILD.
13 years ago
Vladimír Vondruš
00dec60d33
Platform: implement ES2 and ES3 support for SDL2 and X-based applications.
...
Currently XEglApplication and GlxApplication were requesting only ES2
context and SDL2 was not requesting anything in particular (but in
theory should work on ES-only systems flawlessly). Now explicitly
requesting ES3 if MAGNUM_TARGET_GLES3 is enabled and also explicitly
requesting ES in SDL2, so it is usable also with
MAGNUM_TARGET_DESKTOP_GLES.
13 years ago
Vladimír Vondruš
cadaed853e
Platform: ability to request context version in *X*Application.
13 years ago
Vladimír Vondruš
e1e21bc9c5
Platform: doc++
13 years ago
Vladimír Vondruš
a96bd348d2
Platform: remove #define None.
...
We need to live without that.
13 years ago
Vladimír Vondruš
7c5762424b
Platform: no-op context version setter in NaClApplication.
...
Included only for compatibility with other platform toolkits.
13 years ago
Vladimír Vondruš
8c39c5f11f
Platform: ability to request context version in GlutApplication.
13 years ago
Vladimír Vondruš
3833478212
Platform: ability to request context version in Sdl2Application.
13 years ago
Vladimír Vondruš
63d4570f6a
Platform: minor code deduplication, documentation and cleanup.
13 years ago
Vladimír Vondruš
49bd0b6ff0
Added version() utility function.
...
Converts Version enum value to and from major/minor version number.
13 years ago
Vladimír Vondruš
ce52f7b62f
Moved Version enum to its own file.
...
There will be many places (e.g. all
Platform::*Application::Configuration classes) where Version will be
used without Context (and all GL stuff brought with it).
13 years ago
Vladimír Vondruš
86e8739bc0
Updated and fixed *Query documentation.
...
Removed misleading "requires_gles30" line for AbstractQuery.
13 years ago
Vladimír Vondruš
3d4db4e2b7
Primitives: set compile flags for proper library.
13 years ago
Vladimír Vondruš
8d7fd163ad
Merge branch 'master' into compatibility
...
Conflicts:
src/CMakeLists.txt
src/Shader.cpp
src/Test/ImageTest.cpp
src/Trade/Test/ImageDataTest.cpp
13 years ago
Vladimír Vondruš
533ff3d3d3
Don't modify CORRADE_CXX_FLAGS, but rather directly CMAKE_CXX_FLAGS.
13 years ago
Vladimír Vondruš
168807ed64
DebugTools: fix warning on MinGW.
13 years ago
Vladimír Vondruš
e6200cc828
Use proper debug callback signature on Windows.
13 years ago
Vladimír Vondruš
c9103b8947
Fix compilation of Shader on MinGW32.
...
Broken during renaming in 5f51652aff .
13 years ago
Vladimír Vondruš
64a1d6be88
Mesh: set VAO id to 0 when the extension is not available.
...
Also expect this case in test.
13 years ago
Vladimír Vondruš
f373b6518e
Disabling strict aliasing on GCC >= 4.8.
...
Causes failure of DebugToolsCylinderRendererTest without any warning,
only in release build, any attempt to add debug print results in issue
disappearing. Not an issue on Clang or GCC < 4.8.
13 years ago
Vladimír Vondruš
cacd4c06eb
NV_read_{depth,depth_stencil} is not available in unextended ES3.
13 years ago
Vladimír Vondruš
5115fb8624
Doc++, added todos.
13 years ago
Vladimír Vondruš
64c1b6cbd4
Text: disable test case if required extension is not available.
13 years ago
Vladimír Vondruš
8c0257e6e8
Abort the application on attempt to use any ES extension function.
...
We don't have extension loader for ES yet, thus we need to abort on
these to avoid undefined behavior. The only exception is NaCl, which
provides _some_ extensions without the need for extension loader. These
extensions are implemented in particular:
CHROMIUM_map_sub
EXT_occlusion_query_boolean
13 years ago