diff options
author | Michal Klocek <michal.klocek@qt.io> | 2020-05-20 11:05:17 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2020-05-25 17:37:57 +0200 |
commit | 5786ac12f0a9901b0ddf7ee3c74cd1e87095306c (patch) | |
tree | 2e2fddee38ad39c9538c333c9c4bfb06e8eb23ea /src/network/ssl/qasn1element.cpp | |
parent | 71d63049f718d221e4fc8134c71f050da88c2584 (diff) |
Fix hellowindow example
It seems this example never worked as expected.
It has a 'multiple' option which should show extra
windows with rendering taking place in different
thread, however although render is moved to other thread
render() function was never called in that thread.
Fix following things:
* make rendering in other thread
* stop requestUpdate if nothing is exposed
* add timer so animation works at the same speed despite
of number of windows (renderer B renders two windows)
* wait for render to finish before triggering requestUdpate
* remove mutex where not needed
Pick-to: 5.15
Change-Id: I420436bd28d0357534332dd55b088d634d906c14
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/network/ssl/qasn1element.cpp')
0 files changed, 0 insertions, 0 deletions