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

Problems with button responsivness, solved?


Problems with button responsivness, solved?

Postby Guest » Aug 7, 2003 @ 9:58am

Guest
 


Postby okku » Aug 7, 2003 @ 10:00am

okku
pm Member
 
Posts: 58
Joined: Nov 11, 2002 @ 8:51am
Location: Sweden


Postby Johan » Aug 7, 2003 @ 10:34am

You could check the flags sent to ProcessNextFrame.. If (dwFlags & GDAPP_FRAMETIMEOVERFLOW) this indicates that you are trying to push the little Pocket PC beyond it's limits...

You could do:

if (dwFlags & GDAPP_FRAMETIMEOVERFLOW)
{
Sleep(0);
}

I thought this wasn't an issue anymore since GapiDraw now uses a single-threaded model.. Appearantly it is. Thanks for notifying me, I'll add a Sleep(0) to CGapiApplication if it cannot keep up with the target number of FPS in the next release (2.10).

//Johan
Johan Sanneblad, M.Sc, Ph.D
GapiDraw Systems Architect
[]
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

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