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

Unified Diff: dm/DM.cpp

Issue 863723002: image subsetting as part of the name instead of a separate source type (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 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 | dm/DMSrcSink.cpp » ('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 dad1f8b33fd9af1a0436586eaee35c06e3c6c863..9c121e4fdc9d49ae96f0300f7837d128f1b15532 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -15,7 +15,7 @@
DEFINE_bool(tests, true, "Run tests?");
DEFINE_string(images, "resources", "Images to decode.");
-DEFINE_string(src, "gm skp image subset", "Source types to test.");
+DEFINE_string(src, "gm skp image", "Source types to test.");
DEFINE_bool(nameByHash, false,
"If true, write to FLAGS_writePath[0]/<hash>.png instead of "
"to FLAGS_writePath[0]/<config>/<sourceType>/<name>.png");
@@ -95,8 +95,8 @@ static void gather_srcs() {
SkOSFile::Iter it(FLAGS_images[0], exts[i]);
for (SkString file; it.next(&file); ) {
SkString path = SkOSPath::Join(FLAGS_images[0], file.c_str());
- push_src("image", new ImageSrc(path)); // Decode entire image.
- push_src("subset", new ImageSrc(path, 5)); // Decode 5 random subsets.
+ push_src("image", new ImageSrc(path)); // Decode entire image.
+ push_src("image", new ImageSrc(path, 5)); // Decode 5 random subsets.
}
}
}
« no previous file with comments | « no previous file | dm/DMSrcSink.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698