Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(242)

Issue 7241064: gm: report max-pixel-error if comparing against PNG files (not checksums) (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by epoger
Modified:
11 years, 6 months ago
Reviewers:
EricB, bsalomon
CC:
skia-review_googlegroups.com, reed1
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

gm: report max-pixel-error if comparing against PNG files (not checksums) Committed: https://code.google.com/p/skia/source/detail?r=7526

Patch Set 1 #

Total comments: 2

Patch Set 2 : add_differing_pixel_count #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -11 lines) Patch
M gm/gm_expectations.h View 5 chunks +17 lines, -6 lines 0 comments Download
M gm/gmmain.cpp View 1 6 chunks +74 lines, -5 lines 0 comments Download

Messages

Total messages: 4
epoger
Eric- please review the code Mike and Brian- please let me know if the output ...
11 years, 6 months ago (2013-02-01 17:46:06 UTC) #1
EricB
LGTM assuming the output format is acceptable.
11 years, 6 months ago (2013-02-01 18:02:20 UTC) #2
bsalomon
A count (or actually prolly a %) of the pixels that differed would be nice. ...
11 years, 6 months ago (2013-02-01 18:27:21 UTC) #3
epoger
11 years, 6 months ago (2013-02-01 20:40:38 UTC) #4
Message was sent while issue was closed.
On 2013/02/01 18:27:21, bsalomon wrote:
> A count (or actually prolly a %) of the pixels that differed would be nice.
> 
> Otherwise lgtm.

Thanks for the idea.  Here's what it looks like now... if anyone wants to adjust
the output, please feel free!

$ out/Debug/gm --hierarchy --match dashing2 --config 8888 --config 565 -r
gm/tests/inputs/different-pixels
Non-default runtime configuration options:
reading from gm/tests/inputs/different-pixels
drawing... dashing2 [640 480]
---- 8888/dashing2: 41051 (of 307200) differing pixels, max per-channel mismatch
R=255 G=255 B=255 A=0
---- 565/dashing2: not computing max per-channel pixel mismatch because non-8888
Ran 1 tests: 0 passed, 1 failed, 0 missing reference images
		8888/dashing2 pixel_error
		565/dashing2 pixel_error
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b