Re: Reduce CPU usage in screensaver?
Re: Reduce CPU usage in screensaver?
- Subject: Re: Reduce CPU usage in screensaver?
- From: Shawn Erickson <email@hidden>
- Date: Thu, 24 Sep 2009 11:50:47 -0700
On Thu, Sep 24, 2009 at 11:43 AM, Gabriel Zachmann <email@hidden>wrote:
> I wrote a screen saver that basically zooms images at a frame rate of 10
> frames/sec.
>
> When running, it uses about 60% CPU !
> This could be a bit annoying sometimes, if there are other compute
> intensive processes running, such as video conversions.
>
> Is there anything I could do to reduce the CPU usage of my screensaver?
Use the video adapter to do the work instead of the CPU. Off the top of my
head consider using... Core Animation, CGLayers, or dropping down to OpenGL.
-Shawn
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden