Re: iPhoto-like scroll view
Re: iPhoto-like scroll view
- Subject: Re: iPhoto-like scroll view
- From: Uli Kusterer <email@hidden>
- Date: Sat, 8 Sep 2007 23:15:27 +0200
On 08.09.2007, at 18:59, John Stiles wrote:
Frankly, if the OpenGL way wasn't fastest, this just means that the
guy who wrote the GL version made a mistake somewhere :) OpenGL is
going to run circles around any CPU-based technique unless you are
on a GPU from the stone ages, or your OpenGL code is very naively
written.
The problem is not the actual speed of blitting your images to the
screen. The part where you lose most time when drawing thumbnails is
actually generating them and loading them from disk before that.
Others have already mentioned the APIs available to speed that up,
but I've found that if you take care to only redraw the parts you
actually need to draw, and avoid unnecessary scaling through
cacheing, the actual screen display is by far fast enough even with
Quartz.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
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