[OLPC-Games] GTK+ video target for SDL, first attempt.

Andrew Clunis orospakr at linux.ca
Mon Apr 23 14:42:32 EDT 2007


Ryan C. Gordon wrote:
> This email is mostly just a request for comments, including comments 
> like "this work isn't the right way to go," before I go further. Lots of 
> this is broken still, lots more is speculative in nature.
> 
> I've written the initial parts of a GTK+ video target for SDL. This 
> removes the direct dependence on X11 from the library and makes it 
> easier to hook into Sugar. The goal is to make it work without any 
> source code changes (or even a recompile) needed in third-party apps 
> that just want to use SDL, and make it easier for apps that want to use 
> SDL but also hook into the OLPC features.
> 
> Video performance on my Linux desktop is almost identical to the X11 
> target...sometimes a few frames per second faster, sometimes a few 
> slower, depending on the run.
> 

Wow, I'm impressed!  Nice work.  I thought that GTK+ would have been
much slower.

-- 
Regards,
Andrew Clunis



More information about the Games mailing list