Re: GC graphics_exposures

Peter Zelezny <[email protected]> Wed, 5 Feb 2003 21:03:23 +1100
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <[email protected]>
On Wed, 5 Feb 2003 07:24:51 +0000
Tor Lillqvist <[email protected]> wrote:

>  > Also, it still copies the invalid region before exposing it. This
>  > causes a quick flash/flicker before the exposure is called. 
>
> Ah, yes. Sorry.
>
>  > Or, if it's easier, set a clip region to the destination drawable.
>
> That sounds like a good idea. Will try.

Here's a patch that uses ScrollWindowEx instead of BitBlt, when it can.
It's incremental on your previous patch.

My question is, is it worth it? Does BitBlt already do such an optimization
internally? It's a pitty we can't read bitblt.c :)

Testing shows that visually, it works fine, but I can't see any speed change.

-- 
Peter Zelezny.


[Non-text portions of this message have been removed]