Re: Images with direct memory access
Re: Images with direct memory access
- Subject: Re: Images with direct memory access
- From: Jens Alfke <email@hidden>
- Date: Fri, 27 Jul 2012 15:45:59 -0700
Keep in mind that accessing the image pixels directly can hurt drawing performance. Your code can only access the pixmap if it's in system RAM, while GPU acceleration requires that the pixmap be in VRAM. So messing with the pixels may either cause the pixmap to be copied back and forth, or force CoreGraphics to degrade to software rendering.
—Jens
_______________________________________________
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