You are not logged in.
Hi, I am a bit newbie on graphic questions. What is GLX and SDL, and what are their differences? Who is better?
Greetings
Only deaths can see the end of battles.
Blog: http://djmartinez.co.cc -> The life of a Computer Engineer
Offline
Hi, I am a bit newbie on graphic questions. What is GLX and SDL, and what are their differences? Who is better?
Greetings
GLX is an X extension which allows OpenGL usage and SDL is a graphical library for C and C++ to use some advanced graphics in your programs. As far as I know, SDL actually uses XGL (maybe indirectly). You can't compare them as they are totally different things...
More info: http://en.wikipedia.org/wiki/GLX and http://en.wikipedia.org/wiki/GLX
Offline
SDL is smarter and more portable
IRC: Stalwart @ FreeNode
Skype ID: thestalwart
WeeChat-devel nightly packages for i686
Offline
not quite, they're different things. incomparable maybe.
SDL provides a whole pile of functions, usually used for games, things like: input, sound, and primarily 2D drawing. It has some 3D support too afaik.
GLX is support for OpenGL under X, allowing programs to use GL under X.
When you use the GL support in SDL, it is running through GLX.
James
Offline
Perhaps he asked because of nexuiz providing a sdl and a glx binary. For me the sdl version runs better/faster on nvidia cars whikle the glx one runs a lot better on intel.
Offline
Perhaps he asked because of nexuiz providing a sdl and a glx binary. For me the sdl version runs better/faster on nvidia cars whikle the glx one runs a lot better on intel.
lol, you told the correct answer, nexuiz , so GLX tuns better on intel
Only deaths can see the end of battles.
Blog: http://djmartinez.co.cc -> The life of a Computer Engineer
Offline