[Pixman] [cairo] scaling performance test of cairo library

Chris Wilson chris at chris-wilson.co.uk
Thu Feb 10 05:14:09 PST 2011


On Thu, 10 Feb 2011 21:59:46 +0900, cooolheater <cooolheater at gmail.com> wrote:
> 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
> length,
> then the result was the skia is about 10 times faster than cairo in drawing
> text.
> 
> I think the test was wrong, but I can't find the wrong point.
> I compared the execution time between SkCanvas::drawText and
> cairo_show_text.

This surprises me greatly, and I suspect your test as well. ;-)
Without actually being able to read and run your tests, I can't advise or
see if we can fix cairo.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Pixman mailing list