[cairo] Oprofiling Cairo on ARM

Behdad Esfahbod behdad at behdad.org
Tue Nov 28 13:49:50 PST 2006


On Tue, 2006-11-28 at 16:23 -0500, Behdad Esfahbod wrote:
> 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.

Fixed now.  Patch and test case attached.


> 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-revert-some.patch
Type: text/x-patch
Size: 2841 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20061128/d4738ec6/pangocairo-fast-casts-revert-some.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-pangocairo-fontmap-mismatch.c
Type: text/x-csrc
Size: 851 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20061128/d4738ec6/test-pangocairo-fontmap-mismatch.c


More information about the cairo mailing list