xrender issue

2011-11-04 Thread Hans-Peter Budek
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_backtrace+0x37) [0x80e8997] [ 9911.289] Segmentation fault at address (nil) [

Re: xrender issue

2011-11-04 Thread Chris Wilson
On Fri, 04 Nov 2011 11:26:07 +0100, Hans-Peter Budek peter.bu...@gmx.de 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

Re: xrender issue

2011-11-04 Thread Chris Wilson
On Fri, 04 Nov 2011 15:11:28 +0100, Hans-Peter Budek peter.bu...@gmx.de 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

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

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 =