diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2018-05-13 00:44:10 +0200 |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2018-06-01 11:21:20 +0000 |
commit | 36e8cf3cdb50c0447695f35c2e63eed139704c13 (patch) | |
tree | 0eec9bd3ef207062d6af84c9537e74318f950244 /src/corelib/configure.json | |
parent | 01d75bb804df3129317f5d42d34f1c37efaf52c0 (diff) |
wasm: implement QHtml5Window::requestUpdate()
We’ve already set up emscripten_set_main_loop_arg to
call the main loop callback using requestAnimationFrame.
Pause main loop updates when no updates have been requested.
Restart when requestUpdate() is called again.
Applications can now be completely idle when there
are no updates, or animate continuously if requestUpdate()
is called at the end of the paint event.
Change-Id: I1764b09a698f2d98a0f0e008d93e553f04831d4f
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'src/corelib/configure.json')
0 files changed, 0 insertions, 0 deletions