I am programming a psychophysic experiement and I need to send a
signal at the time I display an image in Form->Canvas (and of course I
want the timing to be precise). I was wondering how to wait for V-sync
(vertical synchonization/refresh of the screen).