[Webkit-unassigned] [Bug 75506] Improve touch handling performance by reusing the hitTest result

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 4 13:52:03 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=75506





--- Comment #3 from Min Qin <qinmin at chromium.org>  2012-01-04 13:52:03 PST ---
Yes, this is the case. TouchTarget should not change before finger is released. In the current EventHandler.cc, for example, the touchTarget  for TouchRelease and TouchMove is always the node given by TouchPressed.
Yes, the touchTarget could be removed during touch moves. But since it is ref counted, so as long as eventHandler maintains a pointer to it, it will not be GCed. And subsequent events send to it should do nothing. 

(In reply to comment #2)
> > For TouchRelease and TouchMove events, the touchTarget is always the same as the TouchPressed event.
> 
> Is it really the case? Page content may move, so another element will be at the touch position. The original element may even be removed already.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list