Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reference Counting in CIImage



On Jun 22, 2005, at 7:32 AM, Nick Nallick wrote:
I've been cleaning up some experimental CoreImage code and I've found that I crash when releasing a CGLayerRef used to create a CIImage. Further experimentation seems to indicate that CIImage imageWithCGImage: retains the provided image but CIImage imageWithCGLayer: doesn't retain the provided layer. Can anyone confirm or refute this?

That's correct (for now, the behavior may change later). However, I don't see why this would cause a crash - the CIImage doesn't reference the CGLayer after -imageWithCGLayer returns


    John


_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartz-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartz-dev/email@hidden

This email sent to email@hidden
References: 
 >Reference Counting in CIImage (From: Nick Nallick <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.