And SDL_Layer is still maintained 
Unfortunately I did not have any feedback from anybody having compiled or used it except one developer which uses it for a karaoke program.
This lib is not heavy and might be useful to avoid managing a list of dirty rectangles. If one day you want to switch to a flip refresh method, then you just have a flag to change, your program remains the same. Moreover you can achieve nice parallax effects.
Julien
— En date de?: Jeu 12.2.09, Jonathan Dearborn a ?crit?
Jonathan Dearborn
Objet: Re: [SDL] SDL using a background image
?: “A list for developers using the SDL library. (includes SDL-announce)”
Date: Jeudi 12 F?vrier 2009, 13h01
Did you use SDL_DisplayFormat()?? That can speed things up quite a bit…
Jonny D
On Thu, Feb 12, 2009 at 5:53 AM, Alvin wrote:
On Thursday 12 February 2009 00:45:19 Jose Alberto Arredondo wrote:
Hello,
I have a 640 x 480 display being driven by an ATmel at91SAM9261 and I’m
trying SDL for the graphics, everything is fine but is kind of slow, it
refreshes almost every second, is not that bad, but what I have to display
is a big graphic in the background (340x340) and 10 small moving graphics
(4 x 340) over it, my question is is there a way to set that big image in
the background and only be refreshing the other small 10?, because as soon
I remove the static big graphic everything works very fast as you might
guessed.
Thanks
Alberto
Take a look at SDL_Layer http://code.google.com/p/sdl-layer/. I haven’t used
it myself only because I haven’t need it yet. But from what you are
describing, this might be what you are looking for? SDL_Layer was discussed
in length on this list awhile back.
HTH,
Alvin
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
__________________________________________________________________________________________________
Ne pleurez pas si votre Webmail ferme ! R?cup?rez votre historique sur Yahoo! Mail ! http://fr.docs…yahoo.com/mail/transfert_mails.html