On Wed, 2003-08-13 at 16:29, Andy Isaacson wrote: > On Wed, Aug 13, 2003 at 11:39:08AM +0200, Michel Dänzer wrote: > > On Tue, 2003-08-12 at 16:49, Andy Isaacson wrote: > > > A more useful solution would be to schedule an event a few dozen > > > milliseconds (say, 20 or 100 ms) in the future, which upon arrival would > > > check that the window has been refreshed and, if not, write it with the > > > background color, on the assumption that if the app hasn't refreshed > > > yet, it's not going to anytime soon. > > > > > > Ideally this event would only be handled when the X server is otherwise > > > idle. > > > > All this effort for a band aid? A different basic approach like in > > XDarwin or XDirectFB makes more sense to me. > > I'm not familiar with how those two X servers operate, so could you help > me out by explaining? How do they handle window obscures? How is it > different from X11's BackingStore?
I don't know a lot of details yet, but they indeed always keep the contents of windows around and composite the desktop with them (actually, they have another windowing system do this, but that's not the point). > Note that BS is turned off by default precisely because it's frequently > a pessimisation -- Actually, I thought it was because the current implementation we have sucks. > too often the BS pixmap is too old, and the X server writes it to the > framebuffer only to have it overwritten by the app as soon as it's > scheduled. Well, do you want the windows to be refreshed ASAP or not? :) I don't think this is a big deal as the windows will be kept in video RAM whenever possible. I can only recommend trying out XDirectFB to anyone - it was a real 'eye opener' for me to move a screen-sized xeyes in front of a Mozilla window. Not to mention that it does real translucency. -- Earthling Michel Dänzer \ Debian (powerpc), XFree86 and DRI developer Software libre enthusiast \ http://svcs.affero.net/rm.php?r=daenzer _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel