From db9a5fb55f77935774f21e07a04b6d1350ca54cc Mon Sep 17 00:00:00 2001 From: "keyar@chromium.org" Date: Tue, 21 Aug 2012 17:57:59 +0000 Subject: 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 --- tools/picture_utils.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools/picture_utils.h') 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 -- cgit v1.2.3