commit | c90a8c72af601bbeef3816a64fc1e59f97b75880 | [log] [tgz] |
---|---|---|
author | Mike Klein <mtklein@google.com> | Thu Feb 06 13:41:57 2020 -0600 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Feb 06 20:27:53 2020 +0000 |
tree | 44060d32bd8f81ea26d79f91eda114fa1c31c086 | |
parent | ed9b1f1c1ede0b9b35a723d67435ab190d661b3d [diff] |
calculate program hash in bulk Now that Builder::Instructions are dense, it's easier to just calculate Builder::hash() all at once when requested rather than as we go along. (I'm planning to move the other use of Builder::Instruction hashing to optimize() later too.) Change-Id: I3124da5a3905291a907d08a12f62e794ed88e92d Reviewed-on: https://skia-review.googlesource.com/c/skia/+/269184 Commit-Queue: Mike Klein <mtklein@google.com> Reviewed-by: Herb Derby <herb@google.com>