1
General discussions / Benchmark : SDL vs SFML
« on: September 11, 2008, 09:47:44 am »Quote from: "Wizzard"
This highly depends on the system you test with.
I think you don not understand me.
I simply wanted to say that your SDL test is not correct.
I perform the test with and without SDL_DisplayFormat() on ONE computer. SDL test without SDL_DisplayFormat() was MUCH slower then SFML.
My hardware:
Quote
AMD Athlon X2 3800+
GeForce 6100
Windows XP
As I see in SDL documentation SDL_DisplayFormat() is necessary to optimize bitmap blitting and that function call is recommended in all SDL tutorials.
I did not test sprite rotation and test drawing, but I think that sprite rotation will be slower in SDL even with my optimization because SDL_gfx rotate image using CPU not GPU.
I like SFML more than SDL, but I think you have to change your SDL test code to show more truthful results.