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

Issue 1696763002: Adding a tool to get images from skps (Closed)

Created:
4 years, 10 months ago by msarett
Modified:
4 years, 10 months ago
Reviewers:
scroggo, mtklein
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Patch Set 1 : #

Total comments: 12

Patch Set 2 : Response to comments #

Total comments: 1

Patch Set 3 : Track unknown images #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -0 lines) Patch
M gyp/tools.gyp View 2 chunks +12 lines, -0 lines 0 comments Download
M tools/flags/SkCommandLineFlags.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M tools/flags/SkCommandLineFlags.cpp View 1 1 chunk +4 lines, -0 lines 0 comments Download
A tools/get_images_from_skps.cpp View 1 2 1 chunk +139 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
msarett
Once this tool (or something like it) is ready, I'm going to talk to Ravi ...
4 years, 10 months ago (2016-02-12 16:33:49 UTC) #4
scroggo
https://codereview.chromium.org/1696763002/diff/20001/tools/get_images_from_skps.cpp File tools/get_images_from_skps.cpp (right): https://codereview.chromium.org/1696763002/diff/20001/tools/get_images_from_skps.cpp#newcode24 tools/get_images_from_skps.cpp:24: SkDebugf("Usage: get_images_from_skps -s <dir of skps> -o <dir for ...
4 years, 10 months ago (2016-02-12 17:18:39 UTC) #5
mtklein
https://codereview.chromium.org/1696763002/diff/20001/tools/get_images_from_skps.cpp File tools/get_images_from_skps.cpp (right): https://codereview.chromium.org/1696763002/diff/20001/tools/get_images_from_skps.cpp#newcode130 tools/get_images_from_skps.cpp:130: SkAutoTUnref<SkPicture> picture(SkPicture::CreateFromStream(stream, store_encoded_to_file)); > Why not put this inside ...
4 years, 10 months ago (2016-02-12 17:21:42 UTC) #7
scroggo
lgtm https://codereview.chromium.org/1696763002/diff/20001/tools/get_images_from_skps.cpp File tools/get_images_from_skps.cpp (right): https://codereview.chromium.org/1696763002/diff/20001/tools/get_images_from_skps.cpp#newcode130 tools/get_images_from_skps.cpp:130: SkAutoTUnref<SkPicture> picture(SkPicture::CreateFromStream(stream, store_encoded_to_file)); On 2016/02/12 17:21:41, mtklein wrote: ...
4 years, 10 months ago (2016-02-12 18:50:27 UTC) #8
msarett
Using SkOSPath::Join() and added a SkCommandLineFlags::PrintUsage(). https://codereview.chromium.org/1696763002/diff/20001/tools/get_images_from_skps.cpp File tools/get_images_from_skps.cpp (right): https://codereview.chromium.org/1696763002/diff/20001/tools/get_images_from_skps.cpp#newcode24 tools/get_images_from_skps.cpp:24: SkDebugf("Usage: get_images_from_skps -s ...
4 years, 10 months ago (2016-02-12 21:30:29 UTC) #9
scroggo
https://codereview.chromium.org/1696763002/diff/40001/tools/get_images_from_skps.cpp File tools/get_images_from_skps.cpp (right): https://codereview.chromium.org/1696763002/diff/40001/tools/get_images_from_skps.cpp#newcode98 tools/get_images_from_skps.cpp:98: gFailureCtr++; I guess "number of failures" is ambiguous - ...
4 years, 10 months ago (2016-02-12 21:53:27 UTC) #11
msarett
Hmmm yeah. I think I'll break up successes into "known" and "unknown" images.
4 years, 10 months ago (2016-02-12 22:09:48 UTC) #12
msarett
Now keeps track of recognized and unrecognized images.
4 years, 10 months ago (2016-02-12 22:19:54 UTC) #13
scroggo
lgtm
4 years, 10 months ago (2016-02-12 22:21:03 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1696763002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1696763002/60001
4 years, 10 months ago (2016-02-12 22:21:44 UTC) #16
commit-bot: I haz the power
4 years, 10 months ago (2016-02-12 22:47:12 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://skia.googlesource.com/skia/+/3478f753ffc28a6f0f0877cc06be7373f960c527

Powered by Google App Engine
This is Rietveld 408576698