Sdl performance

I’ve been coding some SDL stuff for some time and i was wondering if there
is any kinda study/benchmark between some os-dependant applications and the
same apps coded with SDL to compare performance. I mean the
whaaaa-sdl-is-f*cking-quite-decent-to-blit-stuff effect is a useful info,
but i’d like to have a rather better knowledge of how fast SDL is compared
to OS-specific stuff (and not for blitting op only, event dispaching for eg
would be nice too).
I wonder if any of you had work on such a study or have a link to this kind
of information somewhere.

Thx

Alex

I’ve been coding some SDL stuff for some time and i was wondering if there
is any kinda study/benchmark between some os-dependant applications and the
same apps coded with SDL to compare performance. I mean the
whaaaa-sdl-is-f*cking-quite-decent-to-blit-stuff effect is a useful info,
but i’d like to have a rather better knowledge of how fast SDL is compared
to OS-specific stuff (and not for blitting op only, event dispaching for eg
would be nice too).
I wonder if any of you had work on such a study or have a link to this kind
of information somewhere.

Well, since SDL uses OS-specific stuff, it’ll never be faster than optimized
system dependent code. However, anecdotal evidence on the mailing list
suggests that there is little, if any, overhead in using SDL v.s. platform
specific code, for most things.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

to OS-specific stuff (and not for blitting op only, event dispaching for eg
would be nice too).
I wonder if any of you had work on such a study or have a link to this kind
of information somewhere.
Well, since SDL uses OS-specific stuff, it’ll never be faster than optimized
system dependent code. However, anecdotal evidence on the mailing list
suggests that there is little, if any, overhead in using SDL v.s. platform
specific code, for most things.

FWIW, I ported my video game emulator from DirectX to SDL and noticed no
noticeable change in performance, and my graphics optimizations are fairly
extensive. Keep in mind that everything is 2D, however…

–>Neil-------------------------------------------------------------------------------
Neil Bradley What are burger lovers saying
Synthcom Systems, Inc. about the new BK Back Porch Griller?
ICQ #29402898 “It tastes like it came off the back porch.” - Me