Created attachment 22390 [details] [review]
XRender supports four possible repeat types: RepeatNone, RepeatNormal, RepeatPad and RepeatReflect?. The driver currently only handles the first two, so it should fall back to software when it encounters RepeatPad or RepeatReflect. This is currently forcing cairo to use slow client-side rendering, thus preventing firefox from enabling bilinear filtering on linux. Test cases can be found in the corresponding ati driver bug report:
Note that pixman currently implements RepeatReflect incorrectly, so the last test case will fail.