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

Issue 6354097: Added a benchmark for measuring picture unflattening time. (Closed)

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

Description

Added a benchmark for measuring picture unflattening time. Committed http://code.google.com/p/skia/source/detail?r=4582

Patch Set 1 #

Total comments: 3

Patch Set 2 : Ignored first run of unflatten benchmark. #

Patch Set 3 : Minor grammer fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -0 lines) Patch
M tools/bench_pictures_main.cpp View 1 2 3 chunks +28 lines, -0 lines 0 comments Download

Messages

Total messages: 3
keyar
12 years, 4 months ago (2012-07-12 17:53:23 UTC) #1
junov1
minor comments. Otherwise lgtm https://codereview.appspot.com/6354097/diff/1/tools/bench_pictures_main.cpp File tools/bench_pictures_main.cpp (right): https://codereview.appspot.com/6354097/diff/1/tools/bench_pictures_main.cpp#newcode64 tools/bench_pictures_main.cpp:64: "Set to do an picture ...
12 years, 4 months ago (2012-07-12 18:57:28 UTC) #2
keyar
12 years, 4 months ago (2012-07-12 19:17:06 UTC) #3
On 2012/07/12 18:57:28, junov1 wrote:
> minor comments.
> Otherwise lgtm
> 
> https://codereview.appspot.com/6354097/diff/1/tools/bench_pictures_main.cpp
> File tools/bench_pictures_main.cpp (right):
> 
>
https://codereview.appspot.com/6354097/diff/1/tools/bench_pictures_main.cpp#n...
> tools/bench_pictures_main.cpp:64: "Set to do an picture unflattening
benchmark.
> Default is not to do this.\n");
> a picture
> 
>
https://codereview.appspot.com/6354097/diff/1/tools/bench_pictures_main.cpp#n...
> tools/bench_pictures_main.cpp:191: SkCanvas* recorder =
> replayer.beginRecording(commands->width(), commands->height());
> 80 col
> 
>
https://codereview.appspot.com/6354097/diff/1/tools/bench_pictures_main.cpp#n...
> tools/bench_pictures_main.cpp:193: recorder->drawPicture(*commands);
> Sux that SkPicture has no copy constructor.  :-)

There is a copy constructor, however it unflattens the picture.
Sign in to reply to this message.

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