On 11/01/2013 05:13 PM, Hwang, Dongseong wrote:
Hi,

Background
Chromium uses XInput2.2 to enable multi touch.
However, unfortunately Tizen2.1 supports only XInput2.1.
So Hongbo made XWalk supports XInput2.1 : 
https://github.com/crosswalk-project/chromium-crosswalk/commit/13c4f4b5215fa83f12f36d44710a0e189077d446

Issue
Chromium code base does not consider XInput2.1 because XInput2.1 is incomplete. 
XInput2.1 cannot support multi touch.
If so, How Hongbo supported multi touch? He did clever hacking. XInput2.1 can 
receive one touch point per touch device. So now XWalk uses two devices to 
receive two touch points.

Now pinch zoom has hang-up issue : 
https://crosswalk-project.org/jira/browse/XWALK-111
I guess it is because of our hacking.
One touch event (panning) is fine. Only TWO touch event (pinch zoom) has a 
issue.

Upstreamable
I discussed with googler about maintaining XInput2.1 in upstream : 
https://codereview.chromium.org/49383011/
sadrul@ rejected my suggestion. He said "All the buildbot/trybots
are on XI2.2, and so the XI2.1 code will regress without anyone noticing"

Ideal Solution
Can Tizen 2.1 upgrade XInput for 2.1 to 2.2?
Which version of XInput does Tizen3 support?

I just think that, at this point, to build support to an old version of and old protocol (X11) is craziness. I'm sure Tizen guys are open for discussion on upgrading XInput. In any case this should be addressed on Tizen mailing lists.

Tiago
_______________________________________________
Crosswalk-dev mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev

Reply via email to