commit | cc346947ff37b367a388f7d5252d1f77d24d1e1b | [log] [tgz] |
---|---|---|
author | Xianda Sun <sunxd@chromium.org> | Tue Dec 11 20:21:51 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Dec 11 20:21:51 2018 |
tree | 05b98c8a36f8d3c11eedda75229044d9770bd893 | |
parent | 857feaa48ff390ff99c498a5224c9f3cfbaa212f [diff] |
Do not offset location by region's origin in V2 hit testing V2 hit testing (viz hit testing using cc data) only submits regions with non-zero origins when the region is clipped by other layers. However, in these cases, if we offset hit test locations by the "clipped" region's origin, we will get wrong coordinates for the clipped frame. Since regions submitted by draw quad data provider can have the offset factor in the transform, we only disable the offsetting for v2 hit test in this patch. Bug: 908923 Change-Id: Ie501db968b94a831b33e27bc3a41d5f2fbc4e7a6 Reviewed-on: https://chromium-review.googlesource.com/c/1359324 Reviewed-by: Ria Jiang <riajiang@chromium.org> Reviewed-by: Ken Buchanan <kenrb@chromium.org> Commit-Queue: Xianda Sun <sunxd@chromium.org> Cr-Commit-Position: refs/heads/master@{#615643}
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 .