gnustep-dev
[Top][All Lists]
Advanced

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

Re: Window resizing (X11)


From: Philippe Roussel
Subject: Re: Window resizing (X11)
Date: Tue, 17 May 2011 08:48:59 +0200

(sorry, wrong email address used for my last mail, corrected)

Le lundi 16 mai 2011 à 15:24 -0600, Eric Wasylishen a écrit :
> > 
> > I can confirm that window resizing looks much better now, I don't see
> > the annoying flickering anymore, thanks a lot !
> > 
> Good to hear!
> 
> > Not related to your patch but annoying, I would say that repainting is
> > kind of slow compared to gtk. When resizing a GWorkspace window to a
> > bigger size (in the icon view for example), the old content is repeated
> > in the added area before drawing completes and displays the new content.
> > Do you also see this ? With today's computing power I find this strange.
> > 
> I haven't tried GWorkspace but yeah, I think repainting is a lot
> slower than it should be. I have a list of things to investigate at
> some point:
> 
> - for cairo, we do all drawing into cairo image surfaces. Comments I
> read on the cairo mailing list suggest using xlib surfaces should be
> (much?) faster.
> 
> - the image drawing code needs reworking. As far as I understand it
> creates a window every time an image is drawn. Moving to the image
> system I implemented in Opal should bring a big improvement in
> performance.
> 
> - I don't have a lot of faith in the x11 backend code as it's pretty
> complex and has a lot of legacy compatibility code. I fear it's doing
> more X roundtrips than necessary, but I don't have any evidence to
> back this up (or X programming skill..) :-)
> 
> These are more or less speculation though, as I haven't seriously
> profiled window repainting.

Unfortunately I have zero knowledge in X, back and cairo but if I can
help by testing patches let me know.

Maybe x11vis (http://www.x11vis.org) could help.

Philippe





reply via email to

[Prev in Thread] Current Thread [Next in Thread]