Re: Cheap replacement for bezierPathWithOvalInRect fill?
Re: Cheap replacement for bezierPathWithOvalInRect fill?
- Subject: Re: Cheap replacement for bezierPathWithOvalInRect fill?
- From: Scott Thompson <email@hidden>
- Date: Thu, 20 Apr 2006 17:03:37 -0500
On Apr 20, 2006, at 4:36 PM, John Stiles wrote:
The route of absolute best performance is likely to be an
NSOpenGLView.
This has its own set of issues, of course—all the rendering code
you have today for that view needs to get junked. But for blazing
performance, OpenGL can't be beat. (Until Quartz 2D Extreme, at
least!)
Well, theoretically (not necessarily absolutely) using CGLayer should
give you performance similar to OpenGL. The idea being that after
you draw a CGLayer to the screen once or twice, the system recognizes
what you're doing and sends your image off to VRAM where it can blit
it quickly (through OpenGL) each time you draw it.
It's a good theory... verification of this in actual practice,
however, is left as an exercise to the reader.
:-)
Scott T.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden