Descriptionuse 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
Committed: https://skia.googlesource.com/skia/+/9a5a201472c3fb9f02b954ba09ae1ec13ebd50f4
Patch Set 1 #
Total comments: 2
Messages
Total messages: 17 (8 generated)
|