[cairo] patch for using XCopyArea when possible

Carl Worth cworth at cworth.org
Fri Jul 15 12:05:22 PDT 2005

On Fri, 15 Jul 2005 11:55:37 -0700, Vladimir Vukicevic wrote:
> Here's an updated patch, along with three simple compositing tests
> that hit all 3 paths inside xlib's composite_surface.  The same tests
> are probably applicable to any other backends that want to try to
> optimize for this, especially since drawing pixel-aligned fully opaque
> images is pretty common in UIs.

Thanks for adding the tests. They look quite reasonable to me.

The only suggestion I would have is to give them names that are more
descriptive of what they are testing. Maybe something like:


Otherwise, please commit when you're happy with it.

-------------- 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/20050715/c87b6ff3/attachment.pgp

More information about the cairo mailing list