diff options
author | mtklein <mtklein@chromium.org> | 2014-10-29 08:12:07 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-29 08:12:08 -0700 |
commit | bf8dc343df4fbdcb8af546eb68b640e011a33489 (patch) | |
tree | 9aeb3fa4454ea36ae39102a88cffedad83c0efc5 /tools/skp/page_sets/skia_digg_nexus10.py | |
parent | 6d5b5455743414ddb11d2b8c1fe9d7959f2b853d (diff) |
Use SkTypeface::getBounds() in bounding-box calculations.
This should produce tighter conservative bounding boxes for text than the
approximation code it replaces.
Recording performance is neutral on my desktop. Playback performance
improves by up to 15% on text heavy pages, e.g.
desk_pokemonwiki.skp_1 3.24ms -> 2.83ms 0.87x
desk_baidu.skp_1 1.91ms -> 1.58ms 0.83x
Review URL: https://codereview.chromium.org/680363003
Diffstat (limited to 'tools/skp/page_sets/skia_digg_nexus10.py')
0 files changed, 0 insertions, 0 deletions