Chromium Code Reviews
DescriptionOptimize 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 #
Messages
Total messages: 20 (10 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||