Chrome 好像要修复 Surface 的触屏滚动问题了

2015-08-12 18:07:35 +08:00
 fishg

The following revision refers to this bug:
https://chromium.googlesource.com/chromium/src.git/+/d53bb2ab620b6dc5e17da85dcf1b83b516c8c212

commit d53bb2ab620b6dc5e17da85dcf1b83b516c8c212
Author: ananta ananta@chromium.org
Date: Wed Aug 12 02:04:17 2015

Improve scroll performance on Windows 10 with high precision touchpads.

Chrome scrolling performance on Windows 10 with high precision touch pads, is very janky and jumpy.
Windows 10 introduces a new API called Direct Manipulation which allows consumers to support smooth
scrolling, panning etc. Mouse wheel messages are dispatched differently based on whether the window
is a Direct manipulation consumer. Microsoft recommends supporting Direct Manipulation on Windows 10
and above.

This is an intial patch to do the bare minimum to register Chrome as a Direct Manipulation consumer.
The associated functionality is provided by the newly added DirectManipulationHelper class which lives
as a member of the LegacyRenderWidgetHostHWND class which ensures that these changes are isolated cleanly.

This does smoothen scrolling on these devices. However there is still work to be done

BUG=517183,517187

不知道有没有V友装金丝雀版试试是不是触屏滑动顺畅了?我windows板子没带现在

2471 次点击
所在节点    Chrome
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/212740

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX