Unsolved How to synchronize with vsync
-
I'm doing a simple gauge by rotating an Image of a needle with its rotation property. The needle's angle is controlled by data coming in over USB. Currently, I'm doing
Window { onFrameSwapped: { rotate_needle_image(angle_from_usb); update(); } }
Is this the correct way to synchronize drawing with vsync?