<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><pre><code>Hi,<br>Now have two surface, one for display,another for draw.So when draw finish, need to paint to display,<br>we do it this way,<br>cairo_surface_t * </code><code>surface_display,</code><code>surface_draw;<br>
...<br></code><code>cairo_t *cr = cairo_create (surface_display);<br>cairo_set_source_surface (cr, surface_draw, 0, 0);
cairo_paint (cr);<br><br>But finally found most time was killed by cairo_paint(cr), not draw operations.<br>Why?Is there any better ways to do this stuff ?<br><br>Thanks,<br>Wei<br></code></pre></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>