| Index: src/codec/SkSwizzler.cpp
|
| diff --git a/src/codec/SkSwizzler.cpp b/src/codec/SkSwizzler.cpp
|
| index c9eb923053879809706ceec392444136181729e6..3f897da6da211c3bfc5858ef3963aeb8ef888de6 100644
|
| --- a/src/codec/SkSwizzler.cpp
|
| +++ b/src/codec/SkSwizzler.cpp
|
| @@ -804,6 +804,9 @@ SkSwizzler* SkSwizzler::CreateSwizzler(const SkEncodedInfo& encodedInfo,
|
| }
|
| break;
|
| case SkEncodedInfo::kRGB_Color:
|
| + case SkEncodedInfo::k565_Color:
|
| + // Treat 565 exactly like RGB (since it's still encoded as 8 bits per component).
|
| + // We just mark as 565 when have a hint that there are only 5/6 "significant" bits.
|
| switch (dstInfo.colorType()) {
|
| case kRGBA_8888_SkColorType:
|
| proc = &swizzle_rgb_to_rgba;
|
|
|