2 ms·
Further update: On one machine I found that while DwmFlush() reliably keeps sync to the video rate (ie every time it returns is 1/60th of a second after the pre
by abainbridge 8y ago
Further update: On one machine I found that while DwmFlush() reliably keeps sync to the video rate (ie every time it returns is 1/60th of a second after the previous time), this wasn't sufficient to keep the video output stutter free. I tried many things to get rid of the stutters and gave up after an hour. My guess is the the compositor gives no guarantee that it will display every "frame" your app gives it, even if you give it exactly one per vsync.
The next day my machine had rebooted itself (presumably to apply an update) and now the stutter is gone.
That's the kind of thing that didn't happen on an Amiga :-)