CALayers, GCD, CATransaction flush and CGContextFlush
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