tests: Make tst_scaling more robust
When a fractional scaling value is sent, we expect the client DPR to
update, and a new frame sent to the compositor.
We can't be sure that our compositor thread won't already have the new
frame by the time we call surfaceCommitSpy.wait.
Change-Id: Iab7d57f07e854a79e69b97631fe1b6006a061b82
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: David Redondo <qt@david-redondo.de>
| commit | 67ef52538184e72b8aaf4e2c2e3a8bd9260fba6d |
| parent | 3c49641f09eff98dad682d18ac3ce64f40a654a8 |
| author | David Edmundson <davidedmundson@kde.org> |
| committer | David Edmundson <davidedmundson@kde.org> |
| commit time | Tue, 17 Sep 2024 10:10:27 +0100 |