Index: dm/DM.cpp |
diff --git a/dm/DM.cpp b/dm/DM.cpp |
index 58cb773e032a5f1bb9182dc3db4b0b08043fb8c6..e77c99c3042740aef3c304024ce0b1c18b8ee14c 100644 |
--- a/dm/DM.cpp |
+++ b/dm/DM.cpp |
@@ -365,6 +365,9 @@ static void push_codec_src(Path path, CodecSrc::Mode mode, CodecSrc::DstColorTyp |
case CodecSrc::kIndex8_Always_DstColorType: |
folder.append("_kIndex8"); |
break; |
+ case CodecSrc::kNonNative8888_Always_DstColorType: |
+ folder.append("_kNonNative"); |
+ break; |
default: |
break; |
} |
@@ -410,6 +413,9 @@ static void push_android_codec_src(Path path, AndroidCodecSrc::Mode mode, |
case CodecSrc::kIndex8_Always_DstColorType: |
folder.append("_kIndex8"); |
break; |
+ case CodecSrc::kNonNative8888_Always_DstColorType: |
+ folder.append("_kNonNative"); |
+ break; |
default: |
break; |
} |
@@ -508,6 +514,7 @@ static void push_codec_srcs(Path path) { |
SkTArray<CodecSrc::DstColorType> colorTypes; |
colorTypes.push_back(CodecSrc::kGetFromCanvas_DstColorType); |
+ colorTypes.push_back(CodecSrc::kNonNative8888_Always_DstColorType); |
switch (codec->getInfo().colorType()) { |
case kGray_8_SkColorType: |
colorTypes.push_back(CodecSrc::kGrayscale_Always_DstColorType); |