moz-skia/tools/skpdiff
commit-bot@chromium.org 8a2ad3cae7 add new copyTo version to SkBitmap, which takes SkColorType
BUG=skia:
R=scroggo@google.com, halcanary@google.com, bsalomon@google.com

Author: reed@google.com

Review URL: https://codereview.chromium.org/171723007

git-svn-id: http://skia.googlecode.com/svn/trunk@13553 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-02-23 03:59:35 +00:00
..
README move skpdiff into tools 2013-07-22 18:46:45 +00:00
SkCLImageDiffer.cpp fix multithread related crashes in skpdiff 2013-11-12 18:29:17 +00:00
SkCLImageDiffer.h fix multithread related crashes in skpdiff 2013-11-12 18:29:17 +00:00
SkDiffContext.cpp add new copyTo version to SkBitmap, which takes SkColorType 2014-02-23 03:59:35 +00:00
SkDiffContext.h Remove mutex around image decoding in skpdiff. 2013-11-21 15:22:18 +00:00
SkDifferentPixelsMetric.h fix multithread related crashes in skpdiff 2013-11-12 18:29:17 +00:00
SkDifferentPixelsMetric_cpu.cpp fix multithread related crashes in skpdiff 2013-11-12 18:29:17 +00:00
SkDifferentPixelsMetric_opencl.cpp fix multithread related crashes in skpdiff 2013-11-12 18:29:17 +00:00
SkImageDiffer.cpp Remove unnecessary includes. 2013-11-18 17:27:16 +00:00
SkImageDiffer.h fix multithread related crashes in skpdiff 2013-11-12 18:29:17 +00:00
SkPMetric.cpp add new copyTo version to SkBitmap, which takes SkColorType 2014-02-23 03:59:35 +00:00
SkPMetric.h fix multithread related crashes in skpdiff 2013-11-12 18:29:17 +00:00
SkPMetricUtil_generated.h move skpdiff into tools 2013-07-22 18:46:45 +00:00
diff_viewer.js The default size of mask canvas is not appropriate. its height is too small: 150, while its width is 300. As a result, for non-alphaMask canvas who doesn't update the mask canvas size, this tool just magnify the upper part of 'Expected Image' as well as 'Actual Image' when user open view.html to show skpdiff_output.json in browser for many cases. The other part can't be shown because it is out of the mask canvas. This CL update non-alphaMask canvas size according to baseline canvas for each case, then the tool can magnify anywhere you want for the whole image when you click and move mouse on the mask canvas. 2013-12-12 14:55:45 +00:00
generate_pmetric_tables.py move skpdiff into tools 2013-07-22 18:46:45 +00:00
skpdiff_main.cpp update skpdiff visualization (image magnification with alpha mask) 2013-11-07 19:24:06 +00:00
skpdiff_server.py fix path issues on mac and win for skpdiff_server.py 2013-08-14 19:20:35 +00:00
skpdiff_util.cpp Start cleaning up 64bit Win warnings 2013-10-14 21:53:24 +00:00
skpdiff_util.h fix skpdiff viewer bug when using relative paths 2013-08-02 15:54:30 +00:00
viewer.html update skpdiff visualization (image magnification with alpha mask) 2013-11-07 19:24:06 +00:00
viewer_style.css Update skpdiff to include a name with each file. 2013-10-16 15:00:11 +00:00

README

Some example invocations:

Note how the asterisks are not expanded inside the shell because of the quotes

out/Debug/skpdiff -p \
                  "/usr/local/google/home/zachr/Downloads/gm/*_8888.png" \
                  "/usr/local/google/home/zachr/Downloads/gm/*_gpu.png"


out/Debug/skpdiff --differs different_pixels -f \
                  "/usr/local/google/home/zachr/Downloads/diffs/baseline" \
                  "/usr/local/google/home/zachr/Downloads/diffs/test"