Vladimír Vondruš
994b9b22ba
CMake: properly specify IDE folders for everything.
8 years ago
Vladimír Vondruš
24b91e40c2
Platform: ability to specify color/depth/stencil buffer sizes.
8 years ago
Vladimír Vondruš
5589353b9a
Platform: doc++
8 years ago
Vladimír Vondruš
b48b0c1296
Platform: properly redraw GlfwApplication restored from minimize.
...
Lots of things unfinished here.
8 years ago
Vladimír Vondruš
1b5e6812fb
Platform: setup GlfwApplication callbacks in a central place.
...
Removes all needless private static class members and fixes a bug
introduced when getting rid of the global window pointer -- the user
window pointer was set only in the case of having a GL context, not in
the contextless case. Boom. (This bug happened after 2018.04, so I'm not
putting that in the changelog.)
8 years ago
Vladimír Vondruš
80e682d046
Platform: implemented GlfwApplication::MouseMoveEvent::buttons().
...
Improves feature parity with Sdl2Application.
8 years ago
Vladimír Vondruš
57868e57c4
Platform: mark all GlfwApplication event constructors explicit.
8 years ago
Vladimír Vondruš
84ab1d7dad
Platform: lazy-load modifiers in GlfwApplication mouse move/scroll event.
...
No need to fetch them every time. Doing it similarly to Sdl2Application.
8 years ago
Vladimír Vondruš
f922f1e740
CMake: prefer GLVND if on CMake 3.11.
...
This *did not* make things simpler. At all. Ugh. Can I follow
Apple and deprecate GL too?
8 years ago
Vladimír Vondruš
4ecf819fe5
Platform: avoid using deprecated APIs in WindowlessIosApplication.
...
Fallen through cracks. Sorry.
8 years ago
Vladimír Vondruš
e9af67a651
Platform: properly link X11 to all applications that need it.
...
Discovered by the fresh Platform tests -- the X11 package was called
*after* X11_LIBRARIES was used.
8 years ago
Vladimír Vondruš
259f2da78d
doc: filling up general Emscripten docs.
8 years ago
Vladimír Vondruš
81aa98dbee
GL: make it possible to pass a pre-filled Utility::Arguments to Context.
...
For example to support additional app-specific configuration.
8 years ago
Vladimír Vondruš
04a3f9588b
Platform: test compilation & linking of all Application libraries.
...
Because these are static, there can be various problems when linking
them later, so better to test that as early as possible.
This was done in the magnum-bootstrap CI setup before, but that's often
too late to discover problems.
8 years ago
Vladimír Vondruš
7ad33d3f5b
Platform: properly link XEglApplication to EGL.
8 years ago
Vladimír Vondruš
c77e6d7a15
Platform: doc++
8 years ago
Vladimír Vondruš
0e2b251e39
Platform: GLFW doesn't allow to create GL 3.1 core contexts.
8 years ago
Vladimír Vondruš
f30ca8929e
Platform: prefer core GL contexts in GlfwApplication as well.
...
Basically copies the behavior over from Sdl2Application.
8 years ago
Vladimír Vondruš
3e025f6d5b
Platform: no need to store a global window instance pointer.
...
And it was foolish of me to ever attempt to think that GLFW has
the same limitation as GLUT in this regard. Sorry.
8 years ago
Vladimír Vondruš
606811735c
Platform: minor cleanup.
8 years ago
Samuel Kogler
6379a8458e
Fix uninitialized pointer check in GlfwApplication.
8 years ago
Vladimír Vondruš
d398c63182
Platform: properly request a depth buffer on Android.
8 years ago
Vladimír Vondruš
44f829acbd
Platform: fix WindowlessWglApplication on non-deprecated builds.
8 years ago
Vladimír Vondruš
26f1abb396
Platform: fix WindowlessCglContext on non-deprecated build.
8 years ago
Vladimír Vondruš
2fc9f0a13e
Platform: forgotten implementations of GLConfiguration.
...
Oh well. Need to have tests in this repo, not in magnum-bootstrap.
8 years ago
Vladimír Vondruš
a6a24cc7d9
Platform: properly forward-declare GL::Version.
...
Was workinng only by accident when deprecated features were enabled.
8 years ago
Vladimír Vondruš
8d0f922d40
Platform: hide irrelevant macros from Doxygen.
8 years ago
Vladimír Vondruš
b8fe2fb6c3
Platform: don't include the GL headers in GlfwApplication header.
...
So it's possible to use it with custom GL extension loaders. This is
done for SDL2 already.
8 years ago
Vladimír Vondruš
d5a0516f8a
Split the OpenGL layer out, pt 29: SDL2 and GLFW apps w/o GL.
8 years ago
Vladimír Vondruš
675c49e79e
Split the OpenGL layer out, pt 28: non-GL-centric Platform::*Application.
...
The Platform::*Application::Configuration class was split into
Configuration and GLConfiguration, the latter containing only
GL-specific configuration. Moreover, createContext() and
tryCreateContext() were renamed to create() / tryCreate().
There's now a constructor and a create() / tryCreate() overload taking
GLConfiguration and this will be later extended with VkConfiguration,
for example. GL-specific getters/setters from Configuration are now
marked as deprecated and merged into GLConfiguration during context
creation.
Everything has still hard dependency on GL, that will be done in the
next commits.
8 years ago
Vladimír Vondruš
298e7c20a7
Split the OpenGL layer out, pt 23: adapted Platform.
8 years ago
Vladimír Vondruš
9e58eaca61
Split the OpenGL layer out, pt 15: compatibility for Platform::Context.
8 years ago
Vladimír Vondruš
53e2043c6b
Split the OpenGL layer out, pt 14: Platform::{Context => GLContext}.
...
Compatibility header and alias in the next commit so Git is able to
recognize the file move.
8 years ago
Vladimír Vondruš
82fce786d8
Split the OpenGL layer out, pt 7: renamed magnum-info to magnum-gl-info.
...
The WITH_MAGNUMINFO CMake option is now WITH_GL_INFO. No backwards
compatibility is provided, sorry.
8 years ago
Vladimír Vondruš
b1de952c13
Split the OpenGL layer out, pt 6: adapted buildsystem of dependent libs.
...
Now the rest should build with a lot of deprecation warnings.
8 years ago
Vladimír Vondruš
1bb5b89505
Platform: added AndroidApplication::nativeActivity().
8 years ago
Vladimír Vondruš
7295a7c0c9
Platform: wrap Android-specific header in preprocessor better.
8 years ago
Vladimír Vondruš
c95a8a5a0a
Platform: don't use deprecated functionality.
8 years ago
Vladimír Vondruš
a69aa12807
Platform: added AndroidApplication::windowSize().
8 years ago
Vladimír Vondruš
2c40197764
Android: rework Android building docs from scratch using Gradle.
...
It's quite a bit bloated, nevertheless I like it much better than the
old approach.
8 years ago
Vladimír Vondruš
d7e7914839
Platform: avoid warnings about missing function declaration.
8 years ago
Vladimír Vondruš
97a39d7947
Platform: the Android app_dummy() workaround only got worse.
...
What to expect with Android, eh?!
8 years ago
Vladimír Vondruš
925d1759d9
Improve docs about running test/info executables on embedded platforms.
8 years ago
Vladimír Vondruš
3a5b03ac5b
Port WindowlessEglApplication, OpenGLTester and magnum-info to Android.
8 years ago
Vladimír Vondruš
87ba0bb265
Rework Android toolchain support.
...
* Making use of the builtin support in CMake 3.7, the old toolchain
files are no longer needed and thus removed.
* Switched to Clang and libc++, as it has better C++11 support. GCC
toolchain support will phase out in the following commits.
* Having only one PKGBUILD, building for Android ARM64 now.
* Updated the building docs to reflect this.
8 years ago
Vladimír Vondruš
f1f62d690c
Platform: properly export unmangled android_main().
...
How this ever worked before?!
8 years ago
Vladimír Vondruš
9529e488ec
Platform: users of the AndroidApplication don't need the glue.
...
Made the include private and added some public headers instead.
8 years ago
Vladimír Vondruš
c7e55ad67e
Rename all tool sources without the magnum prefix.
...
It's completely superfluous.
8 years ago
Vladimír Vondruš
0ceb54ed7d
Support for ARB_texture_filter_anisotropic.
8 years ago
Vladimír Vondruš
20a499aa0f
Minimal support for OpenGL 4.6.
8 years ago