Vladimír Vondruš
544f30b52f
Platform: make Application and other conditional aliases searchable.
7 years ago
Vladimír Vondruš
a14be9b154
Adapt to (breaking) Corrade changes.
7 years ago
Vladimír Vondruš
384fd5c363
Platform: fix EmscriptenApp::setContainerCssClass() to fire viewport event.
...
The code was taken straight from Sdl2Application where it assumed the
main render loop polls for canvas size changes and so it would pick it
up automagically. Not the case here, so the viewport event was never
fired after this.
7 years ago
Squareys
6e5f6b8858
Platform: light-weight main loop for EmscriptenApplication
...
Signed-off-by: Squareys <squareys@googlemail.com>
7 years ago
Vladimír Vondruš
de0d991018
Platform: add EmscriptenApplication::setContainerCssClass().
7 years ago
Vladimír Vondruš
41859d8986
Platform: why is this protected when it's public elsewhere.
7 years ago
Vladimír Vondruš
ac0d6987ad
Platform: actually properly destroy the WebGL context after.
...
And expose it to the users.
7 years ago
Vladimír Vondruš
e0019f511c
Platform: this is all wrong anyway and mainLoopIteration() is useless.
...
The exec() should return int to be API-compatible with other
implementations.
7 years ago
Vladimír Vondruš
e7671c0170
Platform: why this is here and not here.
7 years ago
Vladimír Vondruš
1aa4989e5e
Platform: expose raw event structures in EmscriptenApplication.
...
Also store them as references and not pointers.
7 years ago
Vladimír Vondruš
8254e16c91
Platform: rework DPI awareness and resize event in EmscriptenApp.
...
By mistake I thought it's the same as in Emscripten's SDL, but there
Emscripten does some emulation to ensure windowSize() ==
framebufferSize().
For the resize event it's possible to hook into the window resize
callback instead of polling for the size every frame, That's much more
efficient.
7 years ago
Vladimír Vondruš
fd137f3cf1
Platform: make EmscriptenApplication work correctly w/o TARGET_GL.
7 years ago
Vladimír Vondruš
fc4860e30a
Platform: give the docs the love they deserve.
7 years ago
Vladimír Vondruš
73e0199696
Platform: well, these OTOH *don't* need to be flags.
7 years ago
Vladimír Vondruš
4c8ac4f389
Platform: those flags are not flags, damnit.
...
Took me an hour to figure out. Argh.
7 years ago
Vladimír Vondruš
e1e1da99f7
Platform: it's good to enable exts by default in EmscriptenApp.
7 years ago
Vladimír Vondruš
e375fac168
Platform: properly define enum operators for all EmscriptenApp flags.
7 years ago
Vladimír Vondruš
173a87eaf4
Platform: none of EmscriptenApplication constructors were defined.
...
... when compiling w/o TARGET_GL.
7 years ago
Vladimír Vondruš
251e858d5b
Platform: the EmscriptenApplication destructor doesn't need to be virtual.
7 years ago
Vladimír Vondruš
9c8dfbccc0
Platform: hide Emscripten forward declarations from Doxygen.
7 years ago
Vladimír Vondruš
2952a19287
Platform: various minor EmscriptenApplication cleanup.
7 years ago
Squareys
b970b4d247
Platform: Add initial EmscriptenApplication
...
Signed-off-by: Squareys <squareys@googlemail.com>
7 years ago