2009/11/24 Jay Tennant <[email protected]>:
> I was testing out the directx backend with the latest commit, and I noticed 
> the frame rate was cut in half: 9 fps. Usually it's 17. The backend is 
> capable of much more, which is obvious when gfx_setpalette() is called 
> continuously to fade to black and fade to color--the fps jumps to around 45. 
> (The standalone test app can reach > 1300 fps when vsync is disabled.)
>
> Something in the engine is seriously lagging now. Unfortunately, the last 
> commit I used was from the 13th until I updated tonight/morning. Somewhere 
> between then and now the fps have dropped.

I tried Game and Custom, but did not see deviation from normal
anywhere. The framerate is meant to be 18.2. You can enable the
builtin FPS display by pressing Ctrl+~. I see a rock steady 18.2
everywhere (except during fades and loading and the menus in Custom
that run at a higher rate), and your FPS display reports 19. CPU usage
is about 5% (so 10% actually, it's a dual core). See whether those two
FPS values agree for you.

I checked all the changes to allmodex.bas since the 13th and found
nothing, really. I can't think of any possible explanation. Do you get
the same framerate everywhere (in both Game and Custom)?

> Btw, is there consideration being given to updating the timer mechanism? Is 
> there a need for a dos timer still?

Well, what do you mean? Increase the frame rate, yes, we want to do
that, improve the way that the frame delay and key repeat rate are
calculated, yes, but the graphics backend doesn't have anything to do
with these, except maybe for returning the monitor refresh rate.
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to