Speeding up image drawing

1 view
Skip to first unread message

Arbit Richardi

unread,
Sep 27, 2011, 1:20:34 AM9/27/11
to quart...@lists.apple.com
I'm looking for tips to speed image drawing on OS X — this is a
primary function of my application. I started out naively with
NSImage, switched to CGImage, added layer backing, then drew directly
into that layer with Quartz. I have an implementation using
CATiledLayers but that doesn't add speed in most cases.

At this point, large images still draw significantly slower than in
Preview. For example, I can display a 25MB test image (~9k x 9k
pixels) in ~2 seconds while Preview can do it in ~1 second.

I've looked at Preview in Shark and can't make much of it. I've combed
the documentation, the internet, and the list archives pretty
thoroughly and I feel like I'm about out of things to try. Can anyone
on the list give me any leads or advice?

Thanks
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (Quart...@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/quartz-dev-garchive-50095%40googlegroups.com

This email sent to quartz-dev-g...@googlegroups.com

Reply all
Reply to author
Forward
0 new messages