aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/rebaseline_server/results.py
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-11 13:30:33 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-11 13:30:33 +0000
commit589bd3da3403e305af802d412d14213f64478b2d (patch)
tree9bd995c91958e9fcd4f2d6cb155cc5aede6e4b63 /gm/rebaseline_server/results.py
parentaf34eb9b747ad1fa1d927103c54042a053960dc8 (diff)
Revert of Add the perceptual difference metric to the rebaseline server (https://codereview.chromium.org/147453003/)
Reason for revert: Caused failure in RunGmSelfTests: http://108.170.219.160:10117/builders/Housekeeper-PerCommit/builds/154/steps/RunGmSelfTests/logs/stdio Filed: https://code.google.com/p/skia/issues/detail?id=2160 Original issue's description: > Add the perceptual difference metric to the rebaseline server > > * Finds the location of the skpdiff binary. > * Calculates the perceptual difference percentage using the skpdiff binary. > * Replaces the weightedDiffMeasure in view.html with perceptualDifferent. > > BUG=skia:2019 > NOTRY=true > > Committed: http://code.google.com/p/skia/source/detail?r=13398 R=epoger@google.com TBR=epoger@google.com NOTREECHECKS=true NOTRY=true BUG=skia:2019 Author: rmistry@google.com Review URL: https://codereview.chromium.org/131453017 git-svn-id: http://skia.googlecode.com/svn/trunk@13399 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/rebaseline_server/results.py')
-rwxr-xr-xgm/rebaseline_server/results.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/gm/rebaseline_server/results.py b/gm/rebaseline_server/results.py
index 3b57bc1e20..fff0a941e8 100755
--- a/gm/rebaseline_server/results.py
+++ b/gm/rebaseline_server/results.py
@@ -432,7 +432,6 @@ class Results(object):
results_for_this_test['numDifferingPixels'] = 0
results_for_this_test['percentDifferingPixels'] = 0
results_for_this_test['weightedDiffMeasure'] = 0
- results_for_this_test['perceptualDifference'] = 0
results_for_this_test['maxDiffPerChannel'] = 0
else:
try:
@@ -445,8 +444,6 @@ class Results(object):
diff_record.get_percent_pixels_differing())
results_for_this_test['weightedDiffMeasure'] = (
diff_record.get_weighted_diff_measure())
- results_for_this_test['perceptualDifference'] = (
- diff_record.get_perceptual_difference())
results_for_this_test['maxDiffPerChannel'] = (
diff_record.get_max_diff_per_channel())
except KeyError: