aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/picture_utils.h
diff options
context:
space:
mode:
authorGravatar keyar@chromium.org <keyar@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-01 17:53:29 +0000
committerGravatar keyar@chromium.org <keyar@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-01 17:53:29 +0000
commit163b56734fe01c088581895a8e0b65ddf1cb4fa5 (patch)
treeac94dee645bbbe5d4ac4c83649f850f823598465 /tools/picture_utils.h
parent92b11f610376dea7192ade22dde31c8bb8ede76c (diff)
Merged bench_pictures and render_pictures rendering methods.
bench_pictures now uses a class based method for choosing the benchmark type as well. Review URL: https://codereview.appspot.com/6452070 git-svn-id: http://skia.googlecode.com/svn/trunk@4894 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tools/picture_utils.h')
-rw-r--r--tools/picture_utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/picture_utils.h b/tools/picture_utils.h
index aeb625f6e5..2cda45bd40 100644
--- a/tools/picture_utils.h
+++ b/tools/picture_utils.h
@@ -25,6 +25,9 @@ namespace sk_tools {
// only)
void get_basename(SkString* basename, const SkString& path);
+ // Returns true if the string ends with %
+ bool is_percentage(char* const string);
+
// Prepares the bitmap so that it can be written.
//
// Specifically, it configures the bitmap, allocates pixels and then