--- Sami Mäkelä wrote: > Peter Ronnquist wrote: > > Some clarification, the behavior I get is that the > > animation is not smooth. It is like the vetical > > retrace is missed sometimes. > > It could be that it do the flip at the > correcttime, > > but that the loop sometimes takes too long so that > one > > vertical retrace is skipped. > > Here are some tips about how to make it faster: > > * Use Sdlvideo.surface_display_format to convert the > image to faster format > * Set the color depth to the depth of your screen > * When using Sdlvideo.update_rect, Sdlvideo.flip is > unnecessary. > I don't know if update_rect waits for vertical retrace. Thank you, the screen update was much faster with update_rects. But it did not wait correctly for the vertical retrace (it was barly noticeable though). Best Regards Peter Rönnquist __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr