commit | a5d5bb89a464f812803f6b5b6a2feb9f656f52eb | [log] [tgz] |
---|---|---|
author | Emil A Eklund <eae@chromium.org> | Wed Aug 01 03:17:44 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Aug 01 03:17:44 2018 |
tree | 361b6c5c2715f9075222a6e1c0e4a7271bb081aa | |
parent | 9eb9a910e8f9354912a72a8f2e54fe0584ed7bf7 [diff] |
Optimize ShapeResult::ComputeGlyphBounds Further optimize ShapeResult::ComputeGlyphBounds by moving population of source glyphs vector to ComputeGlyphPositions thereby avoiding the extra iteration over all glyphs in ComputeGlyphBounds. Furthermore by changing SimpleFontData::BoundsForGlyphs to take a SkRect vector avoids one extra copy and one extra iteration. Bug: 591099 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Change-Id: Ib155ce1e069d5329c5fbc6a8850fc40736ee520b Reviewed-on: https://chromium-review.googlesource.com/1157271 Reviewed-by: Koji Ishii <kojii@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#579682}
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 .