Open Philzen opened 12 years ago
Limitation of rendering frequency can be done by the TimerClass added in Issue #20. Checking is not implemented yet.
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...
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?)