[cairo] Road to 1.10

Alexander Larsson alexl at redhat.com
Tue Feb 17 02:58:19 PST 2009


On Mon, 2009-02-16 at 15:23 -0500, Kristian Høgsberg wrote:
> On Mon, Feb 16, 2009 at 12:20 PM, Alexander Larsson <alexl at redhat.com> wrote:
> > Everything that scrolls use subwindows, plus GtkEventBox. Plus a bunch
> > of other widgets.
> >
> > We already allocate a pixmap when rendering double buffered, true, but
> > we only allocate one such pixmap per toplevel when exposing, so we still
> > need to clip in that pixmap when drawing multiple subwindows in that
> > toplevel.
> 
> Yeah, what I meant was that for those subwindows we could just
> allocate more pixmaps, draw to them, then copy their contents back to
> the overall double buffer pixmap.

Seems like a total waste of resources. Why not just clip. It already
works for essentially all apps, the clip_reset() case hasn't triggered
in any case I've seen yet.



More information about the cairo mailing list