|
From: Lane R. <la...@if...> - 2005-07-29 22:43:23
|
on Thu, Jul 28, 2005 James W. Walker may have said:
>
>On Jul 28, 2005, at 10:11 PM, Mikey wrote:
>
>> // Tell OpenGL to sync with the vertical retrace of the monitor.
>> {
>> const GLint syncEveryFrame = 1;
>> aglSetInteger( glContext, AGL_SWAP_INTERVAL,
>> &syncEveryFrame );
>> }
>>
>> I didn't see any reference to this sort of thing in the archives so
>> I'm not sure if it was omitted on purpose or if it was an
>> oversight. If it was an oversight, I'd like see about getting it
>> added to the actual CVS codebase.
>
>I looked this up in Apple docs, and while they say what the switch
>does, there is no discussion of pros and cons. There must be some
>cons, or Apple would have made it the default behavior, no?
Pro: limitS tearing due to drawing faster than the screen can refresh
Con: frame rate (typically 25fps max, sometimes more)
Lane Roathe
President Ideas From the Deep <http://www.ifd.com>
___________________________________________________________________
If we aren't supposed to eat animals, why are they made with meat?
|