xshape+xcomposite

Amir Bukhari ufz6 at rz.uni-karlsruhe.de
Tue Jan 24 01:34:09 PST 2006


 
In LG3D we use the Composite extension only to capture the image of the
window and turn its content to a Texture. 
Normal windows are rectangular shape thus their geometry are simple. For
Shaped Window I use Xfixes to retrieve their shape as Regions and convert
this to a geometry and this later is used to build the 3D object for the
window.
All transparent, shadows effect are done in java3d (normaly in hardware), we
do not use Render extension to composite the different images.
Building the final 3D object for a Window (X App) is more difficuilt as I
describe above :-)

The source the code is not integrated to cvs head of lg3d. I think also that
what I describe above will not help you with what you want to do, but if you
have any questions, don't hastitate to cantact me.

-Amir

> Hi,
> 
> Thanks for the replies.
> 
> Been looking at what you said Deron, but it looks like l3gd 
> source code is not available?, or I just didn't look 
> properly. I don't want to bother Amir with my newbie questions.
> 
> BTW, I'm stuck trying do what Keith said, thus, to create a 
> 1bit ximage, that will allow me to turn it over a pixmap via 
> XPutImage, so I can shape a window with any image's alpha 
> channel info, whether it's needed. 
> 
> I've tried already filling rectangles onto the pixmap used to 
> shape the window and it works, so I'm doing it.
> 
> However, and even providing that I haven't got idea about 
> java, it would be great if we could see Amir's source code, 
> is it actually on the public domain?
> 
> Kind Regards,
> 
> 
> 
> 
> 		
> ___________________________________________________________
> To help you stay safe and secure online, we've developed the 
> all new Yahoo! Security Centre. http://uk.security.yahoo.com 
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg




More information about the xorg mailing list