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 > <cocoa-dev@lists.apple.com>: > >> On May 9, 2020, at 12:13, Gabriel Zachmann via Cocoa-dev >> <cocoa-dev@lists.apple.com> 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 (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/georg.seifert%40gmx.de > > This email sent to georg.seif...@gmx.de _______________________________________________ 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