[Sugar-devel] Bug update on ticket no 2080 (Pulsing icon delayed by 5 seconds)

2010-10-11 Thread Anurag Chowdhury
Team,

Wish to share on the observations that I gathered on the basis of my
discussion with Bernie last evening. It seems that the delay that occurs
before the start of the pulsing icon is due to the zoom animation failing to
render .

We arrived at the idea of using a technique commonly applied in video games
i.e. Frame Dropping, where we drop frames in order to maintain the frame
rate. Using this idea, I have prepared a patch for SL 2080, and have tried
it on my XO-1.5, where it seems to work better. I have tried to skip the
animation to the last frame if the fps drops below the defaults fps of 20 ,
for a smooth animation to occur.

Wish if the patch could be reviewed on an XO-1. If I am making mistakes or
missing on any key aspect, please share feedback bluntly.

Appreciate your support. Thank you.

Regards,

Anurag
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Bug update on ticket no 2080 (Pulsing icon delayed by 5 seconds)

2010-10-10 Thread Anurag Chowdhury
Daniel, Bernie and James,

Appreciate your pointers. Indeed very helpful. Thank you.

I tried to reduce the processing load just before the rendering of the first
frame in this workflow, and looked for the processor intensive parts
(intensive calculations or long recursive function calls) where any possible
reduction in the processing may speed up the loading of the pulsing icon. I
studied the files as pointed by Bernie (thank you for the explanation) and
found the animation aspect to be constituted of only two frames - EASE_IN
and EASE_OUT, which take place in an ordered repetitive manner.

I was unable to arrive at a solution that was specific to the first frame
with the documentation and explanations available. Wish if you could share
pointers and strategy on how processor load could be lowered with emphasis
on first frame. I suspect that it should lie in jarabe.view.launcher where
the animation starts, but have been unable to arrive at an approach for it.
Looking forward to your feedback.

In reference to the questions on the patch submitted, I tried to reduce the
delay by reducing the frame computation of the first five frames. Apologies
that I did not consider the processing load that is encountered before the
startup of the first frame of the animation of the pulsing icon.

Appreciate your support and feedback.

Regards
Anurag
Research Engineer
SEETA
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Bug update on ticket no 2080 (Pulsing icon delayed by 5 seconds)

2010-10-10 Thread Gonzalo Odiard
I am interested in reduce the activities startup time.
Have you measured the startup time with the animation and without the
animation?
Regards

Gonzalo


On Sun, Oct 10, 2010 at 2:50 PM, Anurag Chowdhury anu...@seeta.in wrote:

 Daniel, Bernie and James,

 Appreciate your pointers. Indeed very helpful. Thank you.

 I tried to reduce the processing load just before the rendering of the
 first frame in this workflow, and looked for the processor intensive parts
 (intensive calculations or long recursive function calls) where any possible
 reduction in the processing may speed up the loading of the pulsing icon. I
 studied the files as pointed by Bernie (thank you for the explanation) and
 found the animation aspect to be constituted of only two frames - EASE_IN
 and EASE_OUT, which take place in an ordered repetitive manner.

 I was unable to arrive at a solution that was specific to the first frame
 with the documentation and explanations available. Wish if you could share
 pointers and strategy on how processor load could be lowered with emphasis
 on first frame. I suspect that it should lie in jarabe.view.launcher where
 the animation starts, but have been unable to arrive at an approach for it.
 Looking forward to your feedback.

 In reference to the questions on the patch submitted, I tried to reduce the
 delay by reducing the frame computation of the first five frames. Apologies
 that I did not consider the processing load that is encountered before the
 startup of the first frame of the animation of the pulsing icon.

 Appreciate your support and feedback.

 Regards
 Anurag
 Research Engineer
 SEETA



 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel