[Pixman] [PATCH 2/2] MIPS: DSPr2: Added bilinear over_8888_8_8888 fast path.
Siarhei Siamashka
siarhei.siamashka at gmail.com
Fri May 11 02:37:44 PDT 2012
On Thu, May 3, 2012 at 1:03 AM, Nemanja Lukic <nlukic at mips.com> wrote:
> From: Nemanja Lukic <nemanja.lukic at rt-rk.com>
>
> Performance numbers before/after on MIPS-74kc @ 1GHz
>
> Referent (before):
>
> cairo-perf-trace:
> [ # ] backend test min(s) median(s) stddev. count
> [ # ] image: pixman 0.25.3
> [ 0] image firefox-fishtank 2289.180 2290.567 0.05% 5/6
>
> Optimized:
>
> cairo-perf-trace:
> [ # ] backend test min(s) median(s) stddev. count
> [ # ] image: pixman 0.25.3
> [ 0] image firefox-fishtank 1700.925 1708.314 0.22% 5/6
BTW, it is also really easy to tweak lowlevel-blt-bench to also
optionally benchmark NEAREST and BILINEAR scaling and get some
synthetic MPix/s statistics for these cases. The only thing which
needs to be done is to simply apply an almost-identity matrix to the
source image. It will prevent pixman from using unscaled fast paths,
while having only minimal effect on the result of actual compositing
operations (so unscaled MPix/s numbers can be even directly compared
with scaled MPix/s for every operation).
Anybody willing to submit a patch?
--
Best regards,
Siarhei Siamashka
More information about the Pixman
mailing list