Vladimír Vondruš
80f37d5262
Platforms: Pointer_stringify() is no more.
7 years ago
Vladimír Vondruš
cfd9b5d39c
Platform: add a test for Sdl2Application::setContainerCssClass().
7 years ago
Vladimír Vondruš
9005b3c9aa
Platform: expose also window events via Sdl2Application::anyEvent().
7 years ago
Guillaume Jacquemin
daf1deab3e
Sdl2Application: add glContext() accessor.
7 years ago
Vladimír Vondruš
8e8010c40b
Document and print helpful error messages for GL-dependent features.
7 years ago
Vladimír Vondruš
053f406b7d
Platform: make SDL2 and GLFW apps buildable without TARGET_GL again.
...
I'm pretty sure this worked correctly in 2018.04.
7 years ago
Thibault Jochem
28e300da02
zero-initialize utf8 buffer.
7 years ago
Vladimír Vondruš
75cc1725ad
CMake: link both GlfwApplication and Sdl2Application to EGL, if needed.
...
This is already done in the FindMagnum module for both, but not in the
source tree -- for SDL2 it was done in the FindSDL2 module (seems a
strange place) and for GLFW nowhere. To make things consistent, I'm
doing that in the Platform CMakeLists now and removed it from FindSDL2.
Hopefully this doesn't break anyone's workflow (static builds of
SDL2/GLFW?). In that case we would need to re-add it to the Find
modules as well.
7 years ago
Vladimír Vondruš
6a982f7841
Adapted to Corrade changes.
7 years ago
Vladimír Vondruš
1346573798
Platform: document that GlfwApplication::swapInterval() doesn't exist.
7 years ago
Vladimír Vondruš
a1356decdd
Platform: extend GLFW and SDL2 test applications.
...
Was checking how text input and key events are related.
7 years ago
Vladimír Vondruš
d7d65db884
Platform: hint SDL what GLES library we want to use.
7 years ago
Vladimír Vondruš
3bb85ae1bb
Platform: don't use deprecated functionality.
7 years ago
Vladimír Vondruš
f9f3df69de
Get rid of std::unique_ptr.
7 years ago
Vladimír Vondruš
40cfe06044
Doc++, minor cleanup.
7 years ago
Vladimír Vondruš
20a55b16aa
Platform: implement Sdl2Application::anyEvent(), expose SDL_Event.
7 years ago
Vladimír Vondruš
d4c1785dc0
Platform: make ViewportEvent non-copyable, mark internals as const.
7 years ago
Vladimír Vondruš
b9342665b2
Platform: don't group special events together with screen events.
7 years ago
Vladimír Vondruš
0479360072
Platform: deprecate typo'd key name in GlfwApplication.
...
Ugh.
7 years ago
Vladimír Vondruš
2149f7b869
Wrap all tests in unnamed namespaces.
...
This makes the compiler warn about test cases that aren't ever used,
which is a good thing.
7 years ago
Vladimír Vondruš
e6b7aa12fa
Updated copyright year.
7 years ago
Vladimír Vondruš
6cc7d2e3a5
Doxygen: extract private virtuals.
7 years ago
Vladimír Vondruš
3ca13dbc1b
Platform: implement {Glfw,Sdl2}Application::exitEvent().
...
SDL has to be special and behave weirdly, of course, as always.
8 years ago
Vladimír Vondruš
40c0576918
Platform: set SDL hints before SDL_Init().
...
Some of them need that.
8 years ago
Vladimír Vondruš
877557fff0
Platform: minor event cleanup in GlfwApplication.
8 years ago
Vladimír Vondruš
1e0d3d3727
Platform: proper feature parity for GlfwApplication::ViewportEvent.
...
Not sure why I omitted this in dba35bac7a .
8 years ago
Vladimír Vondruš
86d0d37c30
Platform: remove deprecated GlfwApplication WindowFlag::Resizeable.
...
Deprecated in a7c7323673 (February 2017).
Use Resizable instead.
8 years ago
Vladimír Vondruš
8f55880b6b
Platform: remove deprecated wheel-reported-as-button events.
...
Deprecated in 2a77856df2 (June 2016). Use
the dedicated mouseScrollEvent() API instead.
8 years ago
Vladimír Vondruš
6bf91f4cdd
Platform: removed deprecated constructors taking nullptr.
...
Deprecated in windowless apps in
6feda42f13 (June 2016) and for windowed
apps in eeba2ac848 (March 2017). Use
constructors taking the NoCreate tag instead.
8 years ago
Vladimír Vondruš
00b0a814e0
Dropped GCC 4.7 support.
...
Interesting that many of the annoyances still apply to 4.8.
8 years ago
Vladimír Vondruš
9430d32a65
Platform: this is now handled by .editorconfig.
8 years ago
Vladimír Vondruš
db0726a328
Platform: ensure the CGL function loading is not used for GLES.
...
This bit me hard today.
8 years ago
Vladimír Vondruš
4567bcfbde
Platform: properly escape output on windowless Emscripten app.
8 years ago
Vladimír Vondruš
e080f2150a
Platform: doc++
8 years ago
Vladimír Vondruš
acf4dd3080
Platform: implemented handling of AndroidApplication::viewportEvent().
8 years ago
Vladimír Vondruš
7dd971daf7
Platform: print interesting values in AndroidApplication test.
8 years ago
Vladimír Vondruš
d40e4f2dea
Platform: added AndroidApplication::framebufferSize() and dpiScaling().
...
Doesn't provide any new interesting values, just for compatibility with
other toolkits.
8 years ago
Vladimír Vondruš
5374aa44f7
doc: mention Android Screen Compatibility Mode firefighting.
...
This took me *weeks*. UGH.
8 years ago
Vladimír Vondruš
5e36f65149
Platform: properly link all dependencies of AndroidApplication.
8 years ago
Vladimír Vondruš
eed4747f78
Platform: (attempt to) build AndroidApplication test using CMake.
...
Currently fails at runtime because I forgot to link stuff.
8 years ago
Vladimír Vondruš
80422e74e6
Moved credits into the documentation.
...
Nobody ever looked into the CREDITS.md file anyway and we want to be
clear about licenses to our commercial users.
8 years ago
Vladimír Vondruš
b73b9cb408
Platform: remove 50 000 lines from Sdl2Application header.
...
Of all the libraries I use, I expected SDL to do the "include the world"
horror the least of all. Ugh.
8 years ago
Vladimír Vondruš
9a11b7d23a
Platform: make all useful Application APIs public, not protected.
8 years ago
Vladimír Vondruš
89f7a5ee75
Platform: don't assert on X11 DEs that don't have RESOURCE_MANAGER.
8 years ago
Vladimír Vondruš
a14975cc42
Platform: properly support the MAGNUM_DPI_SCALING environment variable.
8 years ago
Vladimír Vondruš
0dd46e7e37
HTTPS!!
8 years ago
Vladimír Vondruš
0431f6bd7d
Platform: expose GL::Renderer::lineWidthRange() in magnum-gl-info.
8 years ago
Vladimír Vondruš
7ba24c813c
Platform: expose GL forward compatibility flag also in windowless apps.
...
Similar change to the windowed apps, also resetting it when core context
creation fails or when the workaround is applied. This change is not
done for CGL, iOS and Windows EGL apps, as these are either GLES-only
or, in case of macOS, such flag is not available.
8 years ago
Vladimír Vondruš
c579060922
Platform: ability to override GL forward compatibility in SDL and GLFW.
...
It's enabled by default, but it's possible to explicitly remove the flag
to allow for using features that are not enabled otherwise (such as wide
lines). To make the flag handling easier, there's now also new
addFlags() and clearFlags() methods.
8 years ago
Vladimír Vondruš
f60d2d0d6d
Platform: more consistent docs for features not available on WebGL.
8 years ago