Re: gdk double buffering



On Thu, 2003-03-13 at 05:24, Wouter van Kleunen wrote:

> >         1 read all expose events, combining them to form a pixel exact
> >           "invalid" region in each window.
> >
> 
> i don't see this happening. Can you point me where this happens ?
> 
> What i see is:
> 
> 1. expose event comes in
> 2. window creates pixel exact buffer
> 3. draw all widgets to buffer
> 4. blit buffer
> 
> This happens in gtk_main_do_event

What you are missing is that that expose event isn't an
expose event from the X server, but rather GTK+ flushing
the invalid region.

See the logic in gdk_window_process_updates().

Regards,
                                 Owen





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]