Hi

There was a transparency related thread on wm-specs mailing list lately, and 
it provoked an interesting idea, that I'd like to introduce to fine XRender 
folks. Here it is:

AS it is known, one of the method of implementing transparency(pseudo) is to 
use ParentRelative background pixmap for the window. Window with such a 
background could even be tinted/shaded by using XFillRectangle with 
GCFunction set to AND, or by using XRenderComposite with 1x1 pixmap with some 
non-trivial alpha mask.

Now the trouble with such approach is that all the windows upto the Root must 
have ParentRelative background, which may not always be possible with window 
managers reparenting clients and drawing something in frame windows. There 
are different remedies being proposed involving setting different hints and 
so forth. But much more effective approach IMHO would be to introduce one 
more special background type of RootRelative, which would work similarly to 
ParentRelative, only getting background directly from the Root window instead 
of traversing bunch of parents.

Considering that pseudo-transprency is very usefull thing and ParentRelative 
kind of it is rather memory-efficient, that sounds like a very usefull 
addition, not to mention that its my dream fetaure :). 

Regards
Sasha Vasko,
AfterStep and aterm developer.
_______________________________________________
Render mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/render

Reply via email to