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

Issue 325413003: rebaseline_server: use just skpdiff, not Python Image Library (Closed)

Created:
6 years, 6 months ago by epoger
Modified:
6 years, 5 months ago
Reviewers:
borenet, djsollen
CC:
reviews_skia.org, rmistry, mtklein
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

rebaseline_server: use just skpdiff, not Python Image Library BUG=skia:2414 Committed: https://skia.googlesource.com/skia/+/54f1ad8bb5bdd2ac2ea7981427abeb193383d449

Patch Set 1 #

Total comments: 22

Patch Set 2 : modifying comments only, some small code cleanup to follow #

Patch Set 3 : delete unused code #

Patch Set 4 : delete _find_single_file_in_dir #

Patch Set 5 : add TODO to remove whiteDiffBitmap asap #

Total comments: 10

Patch Set 6 : incorporating suggestions #

Total comments: 6

Patch Set 7 : little fixes #

Patch Set 8 : rebase #

Patch Set 9 : fix pylint errors #

Total comments: 4

Patch Set 10 : attribute TODOs #

Patch Set 11 : attempt to fix "'abs' : ambiguous call to overloaded function" on Windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+351 lines, -228 lines) Patch
M gm/rebaseline_server/imagediffdb.py View 1 2 3 4 5 6 7 8 6 chunks +73 lines, -154 lines 0 comments Download
M gm/rebaseline_server/imagepair_test.py View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -2 lines 0 comments Download
M gm/rebaseline_server/imagepairset.py View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
M gm/rebaseline_server/testdata/outputs/expected/compare_configs_test.CompareConfigsTest.test_gm/gm.json View 5 chunks +5 lines, -5 lines 0 comments Download
M gm/rebaseline_server/testdata/outputs/expected/compare_to_expectations_test.CompareToExpectationsTest.test_gm/gm.json View 6 chunks +4 lines, -24 lines 0 comments Download
M tools/skpdiff/SkDiffContext.h View 1 2 3 4 5 6 7 8 9 4 chunks +44 lines, -5 lines 0 comments Download
M tools/skpdiff/SkDiffContext.cpp View 1 2 3 4 5 6 7 8 9 7 chunks +99 lines, -17 lines 0 comments Download
M tools/skpdiff/SkDifferentPixelsMetric.h View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M tools/skpdiff/SkDifferentPixelsMetric_cpu.cpp View 1 2 3 4 5 6 7 8 9 10 3 chunks +62 lines, -8 lines 0 comments Download
M tools/skpdiff/SkDifferentPixelsMetric_opencl.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M tools/skpdiff/SkImageDiffer.h View 1 2 3 4 5 6 7 8 9 2 chunks +22 lines, -2 lines 0 comments Download
M tools/skpdiff/SkPMetric.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M tools/skpdiff/SkPMetric.cpp View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M tools/skpdiff/skpdiff_main.cpp View 1 2 3 4 5 6 7 8 9 3 chunks +29 lines, -4 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
epoger
https://codereview.chromium.org/325413003/diff/1/gm/rebaseline_server/imagediffdb.py File gm/rebaseline_server/imagediffdb.py (right): https://codereview.chromium.org/325413003/diff/1/gm/rebaseline_server/imagediffdb.py#newcode1 gm/rebaseline_server/imagediffdb.py:1: #!/usr/bin/python Toplevel comments: This CL is not ready for ...
6 years, 6 months ago (2014-06-12 07:02:07 UTC) #1
jcgregorio
On 2014/06/12 07:02:07, epoger wrote: > https://codereview.chromium.org/325413003/diff/1/gm/rebaseline_server/imagediffdb.py > File gm/rebaseline_server/imagediffdb.py (right): > > https://codereview.chromium.org/325413003/diff/1/gm/rebaseline_server/imagediffdb.py#newcode1 > ...
6 years, 6 months ago (2014-06-12 12:58:00 UTC) #2
djsollen
https://codereview.chromium.org/325413003/diff/1/gm/rebaseline_server/imagediffdb.py File gm/rebaseline_server/imagediffdb.py (right): https://codereview.chromium.org/325413003/diff/1/gm/rebaseline_server/imagediffdb.py#newcode1 gm/rebaseline_server/imagediffdb.py:1: #!/usr/bin/python On 2014/06/12 07:02:07, epoger wrote: > Toplevel comments: ...
6 years, 6 months ago (2014-06-12 13:27:00 UTC) #3
mtklein
> Before this CL, rebaseline_server uses two subsystems to generate diffs: > 1. Python Image ...
6 years, 6 months ago (2014-06-12 13:42:00 UTC) #4
epoger
Thanks, all! I'll come pester you for followup discussion shortly. https://codereview.chromium.org/325413003/diff/1/gm/rebaseline_server/imagediffdb.py File gm/rebaseline_server/imagediffdb.py (right): https://codereview.chromium.org/325413003/diff/1/gm/rebaseline_server/imagediffdb.py#newcode1 ...
6 years, 6 months ago (2014-06-12 14:02:35 UTC) #5
epoger
Summary of live discussions with mtklein/djsollen: I'm going to clean this up, and get it ...
6 years, 6 months ago (2014-06-12 14:39:41 UTC) #6
epoger
Derek (and anyone else)- ready for line-by-line review at patchset 5. To see behavior before ...
6 years, 6 months ago (2014-06-12 16:48:14 UTC) #7
epoger
Eric- can you please review the Python bits? Derek is reviewing the native code.
6 years, 6 months ago (2014-06-12 19:03:33 UTC) #8
djsollen
https://codereview.chromium.org/325413003/diff/100001/tools/skpdiff/SkDiffContext.h File tools/skpdiff/SkDiffContext.h (right): https://codereview.chromium.org/325413003/diff/100001/tools/skpdiff/SkDiffContext.h#newcode152 tools/skpdiff/SkDiffContext.h:152: int fWidth; SkSize instead of 2 fields? https://codereview.chromium.org/325413003/diff/100001/tools/skpdiff/SkDiffContext.h#newcode154 tools/skpdiff/SkDiffContext.h:154: ...
6 years, 6 months ago (2014-06-12 19:11:16 UTC) #9
borenet
Python code looks fine to me. https://codereview.chromium.org/325413003/diff/100001/gm/rebaseline_server/imagediffdb.py File gm/rebaseline_server/imagediffdb.py (right): https://codereview.chromium.org/325413003/diff/100001/gm/rebaseline_server/imagediffdb.py#newcode137 gm/rebaseline_server/imagediffdb.py:137: record['maxRedDiff'], record['maxGreenDiff'], record['maxBlueDiff']] ...
6 years, 6 months ago (2014-06-12 19:19:04 UTC) #10
epoger
Thanks, guys. Please see patchset 6. https://codereview.chromium.org/325413003/diff/100001/gm/rebaseline_server/imagediffdb.py File gm/rebaseline_server/imagediffdb.py (right): https://codereview.chromium.org/325413003/diff/100001/gm/rebaseline_server/imagediffdb.py#newcode137 gm/rebaseline_server/imagediffdb.py:137: record['maxRedDiff'], record['maxGreenDiff'], record['maxBlueDiff']] ...
6 years, 6 months ago (2014-06-12 20:04:58 UTC) #11
djsollen
https://codereview.chromium.org/325413003/diff/120001/tools/skpdiff/SkDiffContext.h File tools/skpdiff/SkDiffContext.h (right): https://codereview.chromium.org/325413003/diff/120001/tools/skpdiff/SkDiffContext.h#newcode155 tools/skpdiff/SkDiffContext.h:155: SkSize fSize; SkISize? https://codereview.chromium.org/325413003/diff/120001/tools/skpdiff/SkDifferentPixelsMetric.h File tools/skpdiff/SkDifferentPixelsMetric.h (right): https://codereview.chromium.org/325413003/diff/120001/tools/skpdiff/SkDifferentPixelsMetric.h#newcode32 tools/skpdiff/SkDifferentPixelsMetric.h:32: ...
6 years, 6 months ago (2014-06-12 20:11:08 UTC) #12
epoger
https://codereview.chromium.org/325413003/diff/120001/tools/skpdiff/SkDiffContext.h File tools/skpdiff/SkDiffContext.h (right): https://codereview.chromium.org/325413003/diff/120001/tools/skpdiff/SkDiffContext.h#newcode155 tools/skpdiff/SkDiffContext.h:155: SkSize fSize; On 2014/06/12 20:11:07, djsollen wrote: > SkISize? ...
6 years, 6 months ago (2014-06-12 20:18:57 UTC) #13
epoger
Hey, Derek- Do you think this is commitable? I'd like to commit it soon if ...
6 years, 6 months ago (2014-06-17 10:16:03 UTC) #14
epoger
Patchset 8 rebases to current tip of tree (since it's been 2 weeks since I ...
6 years, 5 months ago (2014-07-01 16:51:56 UTC) #15
epoger
Eric/Mike/Ravi- I'd like to go ahead and commit this. I think it passed Derek's muster, ...
6 years, 5 months ago (2014-07-01 17:03:36 UTC) #16
borenet
Python still LGTM. The rest of it seems fine to me as well, but I'm ...
6 years, 5 months ago (2014-07-01 17:17:22 UTC) #17
epoger
On 2014/07/01 17:17:22, borenet wrote: > Python still LGTM. The rest of it seems fine ...
6 years, 5 months ago (2014-07-01 17:56:59 UTC) #18
epoger
The CQ bit was checked by epoger@google.com
6 years, 5 months ago (2014-07-02 13:37:55 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/epoger@google.com/325413003/200001
6 years, 5 months ago (2014-07-02 13:38:24 UTC) #20
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: Build-Win7-VS2010-x86-Debug-Trybot on tryserver.skia ...
6 years, 5 months ago (2014-07-02 13:51:24 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-02 13:57:57 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win7-VS2010-x86-Debug-Trybot on tryserver.skia (http://108.170.220.76:10117/builders/Build-Win7-VS2010-x86-Debug-Trybot/builds/635)
6 years, 5 months ago (2014-07-02 13:57:58 UTC) #23
epoger
The CQ bit was checked by epoger@google.com
6 years, 5 months ago (2014-07-02 14:29:35 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/epoger@google.com/325413003/220001
6 years, 5 months ago (2014-07-02 14:30:37 UTC) #25
commit-bot: I haz the power
6 years, 5 months ago (2014-07-02 14:43:08 UTC) #26
Message was sent while issue was closed.
Change committed as 54f1ad8bb5bdd2ac2ea7981427abeb193383d449

Powered by Google App Engine
This is Rietveld 408576698