Re: Quickly drawing non-antialiased, discrete, pixels
Re: Quickly drawing non-antialiased, discrete, pixels
- Subject: Re: Quickly drawing non-antialiased, discrete, pixels
- From: Cameron Hayne <email@hidden>
- Date: Sun, 05 Jan 2003 17:26:30 -0500
On 5/1/03 2:04 pm, "Bill Bumgarner" <email@hidden> wrote:
>
I'm actually using simply RGB w/no alpha channel. It
>
takes 20 seconds to render 100,000 points with 2 second update
>
intervals.
Hmm, maybe I'm not understanding properly but this sounds extremely slow -
does that mean you have a display update rate of 5000 pixels per second?
My test application "ImageCalc" gets a display update rate of 2 megapixels
per second on my iBook 600. I'm calculating the pixel values (at a rate of 5
megapixels per second) and displaying periodically via NSBitmapImageRep like
you are doing. But my pixel values are 0-255 so I'm using an 8 bit
NSBitmapImageRep with NSDeviceWhiteColorSpace. Can it be that using
full-colour is that much more expensive?
You can download my ImageCalc project at:
http://hayne.net/MacDev/ImageCalc/
To see the update rates, open the Statistics drawer via the Window menu.
--
Cameron Hayne (email@hidden)
Hayne of Tintagel
_______________________________________________
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.