From 58b4ead36c62d8c0256ee4da554f3df2744d904c Mon Sep 17 00:00:00 2001 From: "scroggo@google.com" Date: Fri, 31 Aug 2012 16:15:22 +0000 Subject: Perform multi core rendering in bench_pictures. Add a flag in SkGPipeWriter for threadsafe drawing. Add a deferred pipe controller to SamplePipeControllers, which can be called to play back in multiple threads. Depends on http://codereview.appspot.com/6459105/ Review URL: https://codereview.appspot.com/6482068 git-svn-id: http://skia.googlecode.com/svn/trunk@5371 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tools/picture_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/picture_utils.h') diff --git a/tools/picture_utils.h b/tools/picture_utils.h index 18352f2bdf..bbde7f2789 100644 --- a/tools/picture_utils.h +++ b/tools/picture_utils.h @@ -34,7 +34,7 @@ namespace sk_tools { void get_basename(SkString* basename, const SkString& path); // Returns true if the string ends with % - bool is_percentage(char* const string); + bool is_percentage(const 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 -- cgit v1.2.3