aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-12-20 21:49:33 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-12-20 21:49:33 +0000
commit9de35eb37513836ddef147fd48fb1aacf60a7e51 (patch)
treeafd2972c91e5a031e79ae8af52c720a1e4c2dc11
parent4be2e001d2bd272c8bcea3457ffbfe2f1281c63b (diff)
Adds non-1 scalar to config names.
BUG= R=robertphillips@google.com, bungeman@google.com, halcanary@google.com, scroggo@google.com, borenet@google.com Author: bensong@google.com Review URL: https://codereview.chromium.org/106823005 git-svn-id: http://skia.googlecode.com/svn/trunk@12811 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--tools/PictureRenderer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/PictureRenderer.h b/tools/PictureRenderer.h
index a22e0b7cd2..e524aa1296 100644
--- a/tools/PictureRenderer.h
+++ b/tools/PictureRenderer.h
@@ -234,6 +234,9 @@ public:
if (!fViewport.isEmpty()) {
config.appendf("_viewport_%ix%i", fViewport.width(), fViewport.height());
}
+ if (fScaleFactor != SK_Scalar1) {
+ config.appendf("_scalar_%f", SkScalarToFloat(fScaleFactor));
+ }
if (kRTree_BBoxHierarchyType == fBBoxHierarchyType) {
config.append("_rtree");
} else if (kTileGrid_BBoxHierarchyType == fBBoxHierarchyType) {