Around 19 o'clock on Oct 12, Vladimir Vukicevic wrote:

> Another reason is that while the sample program makes you think it has
> translucent windows, it really doesn't.

The sample I show on my web page was from an X server with true 
translucent window support.  The problem with that X server was that it 
was both incredibly slow, and quite buggy.  I presented my ALS paper last 
year using that X server -- repainting each slide took several seconds.

I'm working on restructuring big parts of the X server internals to make
translucent window support efficient, but it's a rather big job.  It's also
not my first priority and has taken a back seat to other work.

I hope to have a real sample implementation to show sometime in the next 
six months or so.

> Until we have an X extension where one can explicitly give a RGBA value
> to use as the window background and have the server handle the layers, I
> doubt we will see any applications having translucent windows.  

My intent is to allow either ARGB pixel values in each window, or to allow 
for external alpha channels for each window.  As the Render extension 
already provides a description of pixel formats including alpha, the 
windows would simply advertise one of those formats.

> Doing
> this will also require the X server to compute update regions for
> windows based on not only window geometry but also window translucency,
> and will require sending redraw events to translucent windows if
> anything below them changes (which normally wouldn't happen, as they
> would obscure anything else on that spot).

Redraw events eliminate most of the effects you're interested in; instead, 
the X server will preserve needed window contents in off-screen areas.  
Most video cards have plenty of memory these days allowing the compositing 
operations to be performed with hardware acceleration.

Please also refer to the paper I wrote on the topic:

http://www.xfree86.org/~keithp/talks/KeithPackardAls2000/index.html

[EMAIL PROTECTED]        XFree86 Core Team              SuSE, Inc.


_______________________________________________
Render mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/render

Reply via email to