Mardi 13 Mars 2001 16:17, DIAMOND JEFF a écrit:

> Yes, a vsync() function would be very nice.  ;)

That's right, but in fact, if you think at it, a blocking vsync() function is 
not so cool, because you can loose a lot of usefull time, waiting the sync.

And a vsync() function wich return immediately but do the fliping at the next 
vertical refresh is not good too, because after this call, if you start 
drawing on what you think is the offscreen windows but which is still 
displayed, you will have bad results...

Maybe, the best thing is to have a vsync event, which say "hey, it's time to 
flip the screen" or, to be sure the fliping occur at the right timing because 
while handling the event it could be too late, it is maybe better to have an 
event which just say : "hey, i've just finished doing the fliiping, you can 
now draw on the offscreen window".

-- 
Daniel Morais

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to