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.