Results 1 to 2 of 2
  1. #1
    Can I use Open GL to...
    Hello. Im new to mac and am wondering can i use Open GL to program on mac?

    - Cheers, Daniel

  2. #2
    Do a Wiki of OpenGL, search it for OS X, you get towards the bottom this quote "Mac OS X has three APIs to get OpenGL support: AGL for Carbon, NSOpenGL for Cocoa and CGL for lower-level access."

    If you do a google search for AGL, one of the top results is a Technical Q&A for OS X OpenGL: (link to that). This quote is from that link, and the link is so we can assume it's official from the developers.

    Q: What are the Mac OS X system specific OpenGL Interfaces?

    A: Apple currently provides 4 basic interfaces to OpenGL: CGL, AGL, NSGL, and GLUT. These APIs perform the required tasks of selecting a pixel format, creating a context for OpenGL state and finally attaching to an OS-specific drawable which selects a renderer and creates the buffers necessary for OpenGL drawing. All of these APIs also provide for buffer swaps and the ability to set context parameters and options. The 4 APIs are as follows: and Wikipedia are your friend. As far as what is the easiest, best, or most commonly used API by Mac developers.. I can't help you there.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Top bar won't appear unless an app is open, can't open finder
    By moreguns in forum OS X - Operating System
    Replies: 8
    Last Post: 12-15-2014, 01:55 PM
  2. Can I open word documents in open office for mac?
    By pcc in forum Switcher Hangout
    Replies: 5
    Last Post: 06-24-2012, 11:07 AM
  3. open applications don't highlight in my dock or appear in the open apps
    By anakin2121 in forum OS X - Operating System
    Replies: 1
    Last Post: 05-30-2012, 02:22 PM
  4. Any way to open an application, then close, then open real fast?
    By yarjarrarr in forum OS X - Apps and Games
    Replies: 4
    Last Post: 09-26-2010, 05:47 PM
  5. Applescript to open when closed, close when open
    By Slokunshialgo in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 05-12-2008, 04:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts