Re: Fast image loading + scrolling like iPhoto
Re: Fast image loading + scrolling like iPhoto
- Subject: Re: Fast image loading + scrolling like iPhoto
- From: Tim Lucas <email@hidden>
- Date: Thu, 6 Jan 2005 14:08:38 +1100
On 06/01/2005, at 3:16 AM, Ricky Sharp wrote:
I believe iPhoto uses OpenGL. During scrolling, output quality is
decreased so that rendering time is greatly reduced. It's probably
some trick with textures. Someone that actually has dealt with OpenGL
(I never have myself) will know for sure.
Introspecting the View with F-Script Anywhere shows the following class
heirarchy:
PhotoViewer : ArchiveDisplay : NSControl
and the following view heirarchy:
PhotoViewer -> NSClipView -> NSView -> BeveledBox -> NSView -> NSBox ->
OurSplitView -> NSView -> NSView -> NSGrayFrame
so nope... no OpenGL in site.
PhotoViewer has notification methods "networkImageLoadedNotification",
"hiResLoadedNotification" and a method "preloadHighRes" so I'm guessing
the loading happens in separate threads...
- tim lucas
http://www.toolmantim.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden