Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Milliseconds




Corey O'Connor wrote:
On 1/15/07, Corey O'Connor <email@hidden> wrote:
On 1/14/07, John Stiles <email@hidden> wrote:

If you want a consistent framerate, relying solely on Carbon event
timers isn't recommended. They might drift or miss a firing interval. If
consistency is important, you could use a high-frequency Carbon event
timer coupled with the Microseconds call to check the actual elapsed
time. (e.g. fire the timer 120 times a second, animate at 30fps.)


I was under the impression that using the CoreVideo display was the best method to insure consistent framerate.

--
-Corey O'Connor

Err. And by "display" I mean "display link".

http://developer.apple.com/documentation/GraphicsImaging/Conceptual/CoreVideo/CVProg_Concepts/chapter_2_section_3.html
I'm not familiar with this approach, but if CoreVideo is appropriate for the OP's link, it looks useful.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >Milliseconds (From: "Daniel Shiffman" <email@hidden>)
 >Re: Milliseconds (From: Laurence Harris <email@hidden>)
 >Re: Milliseconds (From: John Stiles <email@hidden>)
 >Re: Milliseconds (From: "Corey O'Connor" <email@hidden>)
 >Re: Milliseconds (From: "Corey O'Connor" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.