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-21 17:57:59 +0000
committerGravatar keyar@chromium.org <keyar@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-21 17:57:59 +0000
commitdb9a5fb55f77935774f21e07a04b6d1350ca54cc (patch)
treeeba68fe0ad25c6882d1ff925f5c3a9f1f4e2783c /tools/picture_utils.h
parent5b5919862fa9114b76ed9c2e9429739dec06fee7 (diff)
Benchmark results will now print to STDOUT if on not-Android.
Review URL: https://codereview.appspot.com/6446164 git-svn-id: http://skia.googlecode.com/svn/trunk@5215 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tools/picture_utils.h')
-rw-r--r--tools/picture_utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/picture_utils.h b/tools/picture_utils.h
index 2cda45bd40..c0c5d8f069 100644
--- a/tools/picture_utils.h
+++ b/tools/picture_utils.h
@@ -28,6 +28,11 @@ namespace sk_tools {
// Returns true if the string ends with %
bool is_percentage(char* const string);
+ // Prints to STDOUT so that test results can be easily seperated from the
+ // error stream. Note, that this still prints to the same stream as SkDebugf
+ // on Andoid.
+ void print_msg(const char msg[]);
+
// Prepares the bitmap so that it can be written.
//
// Specifically, it configures the bitmap, allocates pixels and then