Re: Poor blitting performance?
Re: Poor blitting performance?
- Subject: Re: Poor blitting performance?
- From: publiclook <email@hidden>
- Date: Fri, 28 Feb 2003 08:57:56 -0500
Apple provides several opengl examples that use Cocoa at
http://developer.apple.com/samplecode/
The OpenGLFastTexDemo includes many useful bits of information, but it
is very ugly code.
On Friday, February 28, 2003, at 08:24 AM, Steve wrote:
Hi,
I'm using an NSBitmapImageRep to hold a data buffer, in to which I am
doing custom drawing.
I was only getting 40 fps on a 640*480 view, so I thought it was my
drawing code. However, when I remove all code from my
drawRect: method, leaving only
[myImageRep draw];
I'm still only getting 50 fps.
Using a 500MHz G4 and Radeon 8500 on 10.2.4, this seems very slow. I'm
getting nearly double that by running the same test but using Carbon
GWorlds and CopyBits instead.
What things should I explore to improve this poor performance? How do
I get at the OpenGL bliiting routines directly, that I suppose Cocoa
must be calling?
Thanks
Steve
_______________________________________________
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.
_______________________________________________
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.