commit | 511124e5a896914d4b3085f9dc52890e2932bd43 | [log] [tgz] |
---|---|---|
author | Herb Derby <herb@google.com> | Tue Jan 07 13:51:14 2020 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Jan 07 20:32:12 2020 +0000 |
tree | 5c16141648de54ced04d297bfeb710fe569409dc | |
parent | f01813ec5fd5a9b9c6625766557e538b939855d0 [diff] |
Simplify the atlas update inner loop Try to move calculations out of the main atlas update loop. Simplify expressions involving the result values. Invert the if-statement and for-loop to do even less work. Change-Id: Ibef88e65fb5bb8eeeaec13f0ae0ba1acb4d2d87d Reviewed-on: https://skia-review.googlesource.com/c/skia/+/262926 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Herb Derby <herb@google.com>