Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(463)

Issue 6589062: Allow render_pictures to render using multiple threads. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 9 months ago by Leon
Modified:
11 years, 9 months ago
Reviewers:
DerekS
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlecode.com/svn/trunk
Visibility:
Public.

Description

Allow render_pictures to render using multiple threads. Make write() a static function so it can be used by the thread entry functions. Add a helper function to append a number to a string and call write to share code. Committed: https://code.google.com/p/skia/source/detail?r=5789

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -99 lines) Patch
M tools/PictureRenderer.h View 1 chunk +0 lines, -7 lines 0 comments Download
M tools/PictureRenderer.cpp View 12 chunks +67 lines, -31 lines 0 comments Download
M tools/render_pictures_main.cpp View 1 2 6 chunks +111 lines, -61 lines 0 comments Download

Messages

Total messages: 3
Leon
11 years, 9 months ago (2012-10-02 20:27:14 UTC) #1
DerekS
lgtm https://codereview.appspot.com/6589062/diff/1/tools/render_pictures_main.cpp File tools/render_pictures_main.cpp (right): https://codereview.appspot.com/6589062/diff/1/tools/render_pictures_main.cpp#newcode29 tools/render_pictures_main.cpp:29: " [--multi numThreads]\n" would this be better named ...
11 years, 9 months ago (2012-10-02 21:00:58 UTC) #2
Leon
11 years, 9 months ago (2012-10-03 17:29:29 UTC) #3
https://codereview.appspot.com/6589062/diff/1/tools/render_pictures_main.cpp
File tools/render_pictures_main.cpp (right):

https://codereview.appspot.com/6589062/diff/1/tools/render_pictures_main.cpp#...
tools/render_pictures_main.cpp:29: "     [--multi numThreads]\n"
On 2012/10/02 21:00:58, DerekS wrote:
> would this be better named --threads count?

Yes. Done
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b