[Pixman] [cairo] scaling performance test of cairo library
cooolheater at gmail.com
Thu Feb 10 04:59:46 PST 2011
I also tested for text, and the result was unaccountable.
I couldn't find the method for scaling text in skia canvas,
so I compared between cairo and skia with differentiating fontsize and text
then the result was the skia is about 10 times faster than cairo in drawing
I think the test was wrong, but I can't find the wrong point.
I compared the execution time between SkCanvas::drawText and
If cairo_show_text is really so slower than similar function in skia, what
can I do for getting a faster execution time in cairo?
Using the cairo_show_glyphs can be better?
On Thu, Feb 10, 2011 at 10:16 AM, Siarhei Siamashka <
siarhei.siamashka at gmail.com> wrote:
> On Wednesday 09 February 2011 08:23:51 Siarhei Siamashka wrote:
> > On Wednesday 09 February 2011 05:28:46 cooolheater wrote:
> > > Thank you for your kind explanation.
> > > I used pixman-0.21.4 for testing.
> > > As you guessed, we are using SIMD and are finding method for NEON
> > > acceleration.
> > > Could you let me know the bilinear scaling interfaces in pixman and
> > > where the SIMD optimization will be applied?
> > You can look here for the start:
> > n-0.21.4#n189
> > But applying optimizations locally just for this small function is not
> > going to provide the best performance, it's kind of like swinging a
> > large polearm in a narrow passage is not so effective.
> And here is an example of such patch attached. Performance improvement is
> impressive at all. Who cares if it's now let's say ~15x slower than nearest
> scaling instead of ~30x?
> Obviously we need a better solution.
> Best regards,
> Siarhei Siamashka
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pixman