Does Xorg'x XRender implementation support "better-than-bilinear" interpolation?

Daniel Stone daniel at
Mon Sep 10 18:08:54 PDT 2012


On 10 September 2012 23:33, Maarten Maathuis <madman2003 at> wrote:
> On Mon, Sep 10, 2012 at 11:05 PM, Clemens Eisserer <linuxhippy at> wrote:
>> I just realized that at least on my machine (fedora 17 + intel 20.2),
>> the only interpolation modes offered by Xrender are: {nearest ,
>> bilinear , convolution, fast , good, best}
>> I always thought best translates into something better than bilinear,
>> but it seems to be just equal to it.
>> Is there any way to archive bicubic interpolation or any other
>> higher-than-bilinear interpolation using xrender?
>> As Java2D offers bicubic interpolation, it would mean a fallback to
>> software-rendering every time a program requests high-quality
>> interpolation.

'Best' might be bicubic.  It might be nearest.  It might be anything,
it's just whatever the driver thinks will offer the best quality.

Bicubic is not required to be offered, but it may be.

> I don't see it in the renderproto, so it's probably not possible
> without a spec extension.

The filters are a list of strings; a protocol extension is not
required for a driver to offer (and a client use) more filters than
the predefined ones.


More information about the xorg-devel mailing list