commit | fc2ebb312c5898486776df981a51c2bb90e3756d | [log] [tgz] |
---|---|---|
author | Noelle Scobie <nscobie@google.com> | Wed Jan 22 14:52:19 2025 -0800 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Feb 05 21:18:36 2025 -0800 |
tree | bc0fd707b52877801d9278fcf45fcf8c1e596586 | |
parent | 0c4a707b83079ae06874871254fa4066952fa5a6 [diff] |
[bmp] Fix swizzler initialization We only decode via an intermediate color xform buffer when xformOnDecode() is true (see decodeRows). The swizzler selection should use the same heuristic to match the actual dest buffer type. Cherrypick of https://skia-review.googlesource.com/c/skia/+/937497 Bug: 388480622 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c58deb210e62cf57de91b0eb8844b782fc774135) Merged-In: Iaf240852a9bcf0be02cda84f0e44576da8100dec Change-Id: Iaf240852a9bcf0be02cda84f0e44576da8100dec