[cairo] [PATCH] add extents to clone_similar
Christopher "Monty" Montgomery
xiphmont at gmail.com
Thu Oct 5 11:02:43 PDT 2006
On 10/5/06, Owen Taylor <otaylor at redhat.com> wrote:
> On Thu, 2006-10-05 at 13:15 -0400, Christopher "Monty" Montgomery wrote:
> > Hi Carl,
> >
> > The promised patch from yesterday's discussion. Add extent hints to
> > the various backends' clone_similar methods in order to avoid
> > complete-surface copies into the X server from small image fills.
>
> This is about the case where:
>
> - You have a large image surface
> - You want to draw a small portion of it onto an Xlib surface
Bingo. Any case where a portion of an image surface is blitted to an
xlib surface, although it obviously matters most for large ones.
BTW, are there any internal situations where that would happen? Are
xlib surfaces also pulled back and forth to images in other cases,
such as blending without XRENDER?
Monty
More information about the cairo
mailing list