Le 25 janv. 09 à 01:10, Alex Kac a écrit :
UIKit/AppKit are not thread-safe meaning we should never do drawing on a background thread. Yet, if we have say 5 views and for performance reasons we want the main view to draw first and then the other 4 to draw in the background like how CoverFlow will draw its icons/images seemingly in the background, how does one do that?
Coverflow does not draw in the background, it load image in background (and maybe resize them to improve drawing).
Drawing 5 or more images should not be slow enough to have to bother with threading.
And if it's not fast enough using Cocoa, convert your image into OpenGL texture and use OpenGL to draw them.
_______________________________________________ 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