[Pixman] [PATCH] test: Add cover-test

Søren Sandmann soren.sandmann at gmail.com
Wed Sep 2 09:29:19 PDT 2015


> For BILINEAR, x=0.5 is precisely at pixel 0, so that must be used with a
> weight of 1.
> The other pixel could be either -1 or 1 since it will have a weight of 0
> in either case.
> But since we round down, -1 it is.
>

Hmm, this is wrong. We do actually read pixel 0 and 1 in this case as you
say, though as mentioned it doesn't really matter since the weight of the
other pixel is always 0 with a BILINEAR filter.

Sorry to create even more confusion.


Søren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pixman/attachments/20150902/f9e036e9/attachment.html>


More information about the Pixman mailing list