commit | 14d9c31a2c9cec289fcf5e80d8cdb324c56941c0 | [log] [tgz] |
---|---|---|
author | Herb Derby <herb@google.com> | Mon Jan 06 14:09:18 2020 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Jan 06 22:02:47 2020 +0000 |
tree | dcc5f1c842b551be4d28c58f023af5586b2a49ad | |
parent | 90673ec66510f70f1d4b0f29d0b9c155aaac3532 [diff] |
Make fBrokenRun local to doRegen. If doRegen is called and fCurrGlyph > 0, this implies that the previous call to doRegen exited early on a code == GrDrawOpAtlas::ErrorCode::kTryAgain. We can calculate brokenRun directly from the fact doRegen is called with fCurrGlyph > 0. Change-Id: I1ee7b88e59708ae329c2204c1d7779a295cd9d33 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/262378 Commit-Queue: Herb Derby <herb@google.com> Reviewed-by: Mike Klein <mtklein@google.com>