does cairo_paint method always slow?

Jihe Wei <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAJPDu6wehFwLHkmeTn=3vWaffCeKQqtbwFeXMAd1NdgWaqqXxw@mail.gmail.com>
Hi,
Now have two surface, one for display,another for draw.So when draw
finish, need to paint to display,
we do it this way,
cairo_surface_t * surface_display,surface_draw;
...
cairo_t *cr = cairo_create (surface_display);
cairo_set_source_surface (cr, surface_draw, 0, 0);
cairo_paint (cr);

But finally found most time was killed by cairo_paint(cr), not draw operations.
Why?Is there any better ways to do this stuff ?

Thanks,
Wei

--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.