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
Vladimír Vondruš
439b40f762
Platform: this actually asserts now.
8 years ago
Vladimír Vondruš
dba35bac7a
Platform: initial HiDPI support in GlfwApplication.
...
Not basing this off GLFW 3.3 as it's far from being released yet, just a
copy of what's done for SDL2 already.
8 years ago
Vladimír Vondruš
2b0b6a9422
Platform: no, this doesn't look right.
8 years ago
Vladimír Vondruš
4a9663a2ea
Platform: update deprecation warnings/errors.
...
Consistent capitalization, add the warnings also on a file level; hide
the deprecation warnings when compiling the library itself.
8 years ago
Vladimír Vondruš
86b6edb120
Platform: there's no bootstrap for GlutApplication anymore.
8 years ago
Vladimír Vondruš
e795478353
Make all vars initialized in constructors rather than at some later point.
...
Reported by PVS-Studio, many thanks to @alexesDev for collecting the
report.
8 years ago
Vladimír Vondruš
d21c05f6f3
Platform: disallow calling framebufferSize() / windowSize() w/o a window.
8 years ago
Vladimír Vondruš
088c9d6b35
Platform: better capitalization for deprecation messages.
8 years ago
Squareys
f832c8df51
Platform: gracefully fail GlfwApplication::exec() if no window was opened
...
Signed-off-by: Squareys <squareys@googlemail.com>
8 years ago
Vladimír Vondruš
c334d90870
Improve utility documentation even more.
8 years ago
Vladimír Vondruš
47ade4ef53
Platform: make it possible to get scroll position in Glfw and Sdl2App.
8 years ago
Vladimír Vondruš
8204132e6e
Platform: explicit constructors for events in GlutApplication.
8 years ago
Vladimír Vondruš
98dd44548d
Platform: events are everything but usable in a constexpr context.
8 years ago
Vladimír Vondruš
29bc3083d7
Platform: minor cleanup.
8 years ago
Vladimír Vondruš
f94c65470a
Platform: provide AndroidApplication::ViewportEvent::framebufferSize().
...
Same as windowSize(), it's there now just to make the ported examples
compile at the moment. Will need to be replaced with proper
implementation later.
8 years ago
Vladimír Vondruš
8f6ca904d8
doc: improved and unified docs for command-line utilities.
...
Especially mention how to build them and how to use them with CMake.
Also add a dedicated page for the Magnum::Ui Gallery.
8 years ago
Vladimír Vondruš
b47db397af
CMake: provide paths to Emscripten-specific CSS/JS files.
...
And install them unconditionally to allow them to be used with
third-party application implementations.
8 years ago
Vladimír Vondruš
e3b60abf64
Platform: don't allow emscripten to hide the oopsies.
8 years ago
Vladimír Vondruš
2e567e4f12
Platform: cthulhu was missing here.
8 years ago