> Time to learn some more about the frameworks you’re using then :)

:-)

> People have long dealt with this on iOS by doing tricks like first drawing 
> that image to a 1x1 bitmap on a worker thread before sending it on to the UI.

Would that really make the background (worker) thread execute all that internal 
copying/decoding of images in the *background* thread?

I am asking because, currently, all this stuff gets executed in the main thread 
invoked by some observer.
And, after all, even a background thread eventually has to put the new image in 
the layer hierarchy, which, I fear, will cause the heavy lifting to be done by 
the main thread, again.

Can you point me to some resources ? or examples that have solved this issue?

Best regards, Gabriel


> You have to do something along these lines (as far as I’m aware) to prompt 
> the first decode of the image to happen. After that, drawing it will be much 
> faster.
> 
> Mike.

_______________________________________________

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

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

Reply via email to