WebView-MultiTouch-Polyfill icon indicating copy to clipboard operation
WebView-MultiTouch-Polyfill copied to clipboard

Performance Optimisation: Check and limit rendering frequency

Open Philzen opened this issue 13 years ago • 2 comments

As per http://smustalks.appspot.com/cross-device-sfhtml5-12/#56, it sounds good to a. measure and b. install a facility to limit the firing rate of touch updates, especially when more than two fingers are touching the screen and wildly moving.

By doing this once on the (faster?) java side there's no need to clutter up the JS any further, still max framerate could be set via JS bridge (possible to calculate default based on hardware?)

Philzen avatar Jun 19 '12 02:06 Philzen

Limitation of rendering frequency can be done by the TimerClass added in Issue #20. Checking is not implemented yet.

fastrde avatar Aug 27 '12 10:08 fastrde

Have been using this for quite a while, with no performance degradation whatsoever.

Will see if i can implement some kind of queue, then #27 (which i found can basically happen on any device) will be easy to cover...

Philzen avatar Apr 23 '14 19:04 Philzen