Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1243)

Issue 2204923002: Untangle HarfBuzz callbacks for glyph width and extents (Closed)

Created:
4 years, 4 months ago by drott
Modified:
4 years, 4 months ago
Reviewers:
kojii, eae, tzik
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Untangle HarfBuzz callbacks for glyph width and extents Under the hood, SkPaint uses "needsFullMetrics" or just advance callbacks into the glyph cache. Untangling the calls and only retrieving either advance or bounds should speed up these HarfBuzz callbacks. Measured locally I am seeing ~10% improvements on blink_pref.layout:chapter-reflow and ~blink_pref.layout:ArabicLineLayout. BUG=631032 R=kojii,tzik Committed: https://crrev.com/994c65ef57ec7c84b18fd66d7b8b85e5a2dc29bd Cr-Commit-Position: refs/heads/master@{#409295}

Patch Set 1 #

Patch Set 2 : Untangle HarfBuzz callbacks for glyph width and extents #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -23 lines) Patch
M third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/skia/SkiaTextMetrics.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/fonts/skia/SkiaTextMetrics.cpp View 1 chunk +29 lines, -20 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
drott
4 years, 4 months ago (2016-08-02 13:00:37 UTC) #6
eae
LGTM Very nice!
4 years, 4 months ago (2016-08-02 16:16:20 UTC) #7
kojii
lgtm, very nice from me too!
4 years, 4 months ago (2016-08-02 16:20:24 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2204923002/20001
4 years, 4 months ago (2016-08-02 20:05:57 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-02 20:11:31 UTC) #13
commit-bot: I haz the power
4 years, 4 months ago (2016-08-02 20:13:35 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/994c65ef57ec7c84b18fd66d7b8b85e5a2dc29bd
Cr-Commit-Position: refs/heads/master@{#409295}

Powered by Google App Engine
This is Rietveld 408576698