Anyone know of some sample code for double buffering?

Steve

Peter Epstein wrote:

> "Nils �gren" <[EMAIL PROTECTED]> wrote in message
> news:3650@palm-dev-forum...
>
> > I'm using simple double buffering when drawing; first I draw everything in
> a
> > offscreen WinHandle and then I copy the offscreen into the screenBuffer.
> > It works well, almost. It's still flickering! I believe this is because of
> > the time it takes for my Palm V to copy the offscreen to the screen...
>
> If you're willing to require OS 3.5 or later for your application, you can
> use the new WinScreenLock and WinScreenUnlock API to effectively switch the
> screen hardware to point to a different chunk of memory, giving a very fast
> switch from the old state to the new state.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to