• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Reduce CPU usage in screensaver?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Reduce CPU usage in screensaver? (From: Gabriel Zachmann <email@hidden>)

  • Prev by Date: Reduce CPU usage in screensaver?
  • Next by Date: Predicate matching for entire to-many relationship
  • Previous by thread: Reduce CPU usage in screensaver?
  • Next by thread: Predicate matching for entire to-many relationship
  • Index(es):
    • Date
    • Thread