commit | d2a188701c384a3e64c4bbae7b6de6f0ed079b7f | [log] [tgz] |
---|---|---|
author | Herb Derby <herb@google.com> | Tue Jun 18 17:07:39 2019 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Jun 19 17:41:45 2019 +0000 |
tree | e6037aac9ebd0d1c175df12ff88ba3e304e3c93c | |
parent | 6ac3795ebfd88c7466ec9f3040bdbf6eb4ecce78 [diff] |
Update getAdvances for using a mutex I'm hoping to have a few pinch points that will actually hold a mutex. The call getAdvances uses to get glyphs, called metrics(), is one of them. + Update some call sites to use the new glyph() call. Change-Id: I04158e200db43758fe6d33337e5d1137f197a5b7 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/221777 Commit-Queue: Herb Derby <herb@google.com> Reviewed-by: Mike Klein <mtklein@google.com>