Vladimír Vondruš
08a2a75c5c
Modern CMake usage: updated FindCorrade.cmake and FindNodeJs.cmake.
10 years ago
Vladimír Vondruš
4a540d5c6c
Modern CMake usage: bump minimal version to 2.8.12.
10 years ago
Vladimír Vondruš
ca887ddebe
Modern CMake usage: use CMake 2.8.12 on Travis CI.
10 years ago
Vladimír Vondruš
21e2ed7577
Math: no need to make the test complicated.
10 years ago
Vladimír Vondruš
c33fddec86
Updated toolchains submodule.
10 years ago
Vladimír Vondruš
e832e46342
modules: updated FindCorrade.cmake.
10 years ago
Vladimír Vondruš
70f7694d5a
Fix building on GLES2/WebGL.
10 years ago
Vladimír Vondruš
3a87c9b948
Properly reset image bindings on destruction.
10 years ago
Vladimír Vondruš
2f97617bb6
Minor cleanup and documentation.
10 years ago
Nicholas "LB" Braden
f9ead4ef83
Fix 'zero as null pointer constant' warning
...
Scanning dependencies of target MagnumWindowlessWglApplication
[ 30%] Building CXX object src/Magnum/Platform/CMakeFiles/MagnumWindowlessWglApplication.dir/WindowlessWglApplication.cpp.obj
C:\Users\LB\Code\Magnum\build\Magnum-prefix\src\Magnum\src\Magnum\Platform\WindowlessWglApplication.cpp: In member function 'bool Magnum::Platform::WindowlessWglApplication::tryCreateContext(const Magnum::Platform::WindowlessWglApplication::Configuration&)':
C:\Users\LB\Code\Magnum\build\Magnum-prefix\src\Magnum\src\Magnum\Platform\WindowlessWglApplication.cpp:124:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant]
_renderingContext = wglCreateContextAttribsARB(_deviceContext, 0, attributes);
^
[ 30%] Linking CXX static library libMagnumWindowlessWglApplication.a
[ 30%] Built target MagnumWindowlessWglApplication
10 years ago
dlardi
5975945d29
WGL context library build fixed
10 years ago
Vladimír Vondruš
7949c376c5
Platform: link also all static libraries to Magnum.
...
So we inherit all include directories, options and everything.
10 years ago
Vladimír Vondruš
60772f478e
Use proper CMake variable for Corrade Utility library.
10 years ago
Vladimír Vondruš
8469beec3b
Platform: destroy SDL2 window also if Magnum context creation fails.
...
Not sure why I omitted that.
10 years ago
Vladimír Vondruš
29081acc94
Platform: avoid window blinking with multiple context creation attempts.
...
The window is only shown once we are sure that everything went smoothly.
10 years ago
Vladimír Vondruš
a3b84a4bf3
doc: update Homebrew installation docs.
...
Fucking undocumented moving target. Why is it not possible to install
from a file anymore?! Why make things unnecessarily complicated?!
10 years ago
Vladimír Vondruš
4bcb79c315
Platform: properly handle SDL2 context creation failure on Emscripten.
10 years ago
Vladimír Vondruš
fedf84a871
Platform: remove unneeded flag fiddling in Sdl2Application.
...
The SDL2 documentation explicitly says the following:
SDL_WINDOW_SHOWN is ignored by SDL_CreateWindow(). The SDL_Window is
implicitly shown if SDL_WINDOW_HIDDEN is not set.
10 years ago
Vladimír Vondruš
99b402c771
package/debian: stop annoying linters complain about meaningless things.
10 years ago
Vladimír Vondruš
b42c436df0
doc: suggest static building for iOS.
10 years ago
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