I’ve been developing a video game with SDL/Windows, using SDL.dll Version
1.2.11.0 I was getting about 25 FPS, which was fine. A few days back I
downloaded 1.2.12.0, and the frame rate dropped to about 15 FPS ! Nothing else
was changed !
Any ideas? It’s a very simple game, most of the time is spent blitting to the
screen (with alpha-blends), plus some music/sound effects. I’ve obviously gone
back to the older dll for now !
The code also compiles under Linux(CentOS/Gnome) on the same hardware, and this
only runs at 10 FPS, tried the latest, and previous libraries, with no effect.
I’ve been developing a video game with SDL/Windows, using SDL.dll Version
1.2.11.0 I was getting about 25 FPS, which was fine. A few days back I
downloaded 1.2.12.0, and the frame rate dropped to about 15 FPS ! Nothing
else
was changed !
Any ideas? It’s a very simple game, most of the time is spent blitting to
the
screen (with alpha-blends), plus some music/sound effects. I’ve obviously
gone
back to the older dll for now !
The code also compiles under Linux(CentOS/Gnome) on the same hardware, and
this
only runs at 10 FPS, tried the latest, and previous libraries, with no
effect.
I’ve been developing a video game with SDL/Windows, using SDL.dllVersion
1.2.11.0 I was getting about 25 FPS, which was fine. A few days back I
downloaded 1.2.12.0, and the frame rate dropped to about 15 FPS !
Nothing
else
was changed !
Any ideas? It’s a very simple game, most of the time is spent blitting
to
the
screen (with alpha-blends), plus some music/sound effects. I’ve
obviously
gone
back to the older dll for now !
The code also compiles under Linux(CentOS/Gnome) on the same hardware,
and
this
only runs at 10 FPS, tried the latest, and previous libraries, with no
effect.
I’ve been developing a video game with SDL/Windows, using SDL.dll Version
1.2.11.0 I was getting about 25 FPS, which was fine. A few days back I
downloaded 1.2.12.0, and the frame rate dropped to about 15 FPS ! Nothing
else
was changed !
Any ideas? It’s a very simple game, most of the time is spent blitting to
the
screen (with alpha-blends), plus some music/sound effects. I’ve obviously
gone
back to the older dll for now !
The code also compiles under Linux(CentOS/Gnome) on the same hardware, and
this
only runs at 10 FPS, tried the latest, and previous libraries, with no
effect.
Is it possible to publish the source of that game ?
Have you tried what testsprite for example that comes
with SDL says ?
CU
I’ve just been trying TestSprite, it gives the same result, about 930-940 FPS,
for both DLL’s. I’ve not tried it on the target machine in Linux yet. Clearly
this program is only using small sprites, and a small screen, I will have to try
it with larger sprites, with proper alpha-blending, and a larger window.
There is however, something clearly different between the 2 DLL’s.
Sorry, can’t release the source for the game It’s huge anyway, cos of all the
other stuff in there.
wrote:Hello !> I’ve been developing a video game with SDL/Windows, using
SDL.dll Version> 1.2.11.0 I was getting about 25 FPS, which was fine. A few
days back I> downloaded 1.2.12.0, and the frame rate dropped to about 15 FPS !
Nothing
else> was changed !>> Any ideas? It’s a very simple game, most of the time
is spent blitting to> the> screen (with alpha-blends), plus some music/sound
effects. I’ve obviously
gone> back to the older dll for now !>> The code also compiles under
Linux(CentOS/Gnome) on the same hardware, and> this> only runs at 10 FPS, tried
the latest, and previous libraries, with no
effect.>> The h/w is an LV-673 microITA board (> http://www.bvm-store.com/ProductDetail.asp?fdProductId=274 ).>
Any help or suggestions much appreciated !Is it possible to publish the
source of that game ?Have you tried what testsprite for example that comeswith
SDL says ?CU_______________________________________________
SDL mailing listSDL
lists.libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org