Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!ux1.cso.uiuc.edu!sparc1!rolf From: rolf@sparc1 (Rolf Wilson) Newsgroups: comp.sys.mac.programmer Subject: choosing animation sync methods Message-ID: <1991Apr22.152757.23565@ux1.cso.uiuc.edu> Date: 22 Apr 91 15:27:57 GMT Sender: usenet@ux1.cso.uiuc.edu (News) Organization: University of Illinois at Urbana Lines: 19 The original standard way to prevent flicker was to wait for TickCount() to increment before drawing. Of course, this does not work on machines with monitors whose refresh rate does not match the rate that TickCount() increments. Some code was given in the Usenet Mac Programmer's Guide for setting up a VBL task to tell you when the vertical blanking interval had begun. My question is : how can I decide in advance which method to use? Certainly, for known machines I can just look at the machine id, what what about new ones? It should be possible to do a simple animation that won't flicker no matter what machine you use, should it not? -- Rolf Wilson Illinois State Geological Survey rolf@sparc1.isgs.uiuc.edu