It doesn't seem possible to cut flicker completely, since
the Dragonball chip is missing a vertical retrace interrupt;
so an application can never know which horizontal line of
the display is currently being refreshed.  The function seems
to be completely missing from the API even for new hardware
which might support this video feature or double buffering
in hardware.

You can reduce the flicker down to just 2 frame tearing by
copying to the entire display in one pass.  Just set the draw
window to an offscreen one until you are completely done
updating one frame, then copy that entire frame to onscreen
memory in one blit (ideally, just before vertical retrace
to remove any tearing).

Ron Nicholson
HotPaw
  <http://www.hotpaw.com/rhn/hotpaw >

--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to