commit | b96620c8c8c95f91a3943f5e8334df70898523cc | [log] [tgz] |
---|---|---|
author | Philip Rogers <pdr@chromium.org> | Tue Nov 27 22:28:22 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Nov 27 22:28:22 2018 |
tree | 84b3de234d24f71d8d3711515f5d5b7b5e03091d | |
parent | eab0fc97fd453590f2872d6844248742c32a32ed [diff] |
Simplify and generalize touch action rect testing This patch changes the touch action rect tests to dump the touch action rects and their associated layer rect instead of dumping node-related information. This is in preparation for making these tests work with slimming paint v2 (SPV2 aka composite-after-paint) which does not have a mapping from cc::Layer to Node and may produce different composited layer decisions. Before patch: normalFlow: #document scrolling (13, 128, 290, 12) With patch: normalFlow: layer(0,0 785x1530) has hit test rect (13,128 290x12) This patch also removes the visualization functionality from the touch action tests. There is an easier way to visualize the touch-action rects: the inspector has a "Scrolling performance issue" visualization under the Rendering tab. Change-Id: I7468bcf1a64fecb72874c93c8b97567c588e3926 Reviewed-on: https://chromium-review.googlesource.com/c/1351789 Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org> Commit-Queue: Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#611376}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .