Vladimír Vondruš
0658f7a5f8
modules: don't unset MAGNUM_*APPLICATION_* vars if they stay the same.
...
Use case: user is calling find_package(Magnum REQUIRED Sdl2Application) in
a toplevel dir and in a subdir. The second call would unset the
MAGNUM_APPLICATION_LIBRARIES which is not correct, because it still is just
that one application.
Also, now instead of unsetting the variables are set to -NOTFOUND so they
produce an error when used as libraries/include directories for a target.
10 years ago
Vladimír Vondruš
4d9f4bd25d
Install Test/AbstractOpenGLTester.h every time.
10 years ago
Squareys
c11903975a
doc++: ResourceManager::instance() now returns a reference.
...
Signed-off-by: Squareys <Squareys@googlemail.com>
10 years ago
Squareys
cf6ef1310a
doc++: Use AnimableGroup3D instead of DrawableGroup3D for Animable3D.
...
Signed-off-by: Squareys <Squareys@googlemail.com>
10 years ago
Vladimír Vondruš
25a2796833
Fix Doxygen warnings.
10 years ago
Vladimír Vondruš
08c8f5a635
Advertise iOS support, document building and usage.
10 years ago
Vladimír Vondruš
02b2ce109f
Platform: doc++
10 years ago
Vladimír Vondruš
a771b60af6
Platform: use zero window size on iOS and let SDL2 autodetect.
...
Hopefully this feature won't go away in some future version.
10 years ago
Vladimír Vondruš
e70cb8bfdc
Platform: no point in having SDL2 window title on iOS.
10 years ago
Vladimír Vondruš
f3d774fa48
Math: revert ability to convert Vector<1, T> to T.
...
Doesn't solve problem I hoped it would solve (adding pointer and
Vector<1, size_t> still doesn't compile), breaks GCC 4.7 build in some
crazy way and makes certain previously-working operations (like
operator== on Vector<1, int> and int) ambiguous. Not worth pursuing
further, I think.
This reverts commit ca0892f026 .
This reverts commit d6d0fd1890 .
10 years ago
Vladimír Vondruš
18bb3fccfc
Platform: fix iOS display orientation events in Sdl2Application.
10 years ago
Vladimír Vondruš
5d110ba7b1
Math: added Range::contains().
10 years ago
Vladimír Vondruš
4caef08cee
Doc++
10 years ago
Vladimír Vondruš
1dc9ba8611
package/debian: fix build on machines with custom binary NV drivers.
...
WHAT THE FUCK. THIS IS INSANE.
10 years ago
Vladimír Vondruš
ca0892f026
Math: make it possible to convert Vector<1, T> to T.
10 years ago
Vladimír Vondruš
d6d0fd1890
Math: test that it's possible to convert Vector<1, T> to T.
...
It's not (but should be).
10 years ago
Vladimír Vondruš
19590df462
Platform: added iOS HiDPI and menu bar toggles to Sdl2Application.
...
Except for the documentation the project is now ready for iOS!
10 years ago
Vladimír Vondruš
2a62e6772e
Platform: fix viewport initialization on iOS.
10 years ago
Vladimír Vondruš
4658d9fbb2
package/archlinux: colored test output.
10 years ago
Vladimír Vondruš
5fe0d3e8fe
Math: doc++
10 years ago
Vladimír Vondruš
da9e86fc77
Math: ability to join two ranges.
...
I had to include Functions.h, there was no other way to do this. I have
to schedule include cleanup soon.
10 years ago
Vladimír Vondruš
f52e156e90
Platform: print Buffer::minMapAlignment() in magnum-info.
10 years ago
Vladimír Vondruš
38fc5884de
package/archlinux: don't compile WavAudioImporter on Emscripten.
...
We don't have OpenAL there.
10 years ago
Vladimír Vondruš
107d4ce422
Fix unused variable warning on Emscripten.
10 years ago
Sam Spilsbury
d60fa66b27
AbstractFramebuffer: Always use bindImplementationSingle for WebGL
...
WebGL doesn't support anything else.
10 years ago
Vladimír Vondruš
23646e6690
Hell, this project is big.
10 years ago
Vladimír Vondruš
a3bf011548
modules: updated FindCorrade.cmake.
10 years ago
Vladimír Vondruš
b5ced6ee13
Platform: note that WindowlessCglApplication is w/o default FB.
10 years ago
Vladimír Vondruš
76f73f4a61
Platform: add missing definitions to magnum-info.
10 years ago
Vladimír Vondruš
aebf071143
Platform: make used application printing in magnum-info more foolproof.
...
I don't want to have the same logic duplicated on two places. Also
filled in missing values.
10 years ago
Vladimír Vondruš
b35d19ce6b
Platform: comment cleanup.
...
What does "window context" mean anyway?
10 years ago
Vladimír Vondruš
e1343724e1
Fix building tests on ES2.
10 years ago
Vladimír Vondruš
ffc993b789
Properly handle cases when glGetString() returns nullptr.
10 years ago
Vladimír Vondruš
41b8c05014
Initialize version to (0, 0) to avoid crashes on broken GL contexts.
10 years ago
Vladimír Vondruš
80aaa5bbbc
Minor cleanup.
10 years ago
Vladimír Vondruš
ad27e192f4
modules: link also all required frameworks when finding SDL2 on iOS.
10 years ago
Vladimír Vondruš
526346973a
Updated toolchains submodule.
10 years ago
Vladimír Vondruš
8c562fb106
Force OpenGL ES if compiling for iOS.
10 years ago
Vladimír Vondruš
3e81fbad41
iOS-specific function pointer loader.
...
It seems that there is no such thing as eglGetProcAddress() and thus we
are able to use only functions that are defined in the ES[23]/glext.h
header and no others. So, currently, the function loader internally
undefs all function name macros that were defined in our flextgl.h
header, then includes the Apple's glext.h header and assigns function
pointers of those extensions that are defined in the header. Apple also
has some minor differences in function signatures (different constness
of pointer-to-pointer variables) so I had to reinterpret_cast
everything.
Might seem to be uglier than including glext.h directly in our code,
but I made bad experience when doing so -- I want to depend on my
header bugs that are consistent across all platforms instead of
depending on whatever changes Apple makes in its headers. I also want to
have all functions defined and not only those that are supported on
iOS.
Phew. Thank you, flextGL, for making it way easier than it appeared to
be at first.
10 years ago
Vladimír Vondruš
3f4156a846
modules: update FindEGL.cmake to work on iOS.
...
It actually finds EAGL, which is slightly completely different from EGL
and I currently have no use for it.
10 years ago
Vladimír Vondruš
60fc994ab6
modules: updated FindOpenGLES[23].cmake to work on iOS.
10 years ago
Vladimír Vondruš
55a0a1397b
modules: updated FindCorrade.cmake.
10 years ago
Vladimír Vondruš
493ba80839
package: added Homebrew formula.
10 years ago
Vladimír Vondruš
e36f919118
Platform: properly install WindowlessCglApplication headers.
10 years ago
Vladimír Vondruš
26b51ad614
Adapted to Corrade changes.
10 years ago
Vladimír Vondruš
51a76ef87f
Fix comparison in AbstractShaderProgram test.
...
Confirmed by @LB-- that it works on AMD. NVidia is producing garbage.
What the hell, NV?
10 years ago
Vladimír Vondruš
281bcac624
Fix building for Android with standard build systems.
...
In this case, standard doesn't mean that we can expect sane behavior.
10 years ago
Vladimír Vondruš
17e653e4e6
package/ci: test both ES2 and ES3 Andoid builds in Jenkins.
10 years ago
Vladimír Vondruš
9e7c5656c6
Platform: don't use deprecated API in AndroidApplication.
10 years ago
Vladimír Vondruš
91753c1c42
Fix ES2 build.
10 years ago