Kaloyan Donev wrote:
Hello,

        How can I make double offscreen buffering in OS5. I try to
create offscrean window with WinCreateOffscreenWindow, draw in it and
then CopyRectangle to the form window. Evrything is good but all stuff
that I drew in black shows in pink. What window type should I create,
and in what coordinate system should I call WinCreateOffscreenWindow and
WinCopyRectangle. Screen mode that I use is 320 x 320 x 16bits.

Thank you,
Kaloyan Donev




I can't answer your question specifically, but I'll mention that I've been doing all my drawing to an offscreen bitmap and then using WinDrawBitmap to blit it to the screen and I have had zero problems with it... fast moving objects with no shearing or blinking... You could certainly allocate more buffers in this manner if you wanted to.


This is on a Tungsten T... so on older units the same thing may not apply.


-Chris Hurley



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

Reply via email to