iDevGames Forums
Simplified windowing layers (SDL, GLUT, GLFW) - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Game Design (/forum-5.html)
+--- Thread: Simplified windowing layers (SDL, GLUT, GLFW) (/thread-850.html)



Simplified windowing layers (SDL, GLUT, GLFW) - Ingemar - Aug 15, 2009 10:40 PM

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.


Simplified windowing layers (SDL, GLUT, GLFW) - martinsm - Aug 16, 2009 02:50 AM

SDL and SFML is built on Cocoa.
SDL 1.3 version (in SVN) has also iPhone port.


Simplified windowing layers (SDL, GLUT, GLFW) - arekkusu - Aug 16, 2009 05:04 AM

Mac OS X GLUT is built on Cocoa. You can download the source and see for yourself.


Simplified windowing layers (SDL, GLUT, GLFW) - Ingemar - Aug 16, 2009 07:49 AM

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!


Simplified windowing layers (SDL, GLUT, GLFW) - Ingemar - Aug 17, 2009 12:39 AM

No source download? Do you refer to GLUT or FreeGlut?


Simplified windowing layers (SDL, GLUT, GLFW) - arekkusu - Aug 17, 2009 11:09 AM

Mac OS X GLUT source is right there in Apple's sample code. Just go look for it.


Simplified windowing layers (SDL, GLUT, GLFW) - Ingemar - Aug 18, 2009 12:44 AM

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!