aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/sk_tool_utils.h
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2015-07-20 13:38:56 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-20 13:38:56 -0700
commit6531c3619f08cc83aad34883c5f00f6a358c9fad (patch)
tree5dd35fd7ef486272a17c424bdb4702279d264631 /tools/sk_tool_utils.h
parent973ae86a824c6c1ece428d6777d0bce648f3f20c (diff)
Generate platform specific fontmgr gm.
The gm output on different font platforms is so different that comparing images in Gold has little value. Separate the images by appending platform information to the gm name to group somewhat similar images together. Note that this does not attempt to make sure that all images generated by Gold are nearly pixel identical; it only reduces the number of nonsensical comparisons. R=bungeman@google.com Review URL: https://codereview.chromium.org/1245643002
Diffstat (limited to 'tools/sk_tool_utils.h')
-rw-r--r--tools/sk_tool_utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/sk_tool_utils.h b/tools/sk_tool_utils.h
index 4bf9ad6ac5..864c33dd21 100644
--- a/tools/sk_tool_utils.h
+++ b/tools/sk_tool_utils.h
@@ -25,6 +25,8 @@ namespace sk_tool_utils {
const char* colortype_name(SkColorType);
SkColor color_to_565(SkColor color);
+ const char* platform_os_name();
+ const char* platform_extra_config(const char* config);
/**
* Sets the paint to use a platform-independent text renderer if FLAGS_portableFonts is set.