[Pixman] performance of bilinear_interpolation

Søren Sandmann sandmann at cs.au.dk
Wed Oct 9 08:16:29 PDT 2013


Maksim Lin <maks at manichord.com> writes:

> and also strangely (compared to profiler traces for arm devices) I'm
> *not* seeing bits_image_fetch_bilinear_affine being called either:

It's still possible that the page is being scaled on some devices, but
not on x86. If the ARM device supports pinch-to-zoom, it's pretty easy
to end up with a slightly zoomed page.

> static force_inline void
> bits_image_fetch_bilinear_affine (pixman_image_t * image,
>                   int              offset,
>                   int              line,
>                   int              width,
>                   uint32_t *       buffer,
>                   const uint32_t * mask,
>
>                   convert_pixel_t    convert_pixel,
>                   pixman_format_code_t    format,
>                   pixman_repeat_t    repeat_mode)
> {
>     __android_log_print(ANDROID_LOG_DEBUG,"MAKS", "bilinear_fetch");

Is this with the latest master, including c89f4c826695dbb5df0? That
commit fixed a bug that prevented the fetch_bilinear_affine() functions
from being called.


Søren


More information about the Pixman mailing list