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
Apparently the crash is caused when the layer is released an extra
time, however it doesn't look like CoreImage is the culprit. I get
the same crash if I release the layer without calling CI at all.
I'll post that in a new thread.
Nick
_______________________________________________
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