• 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: Leak when "drawing too fast"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Leak when "drawing too fast"


  • Subject: Re: Leak when "drawing too fast"
  • From: Andreas Mayer <email@hidden>
  • Date: Thu, 25 Jul 2013 20:26:50 +0200

Am 25.07.2013 um 19:36 schrieb Uli Kusterer <email@hidden>:

> Have you considered using a display link callback instead of a timer?

Yes. Moving to the display link callback was when I noticed the issue in the first place.

Calling -setNeedsDisplay: in the display link callback is too fast. It gives smooth animation but leads to timers piling up in the system.

Since I can use Core Animation, that is obviously the better solution. It also makes my application look less power hungry - because now it is the WindowServer doing the drawing and eating cpu. ;)


Andreas
_______________________________________________

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


  • Follow-Ups:
    • Re: Leak when "drawing too fast"
      • From: Uli Kusterer <email@hidden>
References: 
 >Leak when "drawing too fast" (From: Andreas Mayer <email@hidden>)
 >Re: Leak when "drawing too fast" (From: Uli Kusterer <email@hidden>)
 >Re: Leak when "drawing too fast" (From: Andreas Mayer <email@hidden>)
 >Re: Leak when "drawing too fast" (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: NSTextView's MarkedText
  • Next by Date: Re: storage for context: value
  • Previous by thread: Re: Leak when "drawing too fast"
  • Next by thread: Re: Leak when "drawing too fast"
  • Index(es):
    • Date
    • Thread