Page 1 of 1

Using SetColorMask

PostPosted: Mar 30, 2003 @ 12:01am
by yeatd

PostPosted: Mar 30, 2003 @ 12:42am
by yeatd

why so slow

PostPosted: Mar 30, 2003 @ 8:45am
by Conan
First thing to check if not already done is to take out your frame rate limiter just in case it's wrong & check speed still same.

I don't know if this iPaq is one with a different screen layout but some devices are slower than others due to the screen memory being arranged in a way that's bad for blitting. Check the general forum on this one.

PostPosted: Mar 30, 2003 @ 2:20pm
by yeatd
I have taken out my frame rate limiter.
I get 6 FPS on a debug build and 20 FPS on a release build.

I have read through loads of stuff on the Compaq memory buffer display issue and have checked that PF is doing what it should...i.e using direct access to 0xAC0755A0 instead of what is returned by GXGetDisplayProperties().

The problem seems to be when I do the Blit. When I blit nothing the page displays at 130 FPS. But as soon as I blit my image (*.png type image), the framerate reduces to 34 FPS.

And this is whilst doing NOTHING else in the Gameloop. No game code whatsoever. Heaven knows what rate i'll get when I add that in!!

HELP!

PostPosted: Mar 30, 2003 @ 3:08pm
by damian
Try doing a plain Blit() instead of BlitRotated().

PostPosted: Mar 30, 2003 @ 3:13pm
by yeatd

PostPosted: Mar 30, 2003 @ 3:27pm
by damian