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

Issue 21715002: Refactor gmmain to separate out config parsing (Closed)

Created:
7 years, 4 months ago by ducky
Modified:
7 years, 4 months ago
CC:
skia-review_googlegroups.com, borenet
Visibility:
Public.

Description

Refactor gmmain to separate out config parsing Committed: http://code.google.com/p/skia/source/detail?r=10703

Patch Set 1 #

Patch Set 2 : Fix "--config ~" semantics, remove PDF rasterization stuff #

Total comments: 19

Patch Set 3 : Change parse ordering to reflect original #

Patch Set 4 : Add parse_resource_path() #

Patch Set 5 : Moved more things into helper functions #

Patch Set 6 : Fix Mac build #

Patch Set 7 : Simplify printing, make bad JPEG quality settings fail #

Total comments: 1

Patch Set 8 : Separate modulo vars #

Patch Set 9 : Fix NoGPU builds #

Patch Set 10 : Fix NoGPU builds, take 2 #

Patch Set 11 : Minor cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -137 lines) Patch
M gm/gmmain.cpp View 1 2 3 4 5 6 7 8 9 10 6 chunks +179 lines, -137 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
ducky
This refactors tool_main in gmmain.cpp to separate out the config parsing into helper functions. This ...
7 years, 4 months ago (2013-08-02 03:59:04 UTC) #1
edisonn
https://codereview.chromium.org/21715002/diff/2001/gm/gmmain.cpp File gm/gmmain.cpp (right): https://codereview.chromium.org/21715002/diff/2001/gm/gmmain.cpp#newcode1770 gm/gmmain.cpp:1770: bool parse_flags_configs(SkTDArray<size_t>* outConfigs, static https://codereview.chromium.org/21715002/diff/2001/gm/gmmain.cpp#newcode1866 gm/gmmain.cpp:1866: (i == outConfigs->count() ...
7 years, 4 months ago (2013-08-02 12:32:41 UTC) #2
ducky
Review comments fixed. https://codereview.chromium.org/21715002/diff/2001/gm/gmmain.cpp File gm/gmmain.cpp (right): https://codereview.chromium.org/21715002/diff/2001/gm/gmmain.cpp#newcode1770 gm/gmmain.cpp:1770: bool parse_flags_configs(SkTDArray<size_t>* outConfigs, On 2013/08/02 12:32:41, ...
7 years, 4 months ago (2013-08-02 18:14:38 UTC) #3
vandebo (ex-Chrome)
LGTM https://codereview.chromium.org/21715002/diff/16001/gm/gmmain.cpp File gm/gmmain.cpp (right): https://codereview.chromium.org/21715002/diff/16001/gm/gmmain.cpp#newcode2012 gm/gmmain.cpp:2012: int moduloRemainder = -1, moduloDivisor = -1; nit: ...
7 years, 4 months ago (2013-08-07 17:29:48 UTC) #4
ducky
Fixes the modulo vars; additionally some more significant changes to un-break the NoGPU builds
7 years, 4 months ago (2013-08-12 22:01:30 UTC) #5
vandebo (ex-Chrome)
LGTM
7 years, 4 months ago (2013-08-13 17:50:32 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/richardlin@chromium.org/21715002/37002
7 years, 4 months ago (2013-08-13 20:13:01 UTC) #7
commit-bot: I haz the power
Change committed as 10703
7 years, 4 months ago (2013-08-14 11:36:18 UTC) #8
scroggo
7 years, 4 months ago (2013-08-14 14:11:22 UTC) #9
Message was sent while issue was closed.
Change was reverted with https://code.google.com/p/skia/source/detail?r=10708.
Please fix the problems and resubmit.

Powered by Google App Engine
This is Rietveld 408576698