winex11: use bilinear filtering in xrender [attempt 2]

Roderick Colenbrander thunderbird2k at gmail.com
Thu Feb 18 04:02:05 CST 2010


Hi,

I think this version of the patch is better. Compared to the previous
version (which wasn't that bad) it only adjusts the filter on the
'source picture' since that is the one which we use for stretching. It
likely can't hurt to enable a better filter in the general case as
well but I think this is nicer.

Roderick

On Wed, Feb 17, 2010 at 10:38 PM, Roderick Colenbrander
<thunderbird2k at gmail.com> wrote:
> Hi,
>
> By default XRender uses nearest neighbor filtering which results in
> ugly scaling. See for instance
> http://bugs.winehq.org/show_bug.cgi?id=20732. Selecting bilinear
> filtering improves image quality a lot.
>
> Current image quality:
> http://bugs2.winehq.org/attachment.cgi?id=24785
>
> Image quality with bilinear filtering:
> http://roderick.student.utwente.nl/sample.png
>
> Later on we should likely also don't use xrender for mono->mono
> stretching which would improve it a bit more:
> http://roderick.student.utwente.nl/sample2.png
>
> Regards,
> Roderick Colenbrander
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-bilinear-filtering-instead-of-nearest-neighbor.patch
Type: text/x-diff
Size: 1865 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100218/955f1776/attachment.patch>


More information about the wine-patches mailing list