Hi all,
I’m a fairly experienced OpenGL programmer on Win32 and Linux, but I’m pretty new to writing OpenGL apps for OS X.
I’m curious about the status of AGL. When I read the AGL documentation on Apple’s web site (e.g. About OpenGL for OS X), all of the AGL functions are marked “unsupported”.
Suppose I want to write a Carbon application, and I want to write a windowed OpenGL application. It looks like AGL might be my only option. The CGL documentation indicates that I can use it for full screen or off screen, but I don’t see any mention of windowed mode. For example, I don’t see a way of binding a WindowRef to a CGL context.
Here are the specific questions -
1.) Am I missing something in the CGL documentation ?
2.) Is AGL really unsupported or is it just Apple’s way of telling us that we should really be using Cocoa ?
Thanks!