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

Issue 6354074: bench_pictures can now take percentages for tiling width and height. (Closed)

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

Description

bench_pictures can now takes percentages for tiling width and height. Committed http://code.google.com/p/skia/source/detail?r=4516

Patch Set 1 #

Total comments: 1

Patch Set 2 : Changed to using sk_float_ceil2int #

Total comments: 3

Patch Set 3 : Checked against 0 percentage instead of using booleans. #

Patch Set 4 : Fixed percentage check. #

Patch Set 5 : Merged version. #

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

Messages

Total messages: 9
keyar
12 years, 5 months ago (2012-07-04 20:56:53 UTC) #1
junov1
https://codereview.appspot.com/6354074/diff/1/tools/bench_pictures_main.cpp File tools/bench_pictures_main.cpp (right): https://codereview.appspot.com/6354074/diff/1/tools/bench_pictures_main.cpp#newcode163 tools/bench_pictures_main.cpp:163: options->fTileWidth = ceil(options->fTileWidthPercentage * picture.width() / 100); use sk_float_ceil2int, ...
12 years, 5 months ago (2012-07-06 20:33:02 UTC) #2
keyar
Changed to using sk_float_ceil2int instead of ceil in math.h.
12 years, 5 months ago (2012-07-06 22:21:18 UTC) #3
reed1
https://codereview.appspot.com/6354074/diff/4001/tools/bench_pictures_main.cpp File tools/bench_pictures_main.cpp (right): https://codereview.appspot.com/6354074/diff/4001/tools/bench_pictures_main.cpp#newcode30 tools/bench_pictures_main.cpp:30: int fTileHeight; Do we really need bools as well, ...
12 years, 5 months ago (2012-07-09 13:20:04 UTC) #4
keyar
Changed to checking that the percentage variable is > 0 as opposed to having a ...
12 years, 5 months ago (2012-07-09 18:13:19 UTC) #5
reed1
On 2012/07/09 18:13:19, keyar wrote: > Changed to checking that the percentage variable is > ...
12 years, 5 months ago (2012-07-09 18:25:30 UTC) #6
reed1
lgtm
12 years, 5 months ago (2012-07-09 18:25:38 UTC) #7
keyar
Had to do some merge work. Please take another look over.
12 years, 5 months ago (2012-07-09 20:37:42 UTC) #8
junov1
12 years, 5 months ago (2012-07-10 18:06:45 UTC) #9
On 2012/07/09 20:37:42, keyar wrote:
> Had to do some merge work. Please take another look over.

lgtm
Sign in to reply to this message.

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