Comment 270 for bug 217908

Revision history for this message
Tom Jaeger (thjaeger) wrote : Re: [Bug 217908] Re: FFe: Pixellated Images in Firefox/Opera due to incorrect EXTEND_PAD implementation in several video drivers

> First could someone explain exactly what feature in the graphics driver
> people think is wrong.

Many graphics drivers didn't use to accelerate composite operations with
repeat type PAD (and REFLECT) correctly. This was a year ago; i believe
these issues have long been fixed.

> Could a small test program be written to show the error ?? has maybe
> someone written one already.

There is a very simple test case attached to this very bug report. Its
source surface is only 2x2 (IIRC), which might not hit an accelerated
path on every driver; there's a test case with a larger source surface
attached to the -ati driver bug report.

> This needs to get solved one way or the other having a fix outside the
> normal distribution is not acceptable. but working around the problem in
> only firefox obviously is not the correct fix.

No, firefox is the correct place to fix this issue. Firefox asks for
nearest-neighbor interpolation because on unpatched cairo 1.8.6,
bilinear filtering forces a slow client-side fallback to insure correctness.