Re: REALITY CHECK: Resource usage of gnome



Miguel de Icaza wrote:
> 
> > He then showed me resizing the gmc window (in full size icon mode),
> > and the thing went into a frenzy of flickery redrawing. Probably a
> > full redraw of the window contents every time the window caught a
> > resize event.
> 
> this is a bug in the way I deal with the column size settings.
> I will fix this soon.

The problem is also that Gtk uses window backgrounds. This causes
flickering
because the window is cleared first by the server and then redrawn by
app. Since expose events travel some time it is very noticable.

The correct solution is not to set any background but use backing
pixmaps or smart redraws (with clipping as much as possible) instead.
There is no clear advantage for either method, but backing pixmaps can
waste lots of memory.

Mark
-- 
... MouseDevice="/dev/null"
--------_--------------------------------------------------------------
Marko.Macek@snet.fri.uni-lj.si      http://ixtas.fri.uni-lj.si/~markom/




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