commit | 2e7fdf11ecb0fe2c64f9af9fd77c3c2124675b18 | [log] [tgz] |
---|---|---|
author | Xianda Sun <sunxd@chromium.org> | Wed Nov 28 17:40:04 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Nov 28 17:40:04 2018 |
tree | 9b66bb4bf0f5263838d2ff8b11da29bc089edc48 | |
parent | 12b2a6e5143431805dcea024649cfddaa0d4237c [diff] |
Use layer tree to generate data when VizHitTestSurfaceLayer is enabled We previously use other hit test data providers whenever there is one created, regardless of whether we enable VizHitTestSurfaceLayer or not. This makes the flag no longer effective in some conditions as we can create a draw quad hit test data provider arbitrarily sometimes. It accounts for the async hit testing of approximately 1% of all hit testing requests when VizHitTestSurfaceLayer is enabled. This patch makes us use layer tree hit test data when the flag is enabled. Bug: 901882 Change-Id: I833b693368721b09e1d2922274d21170a24125d7 Reviewed-on: https://chromium-review.googlesource.com/c/1348949 Commit-Queue: Xianda Sun <sunxd@chromium.org> Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org> Reviewed-by: danakj <danakj@chromium.org> Reviewed-by: Ria Jiang <riajiang@chromium.org> Cr-Commit-Position: refs/heads/master@{#611757}
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 .