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

sunmoon1997 sunmoon1997 at gmail.com
Wed Aug 10 23:20:24 PDT 2005


Vladimir Vukicevic wrote:

>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.
>  
>
   Yes it fallback to libpixman and it seems this code become broken 
after applied Owen's unbounded patch.

>Also, why do you attach the same 57k PNG to all your messages?
>
>    - Vlad
>
>  
>
My code need this image. I just attached it, and I'm just too lazy to find a smaller one or write some code to replace the image. :-) 




More information about the cairo mailing list