[cairo] Global glyph cache

Chris Wilson chris at chris-wilson.co.uk
Fri Nov 21 12:12:22 PST 2008


Whilst playing with Behdad's recent cairo backend for vte, I noticed
that it allocated many small glyphs, and if we stressed the font cache
by dumping random data to the terminal, it would frequently reallocate
those glyphs. In order to mitigate this I experimented with a global
glyph cache which I present the first draft for review and suggestions.
-- 
Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-global-glyph-cache.patch
Type: text/x-patch
Size: 0 bytes
Desc: 
Url : http://lists.cairographics.org/archives/cairo/attachments/20081121/64d1fc2c/attachment.bin 


More information about the cairo mailing list