Dear all
 
I made a test on PC when play flash movies , I use Gprof tools to analyse the 
performance of agg , the results as follows:
 
Flat profile:
Each sample counts as 0.01 seconds.
  %   cumulative   self              self     total           
 time   seconds   seconds    calls   s/call   s/call  name    
 16.24      2.60     2.60  2193859     0.00     0.00  
agg::rasterizer_cells_aa<agg::cell_style_aa>::line(int, int, int, int)
 
16.05      5.17     2.57  5134414     0.00     0.00  void 
agg::render_scanline_aa_solid<agg::scanline_u8, 
agg::renderer_base<agg::pixfmt_alpha_blend_rgb_packed
<agg::blender_rgb565_pre, agg::row_accessor<unsigned char> > >, 
agg::rgba8>(agg::scanline_u8 
const&,agg::renderer_base<agg::pixfmt_alpha_blend_rgb_packed<agg::
blender_rgb565_pre, agg::row_accessor<unsigned char> > >&, agg::rgba8 const&)
 
15.74      7.69     2.52  7181129     0.00     0.00  
agg::rasterizer_cells_aa<agg::cell_aa>::line(int, int, int, int)
 
5.12      8.51     0.82   140652     0.00     0.00  void agg::render_scanlines
<agg::rasterizer_scanline_aa<agg::rasterizer_sl_clip<agg::ras_conv_int> >, agg::
scanline_u8, agg::renderer_scanline_aa_solid<agg::renderer_base<agg::pixfmt_alph
a_blend_rgb_packed<agg::blender_rgb565_pre, agg::row_accessor<unsigned char> > >
 > >(agg::rasterizer_scanline_aa<agg::rasterizer_sl_clip<agg::ras_conv_int> >&, 
agg::scanline_u8&, agg::renderer_scanline_aa_solid<agg::renderer_base<agg::pixfm
t_alpha_blend_rgb_packed<agg::blender_rgb565_pre, agg::row_accessor<unsigned cha
r> > > >&)
 
4.87      9.29     0.78  2497793     0.00     0.00  
agg::rasterizer_compound_aa<agg::rasterizer_sl_clip<agg::ras_conv_dbl> 
>::sweep_styles()
 
and there are many other functions I have not put out here.
 
From the results checked on PC, almost 80% of the time when play movies are 
spent in rasterizering and rendering.
 
I'm not sure is this can explain that agg's efficiency is too slow, and it 
takes plenty of time.
 
And is this caused by the double or float point compute in agg?
 
B Regards
 
jeson




 
 


全 国 万 名 职 场 女 性,齐 聚 非 常 美 女,惊 艳 2 0 0 7 
_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to