Re: xrender issue

2011-11-04 Thread Hans-Peter Budek
Hi, > > So what I think you want to achieve is: > > dst = a * srcA + (1-a) * srcB yes, that's my intension > > which can be acheived (and hitting the accelerated paths) with: > > Picture a = XRenderCreateSolidFill(dpy, &(XRenderColor){.alpha = 0x * > Fade}); > Picture ia = XRenderC

Re: xrender issue

2011-11-04 Thread Hans-Peter Budek
Chris Wilson wrote: > > Do you mind describing you use-case for alphamaps and could you create a > little benchmark for your workload? > -Chris > I´am programming a animated crossfade from one window to another. Both windows are not created by my application. The content of both windows is pre

Re: xrender issue

2011-11-04 Thread Chris Wilson
On Fri, 04 Nov 2011 15:11:28 +0100, Hans-Peter Budek wrote: > Chris Wilson wrote: > > > > > Do you mind describing you use-case for alphamaps and could you create a > > little benchmark for your workload? > > -Chris > > > > > I´am programming a animated crossfade from one window to another.

Re: xrender issue

2011-11-04 Thread Chris Wilson
On Fri, 04 Nov 2011 11:26:07 +0100, Hans-Peter Budek wrote: > Hi, > if I set an alpha-map to a destination picture via > XRenderChangePicture(s->Dpy, Dest, CPAlphaMap, &Att) ; > the following XRenderComposite() call crash my X-server: > > Backtrace: > [ 9911.289] 0: /usr/X11R6/bin/X (xorg_backtr