[Sugar-devel] [Dextrose] [PATCH v5 sugar] Pulsing icon delayed by 5 seconds or so SL#2080
Anurag Chowdhury
anurag at seeta.in
Wed Dec 8 04:33:45 EST 2010
Yes , I tried this solution on my end once as per Alsroot's
suggesstion of implementing alpha pulsing instead of the present
scenario but that did not solve the problem much as you may have
noted due to the main problem lying in the rendering time of the
startup frame of the animation.
On Thu, Dec 2, 2010 at 10:22 AM, Gonzalo Odiard <gonzalo at laptop.org> wrote:
>
>
> On Sun, Oct 31, 2010 at 3:44 AM, Martin Dengler <martin at martindengler.com>
> wrote:
>>
>> On Sat, Oct 30, 2010 at 12:09:53AM +0530, Anurag Chowdhury wrote:
>> > Uptill now what we have gathered from this issue is:
>> >
>> > 1) We can improve this issue by using a cache system or cairo operation:
>> >
>> > > " I think the problem is the code is rendering the svg icon every
>> > time
>> > > the color is changed.
>> > > There are not cache or cairo operation used to avoid this.
>> > >
>> > > Gonzalo"
>> >
>> > -- I think that we all seem to agree upon this point that using a
>> > cache to store the once rendered frames and then reuse them later
>> > in the animation to improve the performance of the system.
>>
>> This is already done.
>>
>
> The cache is not used if the colors change, right?
>
> I have implemented a pulsing icon using alpha.
> Is a poof of concept patch (does not remove the unused properties), but now
> does not render the icon every time.
> I profiled with cProfile using the Martin instructions, and I think the
> graphic show a improvement,
> but I didn't see a big reduction in the startup time in the activities. (I
> didn't tested it in XO 1.0)
>
> Patches and profile graphics can be downloaded from
> http://dev.laptop.org/~gonzalo/alpha-pulsingicon/
>
> Gonzalo
>
>
>
>
More information about the Sugar-devel
mailing list