Window Transparency without Compositing Manager

saad shams saad.shams at gmail.com
Thu Aug 7 07:05:37 PDT 2008


Yes. I need "not to use composition manager"

Ok, i got it what you explained about X Get/Put Image. So, its out of
relevance now.


On Thu, Aug 7, 2008 at 3:48 PM, Daniel Stone <daniel at fooishbar.org> wrote:

> On Thu, Aug 07, 2008 at 03:40:38PM +0200, saad shams wrote:
> > Yes, without ANY composition manager (including xcompmgr). I was trying
> to
> > get an overview from the code in xcompmgr that what is it doing. But
> still
> > in the middle of it....
>
> Why are you trying to avoid using a composition manager? You need one.
>
> > So, one thing is sure from you that using XShape, translucency cannot be
> > achieved.
>
> Correct.
>
> > I have read somewhere on the net that I can achieve alpha-transparency
> (aka
> > translucency) by using
> >
> > - XGetImage > Blend Source & Destination > XPutImage
>
> Not really.  You can't alpha blend with windows under you because the
> contents of occluded areas are undefined.  In other words, if you have
> two windows, #1 and #2, and #1 is on top and covering the left half of
> #2, XGetImage on #2 will return the right half correctly in the right
> half, but just garbage for the left half.
>
> > or
> > - XImage + mask (i havnt made the mask yet, but i will try if time !!!)
>
> Yes, but you still need a composition manager.
>
> Cheers,
> Daniel
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkia/R8ACgkQUVYB1rKAgJRZ1QCgiyiAC3LYuDNhvqjdr4sYam2u
> IYIAoMJnM3chqYswURdUjOhKMUuxn8iv
> =wlQL
> -----END PGP SIGNATURE-----
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20080807/50d0a8e9/attachment.html>


More information about the xorg mailing list