Vladimír Vondruš
aaa6d2e2b1
Fixed PrimitiveQuery documentation.
...
Somehow this slipped through when splitting out the timer functions into
TimeQuery in 5f00a1926d (a year ago!).
12 years ago
Vladimír Vondruš
1b2edafcec
WavAudioImporter: use PIC only when needed.
...
Also we don't export anything, so no need for -D*_EXPORTS definition.
12 years ago
Vladimír Vondruš
8ee4d08d87
ObjImporter: the indices are actually global to whole file.
...
There just isn't any sane and easily parsable format.
12 years ago
Vladimír Vondruš
77e38fcce3
New ObjImporter plugin.
12 years ago
Vladimír Vondruš
598f31b9e3
MeshTools: check for proper stride value in combineIndexArrays().
12 years ago
Vladimír Vondruš
6bd5db4c2b
MeshTools: check for out-of-range access also in combineIndexedArrays().
12 years ago
Vladimír Vondruš
14e4e78b6b
MeshTools: check out-of-range access in MeshTools::duplicate().
12 years ago
Vladimír Vondruš
dee57c4479
MeshTools: add std::vector overload to combineIndexArrays().
...
So the functions can *really* be used at runtime.
12 years ago
Vladimír Vondruš
733de78b34
Platform: fix AndroidApplication for Android < 4.0.
12 years ago
Vladimír Vondruš
b9b7262eba
GLSL ES 3.0 requires `es` in version directive.
12 years ago
Vladimír Vondruš
7b065d5aa6
Platform: initial support for touch/mouse events in AndroidApplication.
...
The API now mimics desktop (mouse), might be changed in the future to
properly support multitouch etc. features.
12 years ago
Vladimír Vondruš
d70b704883
Platform: consistent naming.
12 years ago
Vladimír Vondruš
c5f99aade0
Platform: be less greedy in bit flags.
12 years ago
Vladimír Vondruš
3e7469c62f
Platform: doc++.
12 years ago
Vladimír Vondruš
9527d39ad3
Added Context::extensionStrings().
...
Returns list of _all_ extensions reported by the driver, even those that
are not supported in Magnum and also those that are marked as disabled
due to driver bugs. Usable mostly when doing fresh port to new platform
to discover possible new features.
The actual implementation was part of Context constructor (and now this
function is called instead). It is rather ugly because we need to take
care of both GL 2.1 and GL 3.0 (and also ES2 and ES3).
12 years ago
Vladimír Vondruš
df06a82430
Android: define GL_ES in GLSL if not defined.
...
My emulator doesn't define that, causing all stock shaders to fail on
compilation.
12 years ago
Vladimír Vondruš
822acd3b18
Platform: minor documentation updates for AndroidApplication.
...
I'm still learning the way around this.
12 years ago
Vladimír Vondruš
26a2d7e1ab
Platform: be consistent with default application names.
12 years ago
Vladimír Vondruš
3be68f8f73
Mention minimal required Android version.
...
We need 2.3 for native_app_glue.
12 years ago
Vladimír Vondruš
fe34fe84a3
package: build AndroidApplication in development PKGBUILDs.
12 years ago
Vladimír Vondruš
cb8eecce51
Platform: initial version of AndroidApplication.
...
No input events yet.
12 years ago
Vladimír Vondruš
c34260d603
Platform: even more doc++.
12 years ago
Vladimír Vondruš
c2dc386dee
modules: populate ${MAGNUM_LIBRARIES} before they are used.
...
MAGNUM_LIBRARIES are used in all Application classes. I don't know when
this got broken, but now it is fixed again.
12 years ago
Vladimír Vondruš
e3013603f3
modules: updated FindCorrade.cmake from Corrade repository.
12 years ago
Vladimír Vondruš
c4530a2b87
Platform: undef even more Xlib nonsense.
...
Do I really need to have everything uniquely prefixed with
uncomprehensible names to defend myself from headers that were made by
careless people two centuries ago?! Rage level +37.
12 years ago
Vladimír Vondruš
5cd544b06d
Platform: move eglErrorString() helper to separate header.
...
It will be useful also elsewhere.
12 years ago
Vladimír Vondruš
a9bcaf4b89
Platform: error out when trying to use NaClApplication outside of NaCl.
12 years ago
Vladimír Vondruš
2a53a70943
package: build XEglApplication on non-desktop ES.
12 years ago
Vladimír Vondruš
68a6729173
Platform: more documentation updates.
12 years ago
Vladimír Vondruš
f021f09df8
Platform: finally added proper key events to GlutApplication.
...
The functions were there all the time, I just didn't try hard enough to
find them. The special keys now have different values (the lower 16 bits
are reserved for ASCII), but it is a source-compatible change.
12 years ago
Vladimír Vondruš
20ee86be86
doc: building documentation updates.
...
* Using portable `cmake --build` instead of `make`.
* Mentioning all crosscompiling Arch PKGBUILDs.
12 years ago
Vladimír Vondruš
3cd1093a49
doc: fix more obsolete stuff in Platform docs.
12 years ago
Vladimír Vondruš
1aaa350e90
doc: use absolute includes.
...
This somehow slipped through.
12 years ago
Vladimír Vondruš
c084c4ebc4
Platform: another round of insane documentation updates.
...
Each class should now have *everything* needed in its documentation,
nothing is left out. Most of the text was taken from README in
magnum-bootstrap repository.
12 years ago
Vladimír Vondruš
e715b7dfd2
We don't have any platform support for Android yet.
12 years ago
Vladimír Vondruš
dbf6fc233e
Advertise Android support.
12 years ago
Vladimír Vondruš
15e1555bca
doc: Android building documentation.
12 years ago
Vladimír Vondruš
d2081e91ac
Advertise particular application libraries only on supported platforms.
12 years ago
Vladimír Vondruš
6f5d556c02
Unique exit code for each failure in Context::Context().
...
Make it less annoying to debug things on platforms which send all
standard output to /dev/hell without any easy way to override that. Yes,
I'm looking at you, Android.
12 years ago
Vladimír Vondruš
facebfee6c
package: Android ARM and x86 development ArchLinux PKGBUILDs.
12 years ago
Vladimír Vondruš
2235cb76b1
Apparently Android is something like newlib.
12 years ago
Vladimír Vondruš
30d156b3c8
Build static libraries for Android.
...
Same reasoning as in Corrade.
12 years ago
Vladimír Vondruš
7702399222
Explicitly enable OpenGL ES when targeting Android.
12 years ago
Vladimír Vondruš
1b23406d75
external: updated Optional with Android support.
12 years ago
Vladimír Vondruš
5790b96e6d
modules: updated FindCorrade.cmake from Corrade repository.
12 years ago
Vladimír Vondruš
616bd5e517
Updated toolchains submodule with Android support.
12 years ago
Vladimír Vondruš
c7607af0ad
Print separate major/minor integers for unsupported version.
...
This message:
Context: unsupported OpenGL version (1, 3).
Is better than this:
Context: unuspported OpenGL version 130.
12 years ago
Vladimír Vondruš
8f6f340e8c
Hardened checks for OpenGL ES version.
...
There is no ES 2.5 or 3.01 and this way we can properly check for
garbage returned by `glGet(GL_VERSION_M*OR)` (e.g. version 2674.-2O8539
would pass here).
12 years ago
Vladimír Vondruš
5a94a36570
modules: libGLESv3 actually really exists.
...
The world is actually sane.
12 years ago
Vladimír Vondruš
722c98d269
modules: different libraries for OpenGL ES 2.0/3.0 in FindMagnum.cmake.
...
Also apparently not tested at all.
12 years ago