Re: CoreAnimation in a modal window

2008-04-11 Thread Pierre Bernard
Hi! It appears that I need to "push" the NSRunLoop in default mode rather than modal for NSAnimationContext to work: [[NSRunLoop currentRunLoop] acceptInputForMode:NSDefaultRunLoopMode be

Re: CoreAnimation in a modal window

2008-04-10 Thread Dimitri Bouniol
That error indicates that the image stored for the layer is too large (because the layer itself is too large probably) for your graphics card to handle, and therefore won't be drawn. Consider using smaller layers, or take a look at CATiledLayer. Never tried it, but that's what NSScrollView

CoreAnimation in a modal window

2008-04-10 Thread Pierre Bernard
Hi! I am trying to do some nice drawing using CoreAnimation. It all works fine, except for a long series of "CoreAnimation: rendering error 500" messages. However, as soon as I try to use my window in the context of a modal session, only the background is draw. The actual animated layers