Re:Re: Re:Re: Re:Scroller optimization

2014-10-27 Thread DarkStone
Hi after24, >/This issue is probably caused by Scroller and the viewport's layout. When >scrolling with finger, the Scroller will update viewport's horizontal and >vertical scroll positions (actual work is done by viewport.layout), and >might involk some other layout API of the viewport. The insta

Re: Re:Re: Re:Scroller optimization

2014-10-27 Thread after24
Hi darkstone, * /This issue is probably caused by Scroller and the viewport's layout. When scrolling with finger, the Scroller will update viewport's horizontal and vertical scroll positions (actual work is done by viewport.layout), and might involk some other layout API of the viewport. The instan

Re:Re: Re:Scroller optimization

2014-10-26 Thread DarkStone
Hi after24, >At first I used the visible property to hide the actual viewport during scroll >operations but this method has a significant impact on performance. I'm not >sure about the cause but the fact that the viewport remains on the display >list even if it's not visible hurts performance.

Re: Re:Scroller optimization

2014-10-26 Thread after24
Hi DarkStone, Thank you for your response. * /Instead of using the scrollRect property of the viewport, the ViewportCache performs the scrolling of the bitmap version of the viewport using the blitting technique which is way much faster. What do you mean by "the blitting technique"? Could you exp

Re:Scroller optimization

2014-10-24 Thread DarkStone
Hi after24, >Instead of using the scrollRect property of the viewport, the ViewportCache >performs the scrolling of the bitmap version of the viewport using the >blitting technique which is way much faster. What do you mean by "the blitting technique"? Could you explain it in detail? >When the