• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iPhoto-like scroll view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iPhoto-like scroll view


  • Subject: Re: iPhoto-like scroll view
  • From: glenn andreas <email@hidden>
  • Date: Sat, 8 Sep 2007 09:16:45 -0500


On Sep 7, 2007, at 10:28 PM, Erik Buck wrote:

Second, if you start out using NSImage and or
NSImageCell or NSImageView or NSMatrix, you are on the
wrong path.  An iPhoto like view screams "I want to be
implemented with Open GL".

You might get away with using NSBitmapImageRep or Core
Image which both have fast paths through OpenGL and
don't do excessive in-memory caching.

I could have sworn that there was a session at WWDC a couple years back (maybe 2003? 2004?) that showed how one would go about such a thing. It was probably one of the Cocoa performance sessions, but they showed different techniques for doing this, and I don't remember the fastest version using OpenGL at all (I believe it was all just using a bunch of NSImageCells) - it was just a matter of proper refreshing using the getRectsBeingDrawn:count: method (or maybe needToDrawRect:).




Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
quadrium2 | build, mutate, evolve, animate | images, textures, fractals, art



_______________________________________________

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


  • Follow-Ups:
    • Re: iPhoto-like scroll view
      • From: John Stiles <email@hidden>
References: 
 >RE: iPhoto-like scroll view (From: Erik Buck <email@hidden>)

  • Prev by Date: Re: iPhoto-like scroll view
  • Next by Date: Re: iPhoto-like scroll view
  • Previous by thread: Re: iPhoto-like scroll view
  • Next by thread: Re: iPhoto-like scroll view
  • Index(es):
    • Date
    • Thread