Re: requestAnimationFrame Re: Google Team's Task Backlog: Android

2013-07-29 Thread Michal Mocny
My understand was that: events fire faster than UI paints, and general good design is to coalesce and update UI once on RAF. In this case, the events came from native and were sent across the bridge, which meant the while the app js could do the coalescing, doing it on the native side meant huge p

Re: requestAnimationFrame Re: Google Team's Task Backlog: Android

2013-07-29 Thread Andrew Grieve
I'm not sure the exact details, but it was something Andrew Trice said he did in his PGD talk. I may not have understood correctly. I think the issue might be that our bridge doesn't have any throttling built in. On Mon, Jul 29, 2013 at 12:01 AM, Jesse MacFadyen wrote: > Hopefully the subject ch

Re: requestAnimationFrame Re: Google Team's Task Backlog: Android

2013-07-28 Thread Jesse MacFadyen
Hopefully the subject change started a new thread. Why would you use reqAnimFrame for exec? Native calls have nothing to do with repaints, so this makes no sense to me... Sent from my iPhone > On Jul 25, 2013, at 10:49 AM, Andrew Grieve wrote: > > We've done some planning around what we'd like