[cairo] reference counting vs garbage collection
Keith Packard
keithp at keithp.com
Wed Jan 5 11:08:20 PST 2005
Around 14 o'clock on Jan 5, Kristian Høgsberg wrote:
> The problem is that the FILE (or whatever resource) could be shared between
> several surfaces. When you call create_similar, the PDF backend creates a
> new surface which references the same underlying FILE.
How can this work? Is there synchronization between the set of surfaces
sharing the same FILE? Do the similar surfaces reference the 'master'
surface? If so, wouldn't they be effectively painting 'through' the
master surface and hence abide by it's 'closed' status?
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050105/6d9c72dc/attachment.pgp
More information about the cairo
mailing list