diff options
author | Gunnar Sletta <gunnar@sletta.org> | 2014-09-17 10:08:09 +0200 |
---|---|---|
committer | Gunnar Sletta <gunnar@sletta.org> | 2014-09-17 14:10:15 +0200 |
commit | 428b676d84c5576cbbaf549381f47b73e2c9b6aa (patch) | |
tree | 5e781b03bf8d9f7655f3ec7bd409507426ec8cf9 /tests/auto/quick/qquicktext | |
parent | 401c4e2e5eb97c221bc7d8ca36cf45aea0f8255a (diff) |
Sync QQuickWindow::update() up with polishAndSync().
When calling QQuickWindow::update() on the GUI thread, we would
immediately flag the render thread that a repaint was needed and then
schedule a polishAndSync. If the render thread completed the current
frame before the GUI thread got to polishAndSync, it would repaint
right away without syncing with GUI first.
Instead of sending the repaint right away, register the need for a
full repaint in the window and set it as part of the next sync phase.
Change-Id: Ia731fb46724cc79f5391422213b069de9362d002
Reviewed-by: Giulio Camuffo <giulio.camuffo@jollamobile.com>
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'tests/auto/quick/qquicktext')
0 files changed, 0 insertions, 0 deletions