Saturday, July 6, 2013

SDL2 API stabilization and new work



SDL2 C library API is stabilized  

So near the end of Feburary, Sam announced that the SDL2 API has been stabilized! Hearing I emailed to the sdl-devel mailing list and with that kmx, jtpalmer and Froggs have helped me to get started on the bindings for SDL2 perl.
Alien-SDL2 is not ready yet but you can get kmx's packages and install them on strawberry perl your self. Or for windows compile and install from the source.



You can see it at:







I also ran some tiny and completely not to be believed benchmark between the two scripts on my Windows 7 i5 laptop:




perl scripts\benchmark.pl

       Rate  sdl sdl2

sdl   867/s   -- -16%

sdl2 1033/s  19%   --




This is just for clearing the screen and drawing some squares. Both are software renders and not using hardware acceleration. 





- Full Post

No comments:

Post a Comment