You are not logged in.

#1 2007-07-14 19:43:31

Davigetto
Member
From: In your mind
Registered: 2007-05-10
Posts: 266

Differende beetween GLX and SDL? Who is better?

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

#2 2007-07-14 19:50:09

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Differende beetween GLX and SDL? Who is better?

Davigetto wrote:

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

#3 2007-07-15 08:06:27

Stalwart
Member
From: Latvia, Riga
Registered: 2005-10-18
Posts: 445
Website

Re: Differende beetween GLX and SDL? Who is better?

SDL is smarter and more portable


IRC: Stalwart @ FreeNode
Skype ID: thestalwart
WeeChat-devel nightly packages for i686

Offline

#4 2007-07-15 08:44:37

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Differende beetween GLX and SDL? Who is better?

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

#5 2007-07-15 09:19:07

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: Differende beetween GLX and SDL? Who is better?

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

#6 2007-07-15 19:56:34

Davigetto
Member
From: In your mind
Registered: 2007-05-10
Posts: 266

Re: Differende beetween GLX and SDL? Who is better?

Pierre wrote:

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 big_smile, so GLX tuns better on intel tongue


Only deaths can see the end of battles.

Blog: http://djmartinez.co.cc -> The life of a Computer Engineer

Offline

Board footer

Powered by FluxBB