[SDL] 2D API evolution (SDL 1.3/2.0)

Stephane Marchesin stephane.marchesin at wanadoo.fr
Tue Aug 15 07:29:05 PDT 2006


David Olofson wrote:
> On Tuesday 15 August 2006 02:05, Roberto Prieto wrote:
>   
>> David,
>>
>> how is the current status of glSDL backend? is there any links to
>> download the latest SDL 1.2.11 with it embedded?
>>     
>
> I'm pretty much out of the loop when it comes to the backend 
> version... My bet right now is that you'll find the latest glSDL 
> backend here:
> 	http://icps.u-strasbg.fr/~marchesin/sdl/
>
> As far as I can tell, it has not yet been included in the official SDL 
> 1.2 or 1.3 trees. According to Bugzilla, there is a glSDL patch for 
> 1.3, but it has issues:
> 	https://bugzilla.libsdl.org/show_bug.cgi?id=6
>
>   
FWIW, it works fine here on SDL 1.2. SDL 1.3 is a different story 
altogether, having new internal interfaces which mandates a rewrite of 
glSDL.

> Last thing I heard on this list:
>
> On Saturday 15 July 2006 10:52, Sam Lantinga wrote:
>   
>>> Hi all!
>>>       
>>> and what about OpenGL? and glSDL?
>>>       
>> They're coming.  I went with D3D first, since I wanted to make sure
>> the 1.3 API worked smoothly with it, and to see how much performance
>> it has. 
>>     
> [...]
>
>
>   
>> also, Im interested on glSDL branches that you have
>> named...again...any link?
>>     
>
> The most advanced one seems to be part of the Globulation 2 project:
> 	http://globulation2.org/wiki/Main_Page
>
> ...or more specifically:	
> http://www.koders.com/c/fidE0F18B8CB8CB9C51DE929CDA19655B7F0D08F742.aspx
> http://www.koders.com/c/fid8065027F2B23862CD73D1D1370128358B91C9D77.aspx
>
> This is apparently based on the 0.71 version with rotation and scaling 
> support that was posted on this list:
> 	http://www.libsdl.org/pipermail/sdl/2004-June/062854.html
>
> (The file appears to be gone now, but I have a copy if you want it.)
>
>   
As a side note, they complained about lack of accelerated lines once. 
Drawing software lines and uploading them to OpenGL is really too slow. 
I think that's the reason that pushed that project to integrate a 
variant of glSDL and change it to suit their needs.

>   
>> btw, Im following the SDL 1.3 development to see how we can use
>> opengl or d3d to render our 2D stuff.
>>     
>
> D3D should already be working, it seems, and glSDL is coming when 
> someone (me or Stephane, maybe, if Sam doesn't beat us to it) gets 
> around to look at it.
>   
The internal SDL API has changed. I don't really have time to invest 
into learning it right now and porting glSDL, I'm already quite busy 
with other projects and work. So I guess it's up to you David :D

> Some API extensions similar to what I had in mind already seem to be 
> in place in SDL 1.3, so I guess that answers some of the questions in 
> my original post... I have some code to read! :-)
>
>
>   
>> For the time being...this is an amazing time! soo many news! :)
>>     
>
> Yes, this is most inspiring. I wish I could work full time on this 
> stuff, but that's still not the case, unfortunately.
>
>   
Same here. Sadly.

Stephane





More information about the SDL mailing list