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

Issue 6536050: In bench_pictures, use a pool of tiles for multicore drawing. (Closed)

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

Description

In bench_pictures, use a pool of tiles for multicore drawing. Also includes some code cleanup and code sharing. Allow setting the number of threads on the command line. Rename ThreadSafePipeController::playback to ::draw, to be the same as SkPicture so DrawTileToCanvas can take a template parameter. Disallow multithreading with GPU turned on. Display help information with improper tiled arguments. BUG=https://code.google.com/p/skia/issues/detail?id=871 Committed: https://code.google.com/p/skia/source/detail?r=5602

Patch Set 1 #

Patch Set 2 : #

Total comments: 7

Patch Set 3 : #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -117 lines) Patch
M src/pipe/utils/SamplePipeControllers.h View 1 chunk +1 line, -1 line 0 comments Download
M src/pipe/utils/SamplePipeControllers.cpp View 1 chunk +1 line, -1 line 0 comments Download
M tools/PictureRenderer.h View 5 chunks +23 lines, -12 lines 0 comments Download
M tools/PictureRenderer.cpp View 1 2 5 chunks +166 lines, -84 lines 0 comments Download
M tools/bench_pictures_main.cpp View 1 2 3 12 chunks +45 lines, -19 lines 0 comments Download

Messages

Total messages: 6
Leon
12 years, 2 months ago (2012-09-18 21:39:56 UTC) #1
DerekS
https://codereview.appspot.com/6536050/diff/2001/tools/PictureRenderer.cpp File tools/PictureRenderer.cpp (right): https://codereview.appspot.com/6536050/diff/2001/tools/PictureRenderer.cpp#newcode353 tools/PictureRenderer.cpp:353: , fController(controller) {} why not just put this in ...
12 years, 2 months ago (2012-09-19 13:49:14 UTC) #2
Leon
https://codereview.appspot.com/6536050/diff/2001/tools/PictureRenderer.cpp File tools/PictureRenderer.cpp (right): https://codereview.appspot.com/6536050/diff/2001/tools/PictureRenderer.cpp#newcode353 tools/PictureRenderer.cpp:353: , fController(controller) {} On 2012/09/19 13:49:14, DerekS wrote: > ...
12 years, 2 months ago (2012-09-19 13:59:12 UTC) #3
DerekS
https://codereview.appspot.com/6536050/diff/2001/tools/PictureRenderer.cpp File tools/PictureRenderer.cpp (right): https://codereview.appspot.com/6536050/diff/2001/tools/PictureRenderer.cpp#newcode384 tools/PictureRenderer.cpp:384: void TiledPictureRenderer::setup() { Makes perfect sense with that explanation. ...
12 years, 2 months ago (2012-09-19 14:02:27 UTC) #4
Leon
https://codereview.appspot.com/6536050/diff/2001/tools/PictureRenderer.cpp File tools/PictureRenderer.cpp (right): https://codereview.appspot.com/6536050/diff/2001/tools/PictureRenderer.cpp#newcode384 tools/PictureRenderer.cpp:384: void TiledPictureRenderer::setup() { On 2012/09/19 14:02:28, DerekS wrote: > ...
12 years, 2 months ago (2012-09-19 17:16:49 UTC) #5
DerekS
12 years, 2 months ago (2012-09-19 18:05:12 UTC) #6
no as long as it is documented somewhere that should be fine.

lgtm
Sign in to reply to this message.

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