Re: Size allocation and redrawing issues
- From: Owen Taylor <otaylor redhat com>
- To: Tim Janik <timj gtk org>
- Cc: Soeren Sandmann <sandmann daimi au dk>, Gtk+ Developers <gtk-devel-list gnome org>, blizzard redhat com
- Subject: Re: Size allocation and redrawing issues
- Date: 06 Nov 2001 12:21:53 -0500
Tim Janik <timj gtk org> writes:
> On 4 Nov 2001, Owen Taylor wrote:
>
> > Soeren Sandmann <sandmann daimi au dk> writes:
>
> > > > - Invalidation when a widget is resized or moved is "shallow" as
> > > > described above - only the windows that need to be invalidated
> > > > are invalidated.
> > >
> > > There are still some calls to queue_clear that invalidates
> > > _everything_ on opaque resize, including one in
> > > gtk_widget_queue_resize, so your patch doesn't actually reduce the
> > > amount of redrawing. It is easy to remove this invalidation, though.
> >
> > I've fixed some places in my commit for reduced invalidation on
> > opaque resize.
> >
> > - make queue_resize() invalidate shallowly, not deeply.
>
> i don't like this very much. i can't quite pinpoint my feeling currently,
> but i thing queue_resize should at a minimum invalidate the widget and
> all its immediate children.
I'm not sure how to respond here. Can you provide real cases where
this matters? The less we can invalidate, the better, really.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]