Squareys
5fb3f435dd
Platform: Move emscripten port of Sdl2Application to SDL2
...
Signed-off-by: Squareys <squareys@googlemail.com>
9 years ago
Vladimír Vondruš
5f3ff712bc
Platform: show Emscripten windowless app log only after it loads.
...
Otherwise it obscures the information about downloading.
9 years ago
Vladimír Vondruš
94dc9b1149
Platform: fix deprecation warning.
9 years ago
Vladimír Vondruš
48990755ab
Platform: fix dependencies of ScreenedApplication header.
9 years ago
Vladimír Vondruš
40b06e08cf
Revert "Platform: use saner APIs."
...
Didn't realize that this would put two newlines there, instead of just
one. So it's not a saner API.
This reverts commit 8e2ecc922b .
9 years ago
Vladimír Vondruš
9733988686
Platform: fix severe aliasing artifacts with defaults on Emscripten.
...
The default for Sdl2Application canvas size was 800x600, but the canvas
was sized to 640x480 by the default CSS style. Sorry about this.
9 years ago
Vladimír Vondruš
8e2ecc922b
Platform: use saner APIs.
9 years ago
Vladimír Vondruš
404c23e63d
Platform: ported magnum-info to Emscripten.
9 years ago
Vladimír Vondruš
3cae6a4a86
Platform: don't assume canvas is in all windowless Emscripten apps.
...
Some apps might not use GL context at all.
9 years ago
Vladimír Vondruš
215beaa3be
Platform: ability to pass command-line args to Emscripten browser apps.
9 years ago
Vladimír Vondruš
fda77b8965
Platform: port WindowlessEglApplication to Emscripten.
...
Makes it finally possible to have magnum-info and GL tests.
9 years ago
Vladimír Vondruš
d2f8e3bc9e
Platform: updated grossly outdated iOS/Android/Emscripten docs.
9 years ago
Vladimír Vondruš
1c433486cd
Consistently use macOS instead of OSX.
9 years ago
Vladimír Vondruš
2145ae9b96
Dropped NaCl support.
9 years ago
Vladimír Vondruš
ed7eac0b42
Platform: implement Sdl2Application::windowSize() on Emscripten.
9 years ago
Vladimír Vondruš
fd683e4ca7
Platform: print detected driver in magnum-info.
9 years ago
Vladimír Vondruš
b83b122005
Debug operator for Context::Flags.
9 years ago
Vladimír Vondruš
02efcf43a4
Platform: display whether this is GL core profile in magnum-info.
9 years ago
Vladimír Vondruš
0d94673afb
Platform: make it possible to run main loop iterations manually.
9 years ago
Vladimír Vondruš
dcd2249039
Platform: no need to have things at such level of ugliness.
9 years ago
Émile Grégoire
931c16376b
Fixes to CMake folder support.
9 years ago
Vladimír Vondruš
12fa6961c8
Use CMake folders also for OBJECT libraries, executables and tests.
9 years ago
Vladimír Vondruš
f9bca9e2a7
Platform: no need to define UNICODE.
...
That's defined globally now.
9 years ago
Vladimír Vondruš
a83be88b88
Platform: put code comment on a correct place.
9 years ago
Émile Grégoire
dae1e8e9cf
Started adding folders for Visual Studio.
...
See https://gitter.im/mosra/magnum/archives/2017/03/25
9 years ago
Vladimír Vondruš
3541e9f1fa
Platform: proper include for WinRT SDL_WinRTRunApp().
9 years ago
Vladimír Vondruš
7a16273e5d
Updated copyright year.
9 years ago
Vladimír Vondruš
2b34c269db
Doxygen warning fixes.
9 years ago
Vladimír Vondruš
eeba2ac848
Platform: proper NoCreate constructors for windowed classes.
...
The move away from `nullptr` to NoCreate for constructing an application
without creating OpenGL context was done quite some time ago for
windowless application, but for some weird reason it was never done for
windowed apps. Now made this consistent.
The old `nullptr`-based constructor is still present, but marked as
deprecated and due to be removed in some future release.
9 years ago
Vladimír Vondruš
b14927aa61
Platform: added {Sdl2,Glfw}Application::window().
9 years ago
Vladimír Vondruš
4955e1e320
Platform: text input in GlfwApplication.
...
Mirrors a subset of the text input API from Sdl2Application, requires
latest Corrade for the Unicode::utf8() function.
9 years ago
Vladimír Vondruš
11d664efef
Platform: provide position in GlfwApplication::MouseEvent.
...
Kinda useless without it, I would say.
9 years ago
Vladimír Vondruš
9aa4e69db0
Platform: added GlfwApplication::windowSize().
9 years ago
Vladimír Vondruš
455dc26840
Platform: properly set minimized and cursor window options for GLFW.
...
Didn't work and caused the following error messages to be printed to the
output:
Invalid window hint 131074
Invalid window hint 208897
9 years ago
Vladimír Vondruš
57b36240c2
Platform: doc++
9 years ago
Vladimír Vondruš
3a16ae6f46
Platform: use Flag::TextInputActive instead of a boolean in Sdl2Application.
9 years ago
Vladimír Vondruš
f64ebc6219
Platform: use Flag::Redraw instead of a boolean in GlfwApplication.
...
Also properly reset it before drawEvent() so the users can control the
amount of redrawing themselves.
9 years ago
Vladimír Vondruš
a7c7323673
Platform: make WindowFlag::Resizable consistent between GLFW and SDL2 app.
...
It was Resizeable on GLFW and Resizable on SDL2. As both APIs use
"resizable" as the flag name, I'm keeping it. The old enum value is now
an alias to the new one, is marked as deprecated and will be removed in
a future release.
9 years ago
Vladimír Vondruš
fa0395bb9e
Platform: improve docs of MAGNUM_*APPLICATION_MAIN() for consistency.
9 years ago
Vladimír Vondruš
bd8d807e1c
Make Linux/Windows code for windowless apps on ES more consistent.
10 years ago
Vladimír Vondruš
9fcfd5ee25
Platform: fix compilation of WindowlessWindowsEglApplication.
10 years ago
Vladimír Vondruš
261c573557
Platform: build Android glue C source separately.
...
So I don't include the pedantic flags for it and don't treat it as C++
source.
10 years ago
Vladimír Vondruš
9a7d3a1bec
Added TransformFeedback::maxVertexStreams() limit query.
10 years ago
Vladimír Vondruš
7bd41d2b93
Implemented support for desktop GLES on Windows.
...
Because the library still links to the old crappy opengl32.dll, we need
to load all symbols above OpenGL 1.1, not just those that are above
OpenGL ES 2.0/3.0.
10 years ago
Vladimír Vondruš
d44d50293f
Platform: added missing define for desktop GLES on Windows.
10 years ago
Vladimír Vondruš
53036b2c2c
Platform: magnum-info is console app, so it's not Retina capable.
10 years ago
Vladimír Vondruš
967448069c
Forgotten include guards.
...
Thanks again, KDevelop 5!
10 years ago
Vladimír Vondruš
f3f4f1c779
Platform: include version-specific APIs in Doxygen, too.
10 years ago
Vladimír Vondruš
6a8c121c81
Platform: glfwGetKeyName() is since 3.2.
10 years ago
Vladimír Vondruš
bd24edd2ad
Platform: doc cleanup.
10 years ago