aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/picture_utils.h
diff options
context:
space:
mode:
authorGravatar scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-31 16:15:22 +0000
committerGravatar scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-31 16:15:22 +0000
commit58b4ead36c62d8c0256ee4da554f3df2744d904c (patch)
treef06d09d531ee6b37df515ab83734111aad8cb5b0 /tools/picture_utils.h
parentb1d47e211c95779ed283b78a85abbd0bd5668871 (diff)
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
Diffstat (limited to 'tools/picture_utils.h')
-rw-r--r--tools/picture_utils.h2
1 files changed, 1 insertions, 1 deletions
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