Low fps problem ! need help!

Well,

i’m still on my low fps problem (see http://www.lokigames.com/ml/sdl/3140.html for more info).

I really need someone to explain me where did i make a mistake !! I can send my project if needed.
20 blits = 16 FPS on 64048016/Win32/Celeron 333/128 RAM/TNT 2 16 VRAM is quite diStUrbIng…

Thanks for the help.
Olivier bucher aka Shogun.

Well,

i’m still on my low fps problem (see
http://www.lokigames.com/ml/sdl/3140.html for more info).

I really need someone to explain me where did i make a mistake !! I can
send my project if needed.
20 blits = 16 FPS on 64048016/Win32/Celeron 333/128 RAM/TNT 2 16 VRAM is
quite diStUrbIng…

Thanks for the help.
Olivier bucher aka Shogun. << File: ATT00001.htm >>

I played around with your problem. One thing you can try is to not
SDL_ShowCursor() twice inside in your loop (slows it down a bit, also
makes the cursor flicker). Also, you are doing SDL_UpdateRects and
SDL_PageFlip inside the loop. Having both is redundant, since
they do (almost) the same thing. PageFlip updates the whole screen,
UpdateRects updates a portion.
Even with those, inneficiencies though I got a FPS of about 59. When I took
out the extras, I got a FPS of 63. So I am not sure what you
are doing different.
You can send me your project (@Andrew_Shakinovsky) and I will look at it.
Intriguing…

ps. my system is a dual PIII 550 with 256mb and a Matrox G400, but even
still, I can’t see how that should make that much of a difference.On Tuesday, February 29, 2000 5:22 PM, bucher.olivier [SMTP:bucher.olivier at wanadoo.fr] wrote: