[cairo] Poor performance when render to glitz surface using cairo_paint

Vladimir Vukicevic vladimirv at gmail.com
Wed Aug 10 23:01:32 PDT 2005

On 8/10/05, sunmoon1997 <sunmoon1997 at gmail.com> wrote:
> Hi,
>     When paint a glitz surface to another glitz surface using following
> code,
>   cairo_set_source_surface(cr,  glitzsr, x, y);
>   cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE);
>   cairo_paint(cr);
> the performance become very poor, but it's ok if i change
> cairo_paint(cr)  to cairo_paint_with_alpha(cr, 0.99).  Any comments?

Interesting; you might want to step through cairo_paint() and the
deeper composite call, to see if you're hitting some software fallback
that you shouldn't be hitting.

Also, why do you attach the same 57k PNG to all your messages?

    - Vlad

More information about the cairo mailing list