• 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
Fastest Way to display bitmaps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fastest Way to display bitmaps


  • Subject: Fastest Way to display bitmaps
  • From: Jonathan Stocks <email@hidden>
  • Date: Fri, 22 Mar 2002 17:20:55 -0800

Hello,

I am new to this list and very new to Cocoa programming. I was wondering if I could get some advice? (I hope this topic is not done to death)

I am looking for the "fastest" way to display bitmap data to a Cocoa application. I am writing an application that is receiving "generic" bitmap data (the data comes in many different formats) at a fairly high rate, and would like to display it to the screen as fast as possible. Currently, I am converting the data to a NSBitmapImageRep and using that to draw to a custom NSView but, I am not sure if this is the best way to do this. I appear to be having buffer problems. (i.e. the data seems to be changing while in the middle of updating the screen). Is there a delay from when calling [NSBitMapImageRep draw] to when it starts displaying to the screen?

In OS 9, I used CopyBits(...) directly from a PixMap data type. This seemed to work quite nicely. But I am not sure where to go for a Cocoa application. I really just need some direction? I am still not quire clear is it would be best to go towards using Quartz or if I should stick with an object like NSBitMapImageRep or NSImage.

Any advice would be very appreciated!

Thanks,
Jon
_______________________________________________
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: Fastest Way to display bitmaps
      • From: "Erik M. Buck" <email@hidden>
    • Re: Fastest Way to display bitmaps
      • From: "Timothy J. Wood" <email@hidden>
  • Prev by Date: Re: Cocoa's Popularity
  • Next by Date: Re: Cocoa for a living? [WAS: Cocoa's popularity] (Erik M. Buck)
  • Previous by thread: Re: Beta Testing?
  • Next by thread: Re: Fastest Way to display bitmaps
  • Index(es):
    • Date
    • Thread