Index: dm/DM.cpp |
diff --git a/dm/DM.cpp b/dm/DM.cpp |
index 9dcdff1a0fce6f98f10228d33595e618a31f4c2e..27fe052c29a816333205a8d74ade1a8d0e87c8fd 100644 |
--- a/dm/DM.cpp |
+++ b/dm/DM.cpp |
@@ -212,7 +212,8 @@ static void push_codec_srcs(Path path) { |
// TODO (msarett): Add more scaling tests as we implement more flexible scaling. |
// TODO (msarett): Implement scaling tests for SkImageDecoder in order to compare with these |
// tests. SkImageDecoder supports downscales by integer factors. |
- const float scales[] = { 0.125f, 0.25f, 0.375f, 0.5f, 0.625f, 0.750f, 0.875f, 1.0f }; |
+ const float scales[] = { 0.1f, 0.125f, 0.16666666f, 0.2f, 0.25f, 0.3f, 0.375f, 0.4f, 0.5f, 0.6f, |
scroggo
2015/08/04 20:05:21
Could you add comments explaining why we chose the
emmaleer
2015/08/05 14:47:51
Before we were only testing scaled values that Jpe
|
+ 0.625f, 0.7f, 0.750f, 0.8f, 0.875f, 0.9f, 1.0f }; |
for (float scale : scales) { |
if (scale != 1.0f && (path.endsWith(".webp") || path.endsWith(".WEBP"))) { |