Re: Scroller optimization

2014-12-01 Thread DarkStone
Hi, Well, I think maybe it worth an official blog post, teaching developers how to improve the touch scrolling performance as the example I provided. But I don't think it worth a patch right now, giving it's a little technique for how to use cacheAsBitmap wisely. Sent from DarkStone's iPhone 2

Re: Scroller optimization

2014-12-01 Thread OmPrakash Muppirala
Agreed! After24/Darkstone, any chance you submit a patch to the Flex SDK? I can help you out with things if you need. Thanks, Om On Mon, Dec 1, 2014 at 10:46 AM, Harbs wrote: > I was thinking the same thing. > > Maybe incorporating this into some mobile skins? > > On Dec 1, 2014, at 3:01 PM,

Re: Scroller optimization

2014-12-01 Thread Harbs
I was thinking the same thing. Maybe incorporating this into some mobile skins? On Dec 1, 2014, at 3:01 PM, Erik de Bruin wrote: > Is there a way to bring this solution into the SDK and make it the > default behavior on mobile? Maybe register these event handlers upon > creation, dependant on C

Re: Re: Scroller optimization

2014-12-01 Thread Erik de Bruin
Is there a way to bring this solution into the SDK and make it the default behavior on mobile? Maybe register these event handlers upon creation, dependant on Capabilities or some such? It would sure be a nice addition to the next release ... EdB On Mon, Dec 1, 2014 at 12:26 PM, jude wrote: >

Re: Re: Scroller optimization

2014-12-01 Thread jude
This is great! On Sat, Nov 29, 2014 at 1:04 PM, DarkStone wrote: > Hi after24, > > > I've tried doing the scrolling optimization by using > BitmapData.copyPixels() as you described, and I have also tried > cacheAsBitmap, the result is, the performance between both are the same! > So there is no

Re: Scroller optimization

2014-10-29 Thread Harbs
Great news! On Oct 29, 2014, at 12:56 PM, after24 wrote: > So it looks like this optimization is viable :-)

Re: Scroller optimization

2014-10-29 Thread after24
Hi Jude, /*have you tried setting include in layout to false when setting visible to false?*/ Yes, this property is set to false during scroll operations. It seems that this performance decrease is caused by scout... when scout is off, there is no difference between the two approaches (visible =

Re: Scroller optimization

2014-10-27 Thread jude
Hi I've been loosely following this but have you tried setting include in layout to false when setting visible to false? It may be that somewhere an invalidation is still getting called even though visible is false on the viewport. Also, when are you caching the viewport? I would cache it as soon

RE: Scroller optimization

2014-10-27 Thread after24
Hello Frédéric, Sure, I will post an android .apk sample application with the source code. I just want to clean up the ViewportCache class before. Vincent. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Scroller-optimization-tp41774p41876.html Sent from

RE: Scroller optimization

2014-10-26 Thread Frédéric THOMAS
What you did seems very interesting, did you think about publishing your code and/or a demo, I guess it would help if you want some helps. Frédéric THOMAS > Date: Sun, 26 Oct 2014 01:11:01 -0700 > From: vinc...@after24.net > To: dev@flex.apache.org > Subject: Re: Re:Scroller optimization > > Hi