> So what are we supposed to do? Is there something I'm overlooking here or 
> should we maybe stop using CALayers and instead use NSOpenGLView or maybe 
> even manage our own OpenGL Context, render into a background buffer (e.g. 
> some kind of image) and then directly paint this image from within the 
> background thread into the view whenever we want to? If so, what image is 
> most effective for such a task? NSImage, CGImage, CIImage? Any advise is 
> highly appreciated.


As far as my experience goes, it was perfectly possible to update a CALayer 
from a background thread as long as you make this thread run its own runloop. 
That's what I did some time ago before reverting to the classical method for 
the sake of complexity.

No guarantee though, I'd rather let the specialists speak.

Cheers!
Vincent
Sent from my iPhone4 ;)

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to