Index: dm/DM.cpp |
diff --git a/dm/DM.cpp b/dm/DM.cpp |
index 78b403b8d046e0d45d0cb23b0e439b5710960b81..cccc92b9faf4b63b5a48187e63b563f709f32cbe 100644 |
--- a/dm/DM.cpp |
+++ b/dm/DM.cpp |
@@ -740,17 +740,22 @@ static bool gather_srcs() { |
} |
for (auto colorImage : colorImages) { |
- ColorCodecSrc* src = new ColorCodecSrc(colorImage, ColorCodecSrc::kBaseline_Mode); |
+ ColorCodecSrc* src = new ColorCodecSrc(colorImage, ColorCodecSrc::kBaseline_Mode, |
+ kN32_SkColorType); |
push_src("image", "color_codec_baseline", src); |
- src = new ColorCodecSrc(colorImage, ColorCodecSrc::kDst_HPZR30w_Mode); |
+ src = new ColorCodecSrc(colorImage, ColorCodecSrc::kDst_HPZR30w_Mode, kN32_SkColorType); |
push_src("image", "color_codec_HPZR30w", src); |
+ // TODO (msarett): |
+ // Should we test this Dst in F16 mode (even though the Dst gamma is 2.2 instead of sRGB)? |
- src = new ColorCodecSrc(colorImage, ColorCodecSrc::kDst_sRGB_Mode); |
- push_src("image", "color_codec_sRGB", src); |
+ src = new ColorCodecSrc(colorImage, ColorCodecSrc::kDst_sRGB_Mode, kN32_SkColorType); |
+ push_src("image", "color_codec_sRGB_kN32", src); |
+ src = new ColorCodecSrc(colorImage, ColorCodecSrc::kDst_sRGB_Mode, kRGBA_F16_SkColorType); |
+ push_src("image", "color_codec_sRGB_kF16", src); |
#if defined(SK_TEST_QCMS) |
- src = new ColorCodecSrc(colorImage, ColorCodecSrc::kQCMS_HPZR30w_Mode); |
+ src = new ColorCodecSrc(colorImage, ColorCodecSrc::kQCMS_HPZR30w_Mode, kN32_SkColorType); |
push_src("image", "color_codec_QCMS_HPZR30w", src); |
#endif |
} |