SFML is 19.9x as fast as SDL
===========================
It means that SDL 1.2 (as a s/w renderer by default) don't use OpenGL
h/w accelaration in these tests (and these 20 time is surprisingly low
difference) - You should draw in OpenGL/DirectX by Yourself (SDL
provides low level API for that). SFML tries to use OpenGL/DirectX
internally whenever possible. So We just don't uderstand how to use
the low-level SDL - really only OS abstraction not everything
optimized out-of box, as its developer state.
But MSEgui can work with OpenGL (DirectX ? In win-32, It usual has far
way better drivers tah OpenGL ones). So the things look like SFML can
do the work which MSEgui can do as well that's SFML is just over
featured (too high layer) for use by MSEgui. Other side, SFML (as a
higher abstraction layer ) can detect & switch between OpenGL &
DirectX, AFAIK.

"http://www.cplusplus.com/forum/general/23944/"; says :

An important detail is that SDL 1.2 doesn't normally *use* OpenGL, it
only wraps WGL/GLX/CGL so that you don't have to worry about the
details of setting up an OpenGL window on various platforms.

"http://www.archivum.info/[email protected]/2008-07/00387/Re-(SDL)-2-d-Accelerated-Drawing--What-are-the-options-when-using-SDL.html"
says :
So whether it's software-based or not, if you're only using SDL
primitives, Microsoft OpenGL has nothing to do with it (unless you
tweaked some stuff that had big warnings around it saying "do not use,
broken", in which case, well, it's normal if it's broken).

There's also a discussion at http://forums.tigsource.com/index.php?topic=27139.0

Also:
http://forums.libsdl.org/viewtopic.php?p=31557&sid=00998d2db2cc10d7ae7aade07f4028f0

2012/8/4, wahono sri <[email protected]>:
> In my laptop :
>
> 1/ Test : sprites
> SDL  displayed 216 frames
> SFML displayed 147 frames
> --> SFML is 0.7x as fast as SDL
>
> 2/ Test : alpha-blended sprites
> SDL  displayed 55 frames
> SFML displayed 155 frames
> --> SFML is 2.8x as fast as SDL
>
> 3/ Test : rotating sprites
> SDL  displayed 40 frames
> SFML displayed 152 frames
> --> SFML is 3.8x as fast as SDL
>
> 4/ Test : static text
> SDL  displayed 1493 frames
> SFML displayed 4436 frames
> --> SFML is 3.0x as fast as SDL
>
> 5/ Test : dynamic text
> SDL  displayed 124 frames
> SFML displayed 2465 frames
> --> SFML is 19.9x as fast as SDL
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> mseide-msegui-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to