Simplified windowing layers (SDL, GLUT, GLFW)

Member
Posts: 260
Joined: 2005.05
Post: #1
From the recent "mega tools" thread:

Oddity007 Wrote:SDL
...
Cons:
•Pulls some nasty tricks with main()

GLFW
...
Cons:
•2.6 uses Carbon, meaning its getting outdated (OneSadCookie has the story behind why it uses Carbon)

Plus GLUT. I should add that to the thread.

We all know that Carbon GUI is not coming to 64-bit nor to iPhone. Let's not debate that. My question is this: What windowing layers are built on Cocoa? I don't think GLUT is. SDL? The statements above seem to imply that, but not clearly.
Quote this message in a reply
Apprentice
Posts: 13
Joined: 2006.10
Post: #2
SDL and SFML is built on Cocoa.
SDL 1.3 version (in SVN) has also iPhone port.
Quote this message in a reply
Sage
Posts: 1,232
Joined: 2002.10
Post: #3
Mac OS X GLUT is built on Cocoa. You can download the source and see for yourself.
Quote this message in a reply
Member
Posts: 260
Joined: 2005.05
Post: #4
arekkusu Wrote:Mac OS X GLUT is built on Cocoa. You can download the source and see for yourself.
It is? I didn't know, that's good news! Now my GLUT code immediately feels a bit safer! Smile But I'll download and have a look anyway.

But where can I download it? At OpenGL.org it says that it is not open source!
Quote this message in a reply
Member
Posts: 260
Joined: 2005.05
Post: #5
No source download? Do you refer to GLUT or FreeGlut?
Quote this message in a reply
Sage
Posts: 1,232
Joined: 2002.10
Post: #6
Mac OS X GLUT source is right there in Apple's sample code. Just go look for it.
Quote this message in a reply
Member
Posts: 260
Joined: 2005.05
Post: #7
arekkusu Wrote:Mac OS X GLUT source is right there in Apple's sample code. Just go look for it.
Amazing, it is not open source but Apple puts it out as sample code. Blink Thanks!
Quote this message in a reply
Post Reply