[SDL] glSDL backend

Roberto Prieto dm2 at mi.madritel.es
Fri Dec 24 06:43:12 PST 2004


So... what is the right way to use glSDL?

Could you explain to us or give an example?

I used glSDL as wrapper (v0.71) and it worked for me perfectly :), but now, 
I don't know if there are new improves and changes since v0.71 or not.

Anyway...glSDL is a fantastic project, congratulations to do it! and thanks 
in advance

Happy Christmas!!

----- Original Message ----- 
From: "David Olofson" <david at olofson.net>
To: "A list for developers using the SDL library. (includes SDL-announce)" 
<sdl at libsdl.org>
Sent: Friday, December 24, 2004 1:35 PM
Subject: Re: [SDL] glSDL backend


> On Friday 24 December 2004 08.16, Michael Kastner wrote:
>> > We (David Olofson and me) finally got the glSDL backend into
>> > a state that works and has recieved enough testing for a
>> > first beta. The resulting patch is there (not posted to the
>> > list because of the mailing list size filter) :
>> > http://icps.u-strasbg.fr/~marchesin/sdl/glsdl-final.patch
>>
>> Are there any plans for a binary (dll/so) release?
>
> It's hard or impossible to do properly, since glSDL is a backend to
> SDL, and SDL does not support "backend plugins" or the like. The
> alternatives to building it into SDL is the wrapper approach of the
> original glSDL (on my site), or implementing it as an add-on library
> with a separate API.
>
> A wrapper means you have to compile glSDL into your application rather
> than the SDL library, and a separate API means your application won't
> build or run without an extra library. Both are hard to get right
> without modifying the SDL library, since glSDL requires some intimate
> interaction with SDL, such as piggy-backing extra information onto
> all SDL surfaces. (glSDL/wrapper does that by abusing the "unused1"
> field of the SDL_Surface struct.)
>
>
> //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.net --- http://www.reologica.se ---
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
> 





More information about the SDL mailing list