On Wednesday 10 April 2002 02:44, Danny Epstein wrote: > WinScreenLock isn't useful for page flipping in games.
It isn't actually, but it can be : just allow us to use the pointer returned by WinScreenLock and we can take advantage of hardware flipping ! :) ( which is working fine on most color devices : Palm IIIc, Palm m505, Cli�...only the Prism, to my knowledge, does not support this function, which is a shame as it use the same LCD controller than the m505... ). > This is normally done with a pair of calls to > WinScreenLock. The first copies the screen into a secondary buffer. Not if you call WinScreenLock with 'winLockDontCare', which does make sense if you are only looking for hardware fliping. > So you're both right. It blits and it swaps buffers. That's right, my apologies to Matt, I was only seeing my point of vue and forgot that this function have other interrests than just doing hardware flipping. ( it's quite late, here, and the last nights was very short :) -- Daniel Morais -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
