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

Issue 273703006: extract some common code from PictureRenderer (Closed)

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

Description

extract some common code from PictureRenderer Committed: http://code.google.com/p/skia/source/detail?r=14638

Patch Set 1 #

Patch Set 2 : forgot to add these files #

Total comments: 7

Patch Set 3 : add TODO #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+251 lines, -163 lines) Patch
M gm/gm_expectations.h View 2 chunks +2 lines, -41 lines 0 comments Download
M gm/gm_expectations.cpp View 3 chunks +5 lines, -19 lines 1 comment Download
M gyp/gm.gyp View 1 chunk +1 line, -0 lines 1 comment Download
M gyp/tools.gyp View 3 chunks +4 lines, -1 line 1 comment Download
M gyp/utils.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
A src/utils/SkDataUtils.h View 1 1 chunk +63 lines, -0 lines 0 comments Download
A src/utils/SkDataUtils.cpp View 1 1 chunk +28 lines, -0 lines 0 comments Download
M tools/PictureRenderer.h View 3 chunks +2 lines, -39 lines 0 comments Download
M tools/PictureRenderer.cpp View 1 2 2 chunks +4 lines, -63 lines 0 comments Download
A tools/image_expectations.h View 1 chunk +56 lines, -0 lines 0 comments Download
A tools/image_expectations.cpp View 1 chunk +82 lines, -0 lines 0 comments Download
M tools/render_pictures_main.cpp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
epoger
Eric- PTAL at patchset 2. https://codereview.chromium.org/273703006/diff/20001/gm/gm_expectations.cpp File gm/gm_expectations.cpp (left): https://codereview.chromium.org/273703006/diff/20001/gm/gm_expectations.cpp#oldcode222 gm/gm_expectations.cpp:222: /*static*/ SkData* JsonExpectationsSource::ReadIntoSkData(SkStream &stream, ...
6 years, 7 months ago (2014-05-07 22:10:41 UTC) #1
borenet
Thanks, this is much easier to parse. LGTM but wondering whether some constants should be ...
6 years, 7 months ago (2014-05-08 12:05:53 UTC) #2
epoger
https://codereview.chromium.org/273703006/diff/20001/tools/PictureRenderer.cpp File tools/PictureRenderer.cpp (right): https://codereview.chromium.org/273703006/diff/20001/tools/PictureRenderer.cpp#newcode309 tools/PictureRenderer.cpp:309: outputFilename.set("bitmap-64bitMD5_"); On 2014/05/08 12:05:53, borenet wrote: > Why the ...
6 years, 7 months ago (2014-05-08 14:40:24 UTC) #3
epoger
The CQ bit was checked by epoger@google.com
6 years, 7 months ago (2014-05-08 14:40:36 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/epoger@google.com/273703006/40001
6 years, 7 months ago (2014-05-08 14:41:23 UTC) #5
commit-bot: I haz the power
Change committed as 14638
6 years, 7 months ago (2014-05-08 14:49:01 UTC) #6
djsollen
A revert of this CL has been created in https://codereview.chromium.org/274463004/ by djsollen@google.com. The reason for ...
6 years, 7 months ago (2014-05-08 16:22:35 UTC) #7
bungeman-skia
By including utils here you have one build of utils in the lib and a ...
6 years, 7 months ago (2014-05-08 16:25:27 UTC) #8
bungeman-skia
6 years, 7 months ago (2014-05-08 16:29:50 UTC) #9
Message was sent while issue was closed.
https://codereview.chromium.org/273703006/diff/40001/gm/gm_expectations.cpp
File gm/gm_expectations.cpp (right):

https://codereview.chromium.org/273703006/diff/40001/gm/gm_expectations.cpp#n...
gm/gm_expectations.cpp:234: SkAutoDataUnref
dataRef(SkDataUtils::ReadFileIntoSkData(inFile));
Why isn't this just SkData::NewFromFileName(jsonPath);?

Powered by Google App Engine
This is Rietveld 408576698