diff options
author | Kirill Burtsev <kirill.burtsev@qt.io> | 2020-09-17 14:46:12 +0000 |
---|---|---|
committer | Kirill Burtsev <kirill.burtsev@qt.io> | 2020-09-18 18:22:37 +0200 |
commit | cf47a78cff65e7616b8458c1519ac90113a6586c (patch) | |
tree | 6eb072d568cd600d1d310687235b4783d7516d33 /src/core/delegated_frame_host_client_qt.cpp | |
parent | d701dcbf4d15e16e05b169828dd4e031e99c2625 (diff) |
FIXUP: Fix swap condition in DisplayGLOutputSurface::updatePaintNode
Amends commit 99a668c324. Task 'swapBuffersOnVizThread' is supposed to
be scheduled only when m_middleBuffer is ready after swap on gpu thread.
Checking for m_taskRunner is not enough to verify this. Call to
updatePaintNode may come from SG backend on expose event, thus breaking
expected sequence of buffers swaps.
Task-number: QTBUG-85817
Fixes: QTBUG-86599
Change-Id: Ia97a7a24b5672a2979b514d3cb4879e7630941eb
Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Diffstat (limited to 'src/core/delegated_frame_host_client_qt.cpp')
0 files changed, 0 insertions, 0 deletions