• 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: Can I get AppKit to draw this faster ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can I get AppKit to draw this faster ?


  • Subject: Re: Can I get AppKit to draw this faster ?
  • From: Marcel Weiher <email@hidden>
  • Date: Tue, 8 Oct 2002 23:59:23 +0200

On Tuesday, October 8, 2002, at 11:41 Uhr, Nat! wrote:

[drawing lots of images]

A good tip, but unfortunately my intended effect very much depends on scaling.

Have you tried the "Quartz Extreme" trick? Setting the bitmap up as an OpenGL texture and then just scaling the polygon used to draw it? Should then take essentially no time.

60MB/s would be sweet indeed, alas it's only 2000 lines/s -> 2000 * 128 * 4 = 1MB/s. Just a ballpark figure of course.

Looking some more at the Sampler.app output it seems that the AppKit and CoreGraphics is more busy locking internal resources, than actually drawing. I suspect there is no way for me to escalate these locks, outside of my drawing loop ?

#1 advice, at least back in NS/OS days: don't use NSImage.

Marcel

--
Marcel Weiher Metaobject Software Technologies
email@hidden www.metaobject.com
Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Can I get AppKit to draw this faster ?
      • From: Nat! <email@hidden>
References: 
 >Re: Can I get AppKit to draw this faster ? (From: Nat! <email@hidden>)

  • Prev by Date: Re: Carbon vs Cocoa arguments
  • Next by Date: Re: Can I get AppKit to draw this faster ?
  • Previous by thread: Re: Can I get AppKit to draw this faster ?
  • Next by thread: Re: Can I get AppKit to draw this faster ?
  • Index(es):
    • Date
    • Thread