Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Unified Diff: dm/DM.cpp

Issue 2206953006: Create a separate src for colorspace tests (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: FIXME Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | infra/bots/recipe_modules/vars/api.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DM.cpp
diff --git a/dm/DM.cpp b/dm/DM.cpp
index fcc3c552eac3442efc7482857f397a1f51bed943..bf80c863ba6b2238107dfef3d9d938bf75ea48af 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -763,22 +763,22 @@ static bool gather_srcs() {
for (auto colorImage : colorImages) {
ColorCodecSrc* src = new ColorCodecSrc(colorImage, ColorCodecSrc::kBaseline_Mode,
kN32_SkColorType);
- push_src("image", "color_codec_baseline", src);
+ push_src("colorImage", "color_codec_baseline", src);
src = new ColorCodecSrc(colorImage, ColorCodecSrc::kDst_HPZR30w_Mode, kN32_SkColorType);
- push_src("image", "color_codec_HPZR30w", src);
+ push_src("colorImage", "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, kN32_SkColorType);
- push_src("image", "color_codec_sRGB_kN32", src);
+ push_src("colorImage", "color_codec_sRGB_kN32", src);
src = new ColorCodecSrc(colorImage, ColorCodecSrc::kDst_sRGB_Mode, kRGBA_F16_SkColorType);
- push_src("image", "color_codec_sRGB_kF16", src);
+ push_src("colorImage", "color_codec_sRGB_kF16", src);
#if defined(SK_TEST_QCMS)
src = new ColorCodecSrc(colorImage, ColorCodecSrc::kQCMS_HPZR30w_Mode,
kRGBA_8888_SkColorType);
- push_src("image", "color_codec_QCMS_HPZR30w", src);
+ push_src("colorImage", "color_codec_QCMS_HPZR30w", src);
#endif
}
« no previous file with comments | « no previous file | infra/bots/recipe_modules/vars/api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698