|
From: James W. W. <os...@jw...> - 2005-02-16 07:13:39
|
On Feb 15, 2005, at 8:39 PM, Lars Jensen wrote: > I just downloaded d20 for Mac and ran GeomTest in the Carbon folder. I > switched to MultiBox and got a somewhat jerky frame rate (iMac G5 > 1.8GHz, > standard video card). > > Then I turned on Show FPS, and after a second or so, the rotation > became > quite noticeably smoother. > > I wouldn't expect a noticeable difference at all, and I certainly > wouldn't > expect it to get smoother with the extra computation/refreshing of the > title > bar... If you look at the code in QutMac.c, it makes sense. With FPS display off, it sleeps for 1 tick on every call to WaitNextEvent. This gives other processes some time, and makes it impossible to get more than 60 FPS. When you turn FPS display on, it starts hogging the processor as much as possible. -- <http://www.jwwalker.com/> |