Re: Threaded drawing
Re: Threaded drawing
- Subject: Re: Threaded drawing
- From: Kyle Sluder <email@hidden>
- Date: Mon, 09 Dec 2013 14:12:50 -0800
On Mon, Dec 9, 2013, at 02:04 PM, Jens Alfke wrote:
>
> >> The single CGContextDrawImage in drawRect: should end up essentially being a memcpy which will be ridiculously fast
>
> The bottleneck for image blitting is copying the pixels from CPU RAM to
> GPU texture RAM. This is often a bottleneck in high-speed image drawing,
> and I know that Quartz goes through contortions to try to eliminate it
> whenever possible.
Which is another reason to seriously consider CATiledLayer… it's
plausible that the context it uses is located in shared memory on
machines with onboard graphics.
--Kyle Sluder
_______________________________________________
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