[cairo] does cairo_paint method always slow?
Jihe Wei
jihe.wei at gmail.com
Sat Jun 2 02:38:54 PDT 2012
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20120602/522430d3/attachment.html>
More information about the cairo
mailing list