[cairo] Oprofiling Cairo on ARM

Behdad Esfahbod behdad at behdad.org
Tue Nov 28 13:23:45 PST 2006


On Tue, 2006-11-28 at 15:43 -0500, Behdad Esfahbod wrote:
> On Tue, 2006-11-28 at 14:46 -0500, Xan Lopez wrote:
> > Anyway, the top
> > offenders right now are: X, pangocairo and pango , with a special
> > mention for a surprising g_type_check_is_a () (maybe someone should
> > embark on a holy mission to remove every type checking which is
> > outside of a public entry point in the API, if there's any around).
> 
> I did some of these in pangocairo.  If you can give more details (which
> functions or types are generating lots of this) I can look into it.
> Which version of Pango do you use btw?

Ok, I went on and dropped all significant ones.  Most were pretty safe
to drop, others not.  It's committed to HEAD and pango-1-14 now.  Patch
attached.

I'm not sure what you'll get now if you try to render a PangoLayout
created from a non-Cairo fontmap using pango_cairo_show_layout().  I'll
do further tests and fix those issues.

Numbers would be cool, you know ;)

-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759


-------------- next part --------------
A non-text attachment was scrubbed...
Name: pangocairo-fast-casts.patch
Type: text/x-patch
Size: 9711 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20061128/a9ca29e1/pangocairo-fast-casts.bin


More information about the cairo mailing list