Re: Size allocation and redrawing issues



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]