[cairo] Cache solid patterns
Behdad Esfahbod
behdad at behdad.org
Fri Mar 16 14:06:37 PDT 2007
On Tue, 2007-03-13 at 19:29 -0400, Chris Wilson wrote:
> This is the old solid colour surface cache moved up a level to cache
> the allocated patterns. This is important for toolkits such as GTK+,
> which tend to use a small colour palette across many widgets and
> trigger frequent reallocation of the same solid patterns.
Looks good. Please commit after Mathias commits his MUTEX patch so we
don't regress again.
--
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