Re: Concurrent loading of images ?
Re: Concurrent loading of images ?
- Subject: Re: Concurrent loading of images ?
- From: Georg Seifert via Cocoa-dev <email@hidden>
- Date: Sat, 9 May 2020 23:41:48 +0200
The last time I used layers to draw images it made a HUGE difference if the
image was pixel perfect matching the size of the layer. If the image needed
scaling, it was quite slow (I had really tiny images, but a lot of them).
g
> Am 9. May 2020 um 19:16 schrieb Steve Mills via Cocoa-dev
> <email@hidden>:
>
>> On May 9, 2020, at 12:13, Gabriel Zachmann via Cocoa-dev
>> <email@hidden> wrote:
>>
>> 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.
>
> The point is, yes, the worker thread would be handling the image manipulation
> to resize it to something that lets the main drawing thread work more
> efficiently.
>
> Steve via iPad
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden