[cairo] [Patch] Surface cache

Jorn Baayen jorn at openedhand.com
Thu Feb 1 01:10:48 PST 2007


On Wed, 2007-01-31 at 15:52 -0500, Behdad Esfahbod wrote:
> On Wed, 2007-01-31 at 18:58 +0200, Jorn Baayen wrote:
> > 
> > > Thanks.  Looks really good.  "is_similar" is probably not the best
> > name
> > > here, since it may return FALSE on a surface and another one created
> > > similar to it.  The similar surface may be a meta-surface (for SVG)
> > or
> > > in image surface (under certain conditions for xlib).
> > 
> > Yea. What alternative namings can you think of? 
> 
> Not really.  is_compatible may be better.

Yeap seems better. Attached patch uses is_compatible, and implements it
for (hopefully) all other relevant backends.

Thanks,

Jorn

> 
-- 
OpenedHand Ltd.
http://o-hand.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cairo-surface-cache-3.patch
Type: text/x-patch
Size: 11173 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20070201/f8ec0ae6/cairo-surface-cache-3.bin


More information about the cairo mailing list