diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2019-12-03 14:55:38 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2019-12-03 21:45:17 +0100 |
commit | 8c0fb7679c34281b7ed48e466a7eb72885c088e7 (patch) | |
tree | caf7f688887840fb7a40c35dafc8c3c7f83e5962 /tests/manual | |
parent | a2f7de70d60a9ac212a575cae2387adfb0e5426b (diff) |
Clear RequestRepaint bit set in sync() if we are going to render
...because if we are going to go on doing a frame then the repaint request
is fulfilled. Leaving the bit set would cause the render thread's main loop
to start another frame right after the current one is queued, which is kind
of bad in certain scheduling and blocking cases because the main thread
may end up starving due to the unnecessary extra (and sync-less) frame.
Task-number: QTBUG-80498
Change-Id: I6c9a8f60e5f49d771d7d284bb7399eadbde33b8c
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'tests/manual')
0 files changed, 0 insertions, 0 deletions