[cairo] Clip region problems

Carl Worth cworth at redhat.com
Wed Apr 27 09:11:01 PDT 2005

On Wed, 27 Apr 2005 08:59:10 -0700, Keith Packard wrote:
> I don't mind limiting us to one cairo_t per surface, but it seems harsh
> to prohibit using a surface for both dest and source at the same time.
> What do we need to solve to make this possible?  Do we just need more
> state in the cairo_surface_t object?

Since clips are per-Picture and per-pixman_image_t, it seems it should
be a fairly simple matter to simply clone the Picture or
pixman_image_t each time the surface is reused, right?

And if Owen adds the restrictions he plans, then we'll already have
code in place for detecting when the cloning is needed.

I don't know how this approach would impact other backends besides
Render and pixman.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050427/603f7606/attachment.pgp

More information about the cairo mailing list