Re: Is interpolation of image-border specified by Render?

2008-10-20 Thread Clemens Eisserer
Hi Maarten, I've tried to generate a small test-case, however it seems the behaviour I was seeing was a bug in the old intel-driver I was using on my production system (2.1.1), and seems to be fixed in git already. With GIT, intel behaves exactly like pixman :) Thanks, Clemens 2008/10/18 Clemens

Re: Is interpolation of image-border specified by Render?

2008-10-18 Thread Clemens Eisserer
Hi again > I too saw some black pixels, but this isn't with the intel driver. Is > there any outstanding bug on this for the intel driver? Yes, this one: https://bugs.freedesktop.org/show_bug.cgi?id=17933 > The transformation matrix values for the mask are very small, and > prone to precision err

Re: Is interpolation of image-border specified by Render?

2008-10-18 Thread Clemens Eisserer
Hi again, Sorry I completly forgot that the black pixels I see are caused by another bug in the intel-driver, which is only visible on http://picasaweb.google.com/linuxhippy/Mask_Transformation# So it seems the mask is a moved a bit left/up, thats why pixel show up which are outside of source-sur

Re: Is interpolation of image-border specified by Render?

2008-10-18 Thread Maarten Maathuis
On Sat, Oct 18, 2008 at 12:52 PM, Clemens Eisserer <[EMAIL PROTECTED]> wrote: >> Where do these transformation matrices come from? > They were created by the Java AffineTransform class. > I just dumped it and copied it into the C file. > > I basically get an AffineTransformation instance (set by th

Re: Is interpolation of image-border specified by Render?

2008-10-18 Thread Clemens Eisserer
> Where do these transformation matrices come from? They were created by the Java AffineTransform class. I just dumped it and copied it into the C file. I basically get an AffineTransformation instance (set by the "user"), inverse it and set it on the source. For the mask I do exactly the same, ex

Re: Is interpolation of image-border specified by Render?

2008-10-18 Thread Maarten Maathuis
On Sat, Oct 18, 2008 at 12:35 PM, Clemens Eisserer <[EMAIL PROTECTED]> wrote: > Hi Maarten, > >> Do you have a test program or at least share the transformation matrix >> you're using, because i'm curious why it fails so badly. > Yes I created one, http://pastebin.com/f729a71aa > The testcase works

Re: Is interpolation of image-border specified by Render?

2008-10-18 Thread Clemens Eisserer
Hi Maarten, > Do you have a test program or at least share the transformation matrix > you're using, because i'm curious why it fails so badly. Yes I created one, http://pastebin.com/f729a71aa The testcase works perfectly with pixman (even with much higher scale), but on intel seems the mask has t

Re: Is interpolation of image-border specified by Render?

2008-10-18 Thread Maarten Maathuis
On Sat, Oct 18, 2008 at 11:39 AM, Clemens Eisserer <[EMAIL PROTECTED]> wrote: > Hi Maarten, > >> Bilinear and nearest are standard texture unit properties, this should >> pose no difficulty for drivers. > Good to know, thanks. I was a bit concerned when mixing both with src and > mask. > >> As far

Re: Is interpolation of image-border specified by Render?

2008-10-18 Thread Clemens Eisserer
Hi Maarten, > Bilinear and nearest are standard texture unit properties, this should > pose no difficulty for drivers. Good to know, thanks. I was a bit concerned when mixing both with src and mask. > As far as the mask goes, nearest > should guarantee a sharp border. I'd expect things to go ok w

Re: Is interpolation of image-border specified by Render?

2008-10-17 Thread Maarten Maathuis
On Sat, Oct 18, 2008 at 12:58 AM, Clemens Eisserer <[EMAIL PROTECTED]> wrote: > Hi, > > I am compositing a transformed source with RepeatPad (and billinear > interpolation) and a mask (nearest) to get sharp edges. > What I do for now is I draw a rect in the mask as large as the source > and apply t

Is interpolation of image-border specified by Render?

2008-10-17 Thread Clemens Eisserer
Hi, I am compositing a transformed source with RepeatPad (and billinear interpolation) and a mask (nearest) to get sharp edges. What I do for now is I draw a rect in the mask as large as the source and apply the same transformation. However this requires me to have a mask as large or larger as th