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
Vladimír Vondruš
d228e47223
Platform: forgotten defines in magnum-gl-info.
8 years ago
Vladimír Vondruš
27f73aecdf
Platform: what the hell, these are not bitflags!
...
It's pure luck that this ever worked.
8 years ago
Vladimír Vondruš
2b1ed769bb
Platform: absolute include path for Apple Foundation.framework stuff.
8 years ago
Vladimír Vondruš
3b2c4ca5e5
Platform: make WindowlessEglApplication working with SwiftShader.
...
There's much more to work around / fix, but this is a start. First we
need to create the context with a pbuffer, otherwise eglMakeCurrent()
crashes deep inside. Second, it doesn't treat EGL_CONTEXT_FLAGS_KHR as a
bitfield, so it blows up when encountering a combination of zero flags.
In that case we're simply not sending the flags there. This would also
blow up when there's more than one flag passed, but there's just one
flag for debug context at the moment, so shouldn't be a problem.
8 years ago
Vladimír Vondruš
3828e6b9a3
Platform: don't disable compositing in Sdl2App.
...
Yay, it was fixed in the meantime!
8 years ago
Vladimír Vondruš
d3cb21dd55
Platform: fix 1:1 aspect ratio for web applications.
...
CSS priority rules outtricked me again, ugh.
8 years ago
Vladimír Vondruš
e1e4dbd4c4
Platform: properly fall back to physical DPI scaling.
...
Not sure why I did it this way. For sure wasn't like that in the initial
implementation.
8 years ago
Vladimír Vondruš
e1a156ea67
Platform: numpad key mapping for Sdl2Application.
8 years ago
Vladimír Vondruš
5319e6bb1c
Platform: properly initialize a value.
8 years ago
Vladimír Vondruš
674a740da5
Renamed various sRGB-related GL APIs for consistency with naming in Math.
...
As usual, the old names are deprecated aliases to the new things.
8 years ago
Vladimír Vondruš
ae744ee6c8
Platform: style canvas focus outline consistently with m.css.
8 years ago
Vladimír Vondruš
799d9b80db
Doc++
8 years ago