[EMAIL PROTECTED] writes:
> > Do I have to repeat a single e.g. line drawing call,
>
> I cannot recommend that, unless you have a very very powerful accelerator and
> a very very weak CPU or are low on RAM.
>
> If not, I'd draw the window (which is what you are hinting at - right ?) into
> RAM and then blit over only the visible portion, which can be done by just
> crossblitting the clipping rectangles.
>
> This also provides backbuffering, which is usually a nice thing to have anyway,
> as you can redraw contents without application help, which is useful for stuff
> like opaque window moves.
>
Well, I already implemented the above, i.e putting a loop around the primitive
calls and resetting the clipping rectangle each time.
But, I'll optimize that, at due time. Premature optimization is the root
of all evil, right?
I already came across the cross-blitting from memory, it's also metioned in the
html documentation. Very good.
--
Thomas Mittelstaedt, software developer
[EMAIL PROTECTED]