commit | cefbc0542808c92edf50518d5c00f89bb6a9eace | [log] [tgz] |
---|---|---|
author | Koji Ishii <kojii@chromium.org> | Mon Aug 27 15:05:29 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Aug 27 15:05:29 2018 |
tree | d00de3f5e4684ae69a080e5048fe18e600c7bdef | |
parent | 8867f044f30b00b5763deecf24333f127f310ba8 [diff] |
Batch calls to getTextWidths from HarfBuzz As we found SkPaint::getTextWidths has rather high entry cost, HarfBuzz has added a function to batch the call in [1]. This patch supports the batch function in HarfBuzzFace. blink_perf.layout (Legacy): 3-25% improvements in 10 tests. https://pinpoint-dot-chromeperf.appspot.com/job/137a7165640000 blink_perf.layout (LayoutNG): 3-40% improvements in 20 tests. https://pinpoint-dot-chromeperf.appspot.com/job/111903c5640000 [1] https://github.com/harfbuzz/harfbuzz/commit/79e21984b13bdb879f3007ba9a97fde47df340d3 Bug: 636993 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Change-Id: I04f839526cd35876996b679971d49a99e47ae46c Reviewed-on: https://chromium-review.googlesource.com/1158671 Reviewed-by: Emil A Eklund <eae@chromium.org> Commit-Queue: Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#586264}
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 .