Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Issue 261313004: add --readJsonSummaryPath to render_pictures (Closed)

Created:
6 years, 7 months ago by epoger
Modified:
6 years, 7 months ago
Reviewers:
borenet
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

add --readJsonSummaryPath to render_pictures BUG=skia:1942 closing in favor of https://codereview.chromium.org/273783004/

Patch Set 1 : create ImageDigest, move ImageResultsSummary into image_expectations.cpp #

Patch Set 2 : added BitmapAndDigest, misc cleanup #

Patch Set 3 : cleanup of BitmapAndDigest #

Patch Set 4 : expectations code added and tested #

Patch Set 5 : split out SkDataUtils.[h,cpp] #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+560 lines, -232 lines) Patch
M gm/gm_expectations.h View 1 2 3 4 2 chunks +2 lines, -41 lines 1 comment Download
M gm/gm_expectations.cpp View 1 2 3 4 3 chunks +5 lines, -19 lines 0 comments Download
M gyp/gm.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M gyp/tools.gyp View 1 2 3 4 3 chunks +4 lines, -1 line 0 comments Download
M gyp/utils.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A src/utils/SkDataUtils.h View 1 2 3 4 1 chunk +63 lines, -0 lines 2 comments Download
A src/utils/SkDataUtils.cpp View 1 2 3 4 1 chunk +28 lines, -0 lines 0 comments Download
M tools/PictureRenderer.h View 1 3 chunks +3 lines, -39 lines 0 comments Download
M tools/PictureRenderer.cpp View 1 2 5 chunks +8 lines, -79 lines 1 comment Download
A tools/image_expectations.h View 1 2 3 4 1 chunk +123 lines, -0 lines 0 comments Download
A tools/image_expectations.cpp View 1 2 3 4 1 chunk +190 lines, -0 lines 0 comments Download
M tools/render_pictures_main.cpp View 1 2 3 3 chunks +6 lines, -1 line 0 comments Download
M tools/tests/render_pictures_test.py View 1 2 3 4 12 chunks +125 lines, -52 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
epoger
Eric- PTAL at patchset 5. https://codereview.chromium.org/261313004/diff/80001/gm/gm_expectations.h File gm/gm_expectations.h (left): https://codereview.chromium.org/261313004/diff/80001/gm/gm_expectations.h#oldcode219 gm/gm_expectations.h:219: * Read as many ...
6 years, 7 months ago (2014-05-07 03:15:16 UTC) #1
borenet
Seems right, but would be easier to read if the moving of chunks of code ...
6 years, 7 months ago (2014-05-07 18:36:52 UTC) #2
epoger
On 2014/05/07 18:36:52, borenet wrote: > Seems right, but would be easier to read if ...
6 years, 7 months ago (2014-05-07 19:41:08 UTC) #3
borenet
On 2014/05/07 19:41:08, epoger wrote: > On 2014/05/07 18:36:52, borenet wrote: > > Seems right, ...
6 years, 7 months ago (2014-05-07 19:58:34 UTC) #4
epoger
6 years, 7 months ago (2014-05-07 22:12:48 UTC) #5
> > In this case, do you think it's worth 45 minutes for me to refactor it into
> two
> > different CLs, and whatever time it would take for you to review them
> > separately?  I'm fine either doing that or not.  Please let me know what you
> > think is best.
> > 
> 
> At this point, probably not.  Maybe just a couple of comments where the moved
> blocks differ, if they do?  That way, I'll be sure not to miss those.

I started looking at the diff blocks, but then my eyes crossed up and I decided
I would be better off splitting the CL.

Sent the refactor one to you as https://codereview.chromium.org/273703006/
('extract some common code from PictureRenderer').

Powered by Google App Engine
This is Rietveld 408576698