[cairo] Patch for extend-pad support on untransformed sources
vladimir at pobox.com
Tue Feb 26 15:13:31 PST 2008
On Feb 26, 2008, at 5:31 PM, Antoine Azar wrote:
> Hey all,
> thanks to Vladimir for spotting a bug on extend-pad for
> untransformed sources. We were reading bogus memory in pixman
> instead of padding correctly with bordel pixels. You can see this by
> painting a small surface onto a large destination with no transform,
> and extend_pad enabled.
> I'm attaching a patch to fix this. It's probably far from optimal
> speed-wise, but it's consistent with what we do for extend_repeat.
I'm actually running the cairo test suite as we speak with this to
make sure no regressions cropped in, before pushing it upstream. It
definitely fixes the extend_pad issue for sure. :) Thanks!
More information about the cairo