[cairo] Cairo 1.4.10 and maemo (multi-thread text rendering)

Behdad Esfahbod behdad at behdad.org
Sun Aug 19 15:54:55 PDT 2007


On Fri, 2007-08-17 at 23:10 +0200, David Turner wrote:
> By the way, wasn't Behad in the process of integrating my patch a few weeks ago ?

I started reviewing it when traveling, but then got distracted by
conferences and other stuff.  I'll pick it up again, but it's 1.6
material anyway.


> Are there still some blocking problems (fontconfig pattern usage) ? 

You said the fontconfig pattern usage doesn't have to change with your
patch, so that's an orthogonal issue.


> May I help with the integration ?

There's one bug about race conditions with your patch submitted to
bugzilla.  Helps if you can check that out.

behdad


> - David
> 
> On Fri, 17 Aug 2007 19:51:36 +0200 (CEST), "Jan Slupski" <jslupski at juljas.net> said:
> > On Fri, 17 Aug 2007, Behdad Esfahbod wrote:
> > 
> > >> Preliminary versions of that cache, (during 1.3.x development), did
> > >> cause problems with multi-thread text rendering, but we didn't put the
> > >> cache into any released version of cairo until all known problems were
> > >> fixed.
> > >
> > > In fact 1.4.8 was shipped with a slightly broken patch too.  But 1.4.10
> > > should be all good.
> > >
> > > We are planning to do another stable release in a couple or more weeks,
> > > stay tuned.
> > 
> > Hi,
> > 
> > I know nothing about maemo, so I'm not sure if that information is at
> > all relevant, but if maemo uses FreeType font engine (via Cairo) for
> > text rendering, any multithread usage is quite a risk unless David
> > Turner's patches are applied.
> > 
> > For more information see here:
> > http://lists.freedesktop.org/archives/cairo/2007-April/010289.html
> > http://lists.freedesktop.org/archives/cairo/2007-February/thread.html#9512
> > thread
> > 
> > Moreover, I have report (but couldn't reproduce to prepare a bug report),
> > that, WITH David Turner patches, under high load threads are sometimes
> > deadlocking.
> > 
> > 
> > BTW, there is one more still not resolved issue in win32 environment -
> > usage of single DC for all win32 threads:
> > http://lists.freedesktop.org/archives/cairo/2007-February/009619.html
> > 
> > 
> > Regards,
> > Jan Slupski
> > 
> >     _  _  _  _  _____________________________________________
> >     | |_| |\ |  S L U P S K I             jslupski at juljas.net
> >   |_| | | | \|                             http://juljas.net/
> > _______________________________________________
> > cairo mailing list
> > cairo at cairographics.org
> > http://lists.cairographics.org/mailman/listinfo/cairo
-- 
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





More information about the cairo mailing list