Re: Core Animation + Garbage Collection

2009-08-23 Thread Kevin Cathey
Have you enabled wants layer for the view? Kevin -- Kevin Cathey On 22 Aug 2009, at 22:21, Evan M wrote: So, it isn't Garbage Collection + Core Animation that is breaking the transition, I just refactored my entire project to remove GC support (big pain) and the

Re: Core Animation + Garbage Collection

2009-08-23 Thread Kyle Sluder
On Aug 23, 2009, at 1:00 PM, Kevin Cathey cat...@apple.com wrote: Have you enabled wants layer for the view? And if you have, have you made sure to provide a custom layer *before* calling -setWantsLayer:? The default AppKit provided layer is Not Yours to touch. --Kyle Sluder

Re: Core Animation + Garbage Collection

2009-08-23 Thread Rob Keniger
On 24/08/2009, at 6:24 AM, Kyle Sluder wrote: Have you enabled wants layer for the view? And if you have, have you made sure to provide a custom layer *before* calling -setWantsLayer:? The default AppKit provided layer is Not Yours to touch. Why's that? It seems to work fine in all my

Re: Core Animation + Garbage Collection

2009-08-23 Thread Kyle Sluder
On Aug 23, 2009, at 4:34 PM, Rob Keniger r...@menumachine.com wrote: Why's that? It seems to work fine in all my testing. There are cases where it breaks. Providing your own layer is the defining difference between a layer- backed and a layer-hosting view. AppKit makes certain assumptions

Re: Core Animation + Garbage Collection

2009-08-23 Thread Evan M
Kevin, Yes, wantsLayer is enabled. -- Evan On Aug 23, 2009, at 4:00 PM, Kevin Cathey wrote: Have you enabled wants layer for the view? Kevin -- Kevin Cathey On 22 Aug 2009, at 22:21, Evan M wrote: So, it isn't Garbage Collection + Core Animation that is breaking

Re: Core Animation + Garbage Collection

2009-08-23 Thread Evan M
Kyle, I don't have a custom layer, I'm animating the transition between two NSViews. -- Evan On Aug 23, 2009, at 4:24 PM, Kyle Sluder wrote: On Aug 23, 2009, at 1:00 PM, Kevin Cathey cat...@apple.com wrote: Have you enabled wants layer for the view? And if you have, have you made sure

Core Animation + Garbage Collection

2009-08-19 Thread Evan Moseman
I've been trying to get a fairly simple and well documented transition: CIPageCurlTransition to work in my app, but the results are awful. Non filter transitions like kCATransitionFade work fine, but when I try to use a CAFilter for the transition the best I get is dome chopped up image

Re: Core Animation + Garbage Collection

2009-08-19 Thread Bill Bumgarner
On Aug 19, 2009, at 10:54 AM, Evan Moseman wrote: I've been trying to get a fairly simple and well documented transition: CIPageCurlTransition to work in my app, but the results are awful. Non filter transitions like kCATransitionFade work fine, but when I try to use a CAFilter for the