Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: VU meter drawing performance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: VU meter drawing performance



On Fri, Dec 18, 2009 at 9:16 AM, Ethan Funk <email@hidden> wrote:
> How can I get the displays to all update together?

This question would probably be better asked on the cocoa-dev list.
But basically, you should stop drawing directly, and instead use
-setNeedsDisplay: to cause a redraw at the next available refresh
cycle. Otherwise you might (that is to say, you probably will) outpace
the 60Hz refresh limit imposed by Quartz, which will then throttle
your drawing as a penalty.

--Kyle Sluder
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >VU meter drawing performance (From: Ethan Funk <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.