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

Issue 957473003: Optimize complex text shaping (Closed)

Created:
5 years, 10 months ago by eae
Modified:
5 years, 9 months ago
Reviewers:
behdad_google, skobes
CC:
blink-reviews, Dominik Röttsches, krit, Rik, dshwang, jbroman, Justin Novosad, danakj, pdr+graphicswatchlist_chromium.org, f(malita), Stephen Chennney, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Optimize complex text shaping Optimize the performance of the complex text shaper by avoiding creating an extra copy of the text and by using a simplified collection mechanism for 8-bit text runs. This moves the white-space normalization stage from setup-time to pre-shaping time and changes the normalization pass to use the harfbuzz buffer instead of a dedicated copy. This in turn allows the removal of the normalized copy and further avoids up-converting 8-bit to 16-bit runs. R=behdad@chromium.org, skobes@chromium.org BUG=462643, 446011 TEST=PerformanceTests/Layout/ArabicLineLayout.html, PerformanceTests/Layout/hindi-line-layout.html, PerformanceTests/Layout/latin-complex-text.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=191227

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Patch Set 6 : Rebase w/HEAD #

Patch Set 7 : Rebase again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+206 lines, -100 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 1 chunk +15 lines, -0 lines 0 comments Download
M Source/platform/fonts/Character.h View 1 2 3 4 2 chunks +7 lines, -1 line 0 comments Download
M Source/platform/fonts/shaping/HarfBuzzShaper.h View 1 2 3 4 2 chunks +4 lines, -3 lines 0 comments Download
M Source/platform/fonts/shaping/HarfBuzzShaper.cpp View 1 2 3 4 5 22 chunks +180 lines, -96 lines 0 comments Download

Messages

Total messages: 20 (10 generated)
eae
5 years, 9 months ago (2015-02-27 18:09:13 UTC) #3
behdad_google
lgtm This is great. Could you measure any perf improvements? Also interesting to see what ...
5 years, 9 months ago (2015-02-27 18:18:30 UTC) #4
eae
On 2015/02/27 18:18:30, behdad_google wrote: > lgtm > > This is great. Could you measure ...
5 years, 9 months ago (2015-02-27 18:19:11 UTC) #5
skobes
lgtm % nits How did you get the right edge of your change description aligned ...
5 years, 9 months ago (2015-02-27 19:20:03 UTC) #6
eae
On 2015/02/27 19:20:03, skobes wrote: > lgtm % nits > > How did you get ...
5 years, 9 months ago (2015-02-27 19:29:56 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/957473003/120001
5 years, 9 months ago (2015-03-04 00:10:57 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/957473003/140001
5 years, 9 months ago (2015-03-04 01:12:53 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_compile_dbg on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_compile_dbg/builds/37376) mac_blink_rel on tryserver.blink (JOB_FAILED, ...
5 years, 9 months ago (2015-03-04 01:25:38 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/957473003/160001
5 years, 9 months ago (2015-03-04 02:11:56 UTC) #19
commit-bot: I haz the power
5 years, 9 months ago (2015-03-04 04:02:30 UTC) #20
Message was sent while issue was closed.
Committed patchset #7 (id:160001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=191227

Powered by Google App Engine
This is Rietveld 408576698