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

Issue 1906633003: Implement fallback cache (Closed)

Created:
4 years, 8 months ago by Ilya Kulshin
Modified:
4 years, 8 months ago
Reviewers:
ananta, rkaplow, scottmg
CC:
chromium-reviews, darin-cc_chromium.org, jam, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@blinkfontfallback
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement fallback cache Adds logic to font fallback to track recently used fallback fonts, so that we can avoid doing an IPC when rendering a page with many text blocks that all use the same fallback font. Also adds metrics to track the effectiveness of font fallback. BUG=603314 Committed: https://crrev.com/d1b7cb69dada3cdb1aafb237429fac639041e10e Cr-Commit-Position: refs/heads/master@{#389145}

Patch Set 1 : #

Total comments: 8

Patch Set 2 : Add some checks and comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+288 lines, -14 lines) Patch
M content/child/dwrite_font_proxy/font_fallback_win.h View 2 chunks +21 lines, -0 lines 0 comments Download
M content/child/dwrite_font_proxy/font_fallback_win.cc View 1 7 chunks +128 lines, -7 lines 0 comments Download
M content/child/dwrite_font_proxy/font_fallback_win_unittest.cc View 4 chunks +118 lines, -7 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +21 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
Ilya Kulshin
ptal. scottmg@/ananta@ - content/child/dwrite_font_proxy/* rkaplow@ - tools/metrics/histograms/histograms.xml
4 years, 8 months ago (2016-04-21 20:17:28 UTC) #5
rkaplow
lgtm histograms lgtm
4 years, 8 months ago (2016-04-21 22:36:55 UTC) #6
scottmg
https://codereview.chromium.org/1906633003/diff/60001/content/child/dwrite_font_proxy/font_fallback_win.cc File content/child/dwrite_font_proxy/font_fallback_win.cc (right): https://codereview.chromium.org/1906633003/diff/60001/content/child/dwrite_font_proxy/font_fallback_win.cc#newcode72 content/child/dwrite_font_proxy/font_fallback_win.cc:72: if (GetCachedFont(text_chunk, base_family_name, base_weight, base_style, It looks like if ...
4 years, 8 months ago (2016-04-21 22:45:49 UTC) #7
Ilya Kulshin
https://codereview.chromium.org/1906633003/diff/60001/content/child/dwrite_font_proxy/font_fallback_win.cc File content/child/dwrite_font_proxy/font_fallback_win.cc (right): https://codereview.chromium.org/1906633003/diff/60001/content/child/dwrite_font_proxy/font_fallback_win.cc#newcode72 content/child/dwrite_font_proxy/font_fallback_win.cc:72: if (GetCachedFont(text_chunk, base_family_name, base_weight, base_style, On 2016/04/21 22:45:49, scottmg ...
4 years, 8 months ago (2016-04-22 00:48:38 UTC) #8
scottmg
lgtm
4 years, 8 months ago (2016-04-22 02:17:00 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1906633003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1906633003/80001
4 years, 8 months ago (2016-04-22 16:46:21 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:80001)
4 years, 8 months ago (2016-04-22 17:04:36 UTC) #13
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:49:00 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d1b7cb69dada3cdb1aafb237429fac639041e10e
Cr-Commit-Position: refs/heads/master@{#389145}

Powered by Google App Engine
This is Rietveld 408576698