gl_SDL

I wanted to use glSDL for HW accelerated 2D blitting, but I saw this
note on the web page:*

NOTE:* This branch of glSDL is no longer actively developed, but there
is a glSDL backend for SDL in the works. The glSDL backend makes it
possible for many SDL applications to use full hardware acceleration,
even without recompiling. This backend will hopefully become part of SDL
in the near future.

Is it worth using glSDL, or should I wait until the glSDL backend is
available?

thanks

santi

Well, the whole idea is to provide a portable accelerated backend for
SDL, so it shouldn’t really matter much whether you’re using a
"normal" SDL backend, glSDL/wrapper or the glSDL backend. On a fast
machine, you might be able to develop on the standard backends. If
you need the speed of OpenGL right away, just use glSDL/wrapper for
now.

However, note that glSDL/wrapper isn’t 100% compatible with the SDL 2D
API. (For example, surface locking and updating is a bit flaky, since
glSDL/wrapper doesn’t mark surfaces as h/w.) You should test your
code with glSDL disabled every now and then, to make sure it renders
correctly. If it does, it should render correctly with the real glSDL
backend as well.

//David Olofson - Programmer, Composer, Open Source Advocate

.- Audiality -----------------------------------------------.
| Free/Open Source audio engine for games and multimedia. |
| MIDI, modular synthesis, real time effects, scripting,… |
`-----------------------------------> http://audiality.org -’
http://olofson.nethttp://www.reologica.se —On Friday 02 January 2004 13.51, Santi Onta??n wrote:

I wanted to use glSDL for HW accelerated 2D blitting, but I saw
this note on the web page:*

NOTE:* This branch of glSDL is no longer actively developed, but
there is a glSDL backend for SDL in the works. The glSDL backend
makes it possible for many SDL applications to use full hardware
acceleration, even without recompiling. This backend will hopefully
become part of SDL in the near future.

Is it worth using glSDL, or should I wait until the glSDL backend
is available?