summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2023-01-04 17:24:59 +0100
committerLaszlo Agocs <laszlo.agocs@qt.io>2023-01-09 12:49:15 +0100
commit08b71d8619e2ad3dae8790e498860d3ced2b0851 (patch)
treeaa057936a7ce4d1c27ea2f68358380cf686af446 /tests/auto/widgets
parentb53701d3aad7ba2e7b1e7d4590748c56826f1004 (diff)
Scale the default 5 ms requestUpdate interval based on the refreshRate
5 ms barely works for 144 Hz screens (when we have 6.94 ms altogether). For 240 Hz (4.16 ms) it is definitely wrong. Instead of picking another fixed value, scale based on the reported refresh rate. (60 -> 5, 144 -> 2, 240 -> 1) Fixes: QTBUG-109679 Change-Id: I75d91d8e351149987f4afd673d6dedbda2fb388a Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'tests/auto/widgets')
0 files changed, 0 insertions, 0 deletions