Re: [cairo] Report for the pango patch and proper profiles



On Mon, 2006-12-04 at 17:03 -0800, Daniel Amelang wrote:
> On 12/4/06, Behdad Esfahbod <behdad behdad org> wrote:
> > On Fri, 2006-12-01 at 03:59 -0500, Behdad Esfahbod wrote:
> >
> > This is mostly done and in pango-1.15.0 now.  Yes, down to zero
> > pango_font_get_glyph_extents() calls per expose!
> 
> This is excellent! I've been meaning to look into speeding up
> get_glyph_extents, as it is a bottleneck on the 770, but now that
> you've dramatically reduced the number of times it is called, I won't
> need to. Nice job.

I'm still interestd in using the magic-number approach for rounding of
extents, when we figure out how to do it in cairo.  But that also would
mean requiring all the configure magic and all :(.  Well, maybe we can
expose _cairo_lround() publicly.  /me knows Carl won't like that...


> > In my testings, this didn't affect the timetext test much
> 
> Well, according to these profiles:
> 
> http://folks.o-hand.com/jorn/pango-benchmarks/210-softfloat/pango.txt
> http://folks.o-hand.com/jorn/pango-benchmarks/210-softfloat/pango-cairo.txt
> 
> your improvement should make a large difference on the 770. I'll try
> to get you numbers, if Xan doesn't beat me to it.

Yes, and I kicked some of that out on Friday.  My statement above was
about this last improvement today, and on x86 only.  Numbers for Pango
1.15.0 vs. 1.15.1 would be interesting.

Thanks!

> > --
> > behdad
> 
> Dan
-- 
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






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]