<br><br><div class="gmail_quote">On Sun, Oct 31, 2010 at 3:44 AM, Martin Dengler <span dir="ltr"><<a href="mailto:martin@martindengler.com">martin@martindengler.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Sat, Oct 30, 2010 at 12:09:53AM +0530, Anurag Chowdhury wrote:<br>
> Uptill now what we have gathered from this issue is:<br>
><br>
> 1) We can improve this issue by using a cache system or cairo operation:<br>
><br>
>   >    " I think the problem is the code is rendering the svg icon every time<br>
>   >      the color is changed.<br>
>   >      There are not cache or cairo operation used to avoid this.<br>
>   ><br>
>   >      Gonzalo"<br>
><br>
>  -- I think that we all seem to agree upon this point that using a<br>
> cache to store the once rendered frames and then reuse them later<br>
>    in the animation to improve the performance of the system.<br>
<br>
</div>This is already done.<br>
<div class="im"><br></div></blockquote><div><br>The cache is not used if the colors change, right?<br><br>I have implemented a pulsing icon using alpha.<br>Is a poof of concept patch (does not remove the unused properties), but now does not render the icon every time.<br>
I profiled with cProfile using the Martin instructions, and I think the graphic show a improvement, <br>but I didn't see a big reduction in the startup time in the activities. (I didn't tested it in XO 1.0)<br><br>
Patches and profile graphics can be downloaded from <a href="http://dev.laptop.org/~gonzalo/alpha-pulsingicon/">http://dev.laptop.org/~gonzalo/alpha-pulsingicon/</a><br><br>Gonzalo<br><br> <br></div></div><br>