This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Using SetColorMask


Using SetColorMask

Postby yeatd » Mar 30, 2003 @ 12:01am

yeatd
pm Member
 
Posts: 20
Joined: Feb 9, 2003 @ 1:11am
Location: Sussex/U.K


Postby yeatd » Mar 30, 2003 @ 12:42am

yeatd
pm Member
 
Posts: 20
Joined: Feb 9, 2003 @ 1:11am
Location: Sussex/U.K


why so slow

Postby Conan » Mar 30, 2003 @ 8:45am

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.
What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby yeatd » Mar 30, 2003 @ 2:20pm

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!
yeatd
pm Member
 
Posts: 20
Joined: Feb 9, 2003 @ 1:11am
Location: Sussex/U.K


Postby damian » Mar 30, 2003 @ 3:08pm

Try doing a plain Blit() instead of BlitRotated().
damian
pm Insider
 
Posts: 3960
Joined: Sep 3, 2002 @ 7:59pm
Location: Acton, MA (home), NYC (school)


Postby yeatd » Mar 30, 2003 @ 3:13pm

yeatd
pm Member
 
Posts: 20
Joined: Feb 9, 2003 @ 1:11am
Location: Sussex/U.K


Postby damian » Mar 30, 2003 @ 3:27pm

damian
pm Insider
 
Posts: 3960
Joined: Sep 3, 2002 @ 7:59pm
Location: Acton, MA (home), NYC (school)


Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron