aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/ChecksumBench.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2016-08-08 09:00:29 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-08 09:00:29 -0700
commit9a5a201472c3fb9f02b954ba09ae1ec13ebd50f4 (patch)
tree33cf2936a48662b59132bc364ef21d67a7416d1a /bench/ChecksumBench.cpp
parentb9a10d8c75bfff7bfe9cbb4f74c71ac3494d418b (diff)
use onPeekBitmap instead of asLegacyBitmap
Since we know we are raster-backed at this point, it is fine, plus it avoids the copy-mutable logic in asLegacyBitmap, which is not needed here (and is slower if our bitmap was built with kNever_SkCopyPixelsMode). BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2223653002 Review-Url: https://codereview.chromium.org/2223653002
Diffstat (limited to 'bench/ChecksumBench.cpp')
0 files changed, 0 insertions, 0 deletions