- From: Havoc Pennington <hp pobox com>
- To: Alexander Larsson <alexl redhat com>
- Cc: gtk-devel-list <gtk-devel-list gnome org>, Benjamin Otte <otte gnome org>
- Subject: Re: rendering-cleanup-next
- Date: Mon, 13 Sep 2010 09:21:20 -0400
On Mon, Sep 13, 2010 at 4:26 AM, Alexander Larsson <alexl redhat com> wrote:
> I'm personally a tiny bit uneasy about dropping bg None, as in some
> cases its really required to do flicker-free stuff in X. However, with a
> modern Gtk+ these situations are quite rare, and I don't think any of
> these changes really cause any flicker, since:
> 1) In practice almost all non-toplevel GdkWindows in a typical Gtk+ app
> are client-side (i.e. have no corresponding native window). This means
> that mapping them does not make X clear the area to the background, and
> there is no flicker.
> 2) Even for windows with native windows there is often no flicker, as
> the X11 gdk backend aggressively set+unsets background None around
> things like moves, resizes, maps and reparents in order to not render
> anything to the screen until we do the expose.
Fair enough. It looked to me like the None still in GTK were all on
scrollable areas (text and tree view, GtkLayout). So if those are just
client-side anyway, None background isn't doing anything.
] [Thread Prev