• 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
CALayers, GCD, CATransaction flush and CGContextFlush
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CALayers, GCD, CATransaction flush and CGContextFlush


  • Subject: CALayers, GCD, CATransaction flush and CGContextFlush
  • From: vincent habchi <email@hidden>
  • Date: Thu, 9 Dec 2010 21:37:34 +0100

Hi there,

apparently, it is still mandatory to use - [CALayer setNeedsDisplay] and - [CALayer display], followed by +[CATransaction flush] in order to properly display a CALayer in a background GCD queue.

However, it seems that, in -[CALayer drawInContext:], if I don't call explicitly CGContextFlush() at the end of the routine, the CGPath drawn do not get freed and leak. Can someone confirm this?

Thanks,
Vincent_______________________________________________

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

  • Prev by Date: Re: Call web service from iPhone [use soap]
  • Next by Date: Re: What's the recommended way to have multiple views on one tab?
  • Previous by thread: Re: Call web service from iPhone [use soap]
  • Next by thread: [MEET] CocoaHeads-NYC, tonight
  • Index(es):
    • Date
    • Thread