2
« on: August 19, 2012, 11:54:19 am »
Yeah, totaly forgot. Set global V-sync not long ago.
1/ Test : sprites
SDL displayed 428 frames
SFML displayed 1481 frames
--> SFML is 3.5x as fast as SDL
2/ Test : alpha-blended sprites
SDL displayed 114 frames
SFML displayed 1504 frames
--> SFML is 13.2x as fast as SDL
3/ Test : rotating sprites
SDL displayed 67 frames
SFML displayed 1502 frames
--> SFML is 22.4x as fast as SDL
4/ Test : static text
SDL displayed 3648 frames
SFML displayed 27344 frames
--> SFML is 7.5x as fast as SDL
5/ Test : dynamic text
SDL displayed 196 frames
SFML displayed 5559 frames
--> SFML is 28.4x as fast as SDL
Thou interesting, if v-sync was set, why was sdl ignoring it, while sfml wasn't?