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

Frame timings on PPC's


Frame timings on PPC's

Postby Phantom » Jun 22, 2005 @ 3:34pm

Hello,

Is the refresh rate of the PocketPC screen always ~60?

- Jacco.
Give me some good data and
I will give you the world
User avatar
Phantom
pm Insider
 
Posts: 913
Joined: Feb 21, 2001 @ 8:14am
Location: Houten, Netherlands


Postby BIGBEN » Jun 22, 2005 @ 6:22pm

User avatar
BIGBEN
pm Member
 
Posts: 281
Joined: Mar 18, 2003 @ 10:18pm
Location: Saint-Petersburg, Russia


Postby Phantom » Jun 22, 2005 @ 10:21pm

The new game is using PocketHAL.

About the Hz: I want to force my game to use two 'vertical blanks', so that it runs at 25-30fps. I'm not worrying about 10% speed difference, I just wanted to make sure there aren't any devices that refresh the screen at 100hz or something.

What I will do is this: If the game spent less than 1/60th second, it will wait until it spent almost 1/30th second, then it will do a Swap( SWAP_VSYNC ). If the game spent more than 1/30th of a second, it will do one iteration without screen update (to catch up). This way, the game will run at 30fps max, or it will frameskip (which isn't a problem with this game).

So far the game is performing very well on a iPaq 1915, which is one of the slowest devices (apart from those devices with weird graphics chips).

- Jacco.
Give me some good data and
I will give you the world
User avatar
Phantom
pm Insider
 
Posts: 913
Joined: Feb 21, 2001 @ 8:14am
Location: Houten, Netherlands


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