From 163b56734fe01c088581895a8e0b65ddf1cb4fa5 Mon Sep 17 00:00:00 2001 From: "keyar@chromium.org" Date: Wed, 1 Aug 2012 17:53:29 +0000 Subject: 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 --- tools/picture_utils.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/picture_utils.h') 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 -- cgit v1.2.3