Cococa Draw vs OpenGL 2D
I'm a C# programmer who's just started learning objective-c. So I'm sorry if this is a silly question.
From my understanding Cocoa uses OpenGL, so I'm wondering if there is a large performance difference between using Cocoa's drawing methods vs OpenGL for 2d development?
Thanks!
From my understanding Cocoa uses OpenGL, so I'm wondering if there is a large performance difference between using Cocoa's drawing methods vs OpenGL for 2d development?
Thanks!
Hey, welcome to iDevGames, ripter! 
Cocoa doesn't use OpenGL. Cocoa is its own API, but you'll see OpenGL and Quartz as the two graphics APIs associated with it. Quartz is (AFAIK) 2D only. OpenGL can do 2D and 3D. Generally speaking, OpenGL is much faster than Quartz for just about everything.
So in a nutshell: stick with OpenGL because that's the way to go.

Cocoa doesn't use OpenGL. Cocoa is its own API, but you'll see OpenGL and Quartz as the two graphics APIs associated with it. Quartz is (AFAIK) 2D only. OpenGL can do 2D and 3D. Generally speaking, OpenGL is much faster than Quartz for just about everything.
So in a nutshell: stick with OpenGL because that's the way to go.

