speed dfference using clipping with EXA acceleration
fourdan at xfce.org
Thu Aug 17 14:08:01 PDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
I have a bug that reports that the xfwm4 (xfce window manager) embedded
compositor is slower in 4.4 beta2 than in 4.4 beta1.
The user is using the ATI open source driver with EXA.
One of the changes that occurred between beta1 and beta2 is the use of
clipping in beta2 for rendering windows frame with different opacity
using techniques such as :
- - XFixesIntersectRegion()
- - XFixesSetPictureClipRegion()
- - XRenderComposite() using the region computed just above as clipping
- - XFixesSubtractRegion()
instead of "cutting" the window border areas to render in separate calls
to XRenderComposite() with different mask/src/dst coordinates that
describe just the window decorations area.
Reverting that change makes things fast again for the user.
Is that expected? In one case, using 4 calls to XRenderComposite() with
smaller areas is fast, while in the other case, there is just one call
to XRenderComposite() on a large area but with a clipping that leaves
just the decorations area (ie most of the area will not be rendered) and
What's the best (I mean technically speaking, because I clearly prefer
using clipping as I find that more "elegant", but unfortunately it's
Thanks in advance,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v220.127.116.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the xorg