summaryrefslogtreecommitdiffstats
path: root/qmake/generators/mac/pbuilder_pbx.cpp
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@qt.io>2018-05-13 00:44:10 +0200
committerMorten Johan Sørvig <morten.sorvig@qt.io>2018-06-01 11:21:20 +0000
commit36e8cf3cdb50c0447695f35c2e63eed139704c13 (patch)
tree0eec9bd3ef207062d6af84c9537e74318f950244 /qmake/generators/mac/pbuilder_pbx.cpp
parent01d75bb804df3129317f5d42d34f1c37efaf52c0 (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 'qmake/generators/mac/pbuilder_pbx.cpp')
0 files changed, 0 insertions, 0 deletions