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.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/picture_utils.cpp') diff --git a/tools/picture_utils.cpp b/tools/picture_utils.cpp index d5caf0c7dd..fb5f37cbc3 100644 --- a/tools/picture_utils.cpp +++ b/tools/picture_utils.cpp @@ -80,7 +80,7 @@ namespace sk_tools { basename->set(path.c_str(), end + 1); } - bool is_percentage(char* const string) { + bool is_percentage(const char* const string) { SkString skString(string); return skString.endsWith("%"); } -- cgit v1.2.3