GM: run mode comparisons for all raster configs.
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 13 Jan 2014 18:27:59 +0000 (18:27 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 13 Jan 2014 18:27:59 +0000 (18:27 +0000)
commit85195486939b19a88b25b3ba0a1ad6640980fb5a
tree545921f087f16867e5e3532f8c3cecf9aeec767d
parentcd9175eddb3e944396b4522b98453e55761a5b6e
GM: run mode comparisons for all raster configs.

GM works like this today:
  - Test all enabled configs directly
  - Render into 8888
  - Test all enabled modes against that 8888.

This change makes it do this:
  - Test all enabled configs directly
    - for each config, if it's raster, test all enabled modes against its output.

Upshot is, we now check that picture draws identically to raster for 565 too, not just 8888.  optimizations-565 is correctly failing.

BUG=skia:1994
R=epoger@google.com, reed@google.com

Author: mtklein@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@13050 2bbb7eff-a529-9590-31e7-b0007b416f81
21 files changed:
gm/gmmain.cpp
gm/tests/outputs/add-config-pdf/output-expected/stdout
gm/tests/outputs/checksum-based-filenames/output-expected/stdout
gm/tests/outputs/compared-against-different-pixels-images/output-expected/stdout
gm/tests/outputs/compared-against-different-pixels-json/output-expected/stdout
gm/tests/outputs/compared-against-empty-dir/output-expected/stdout
gm/tests/outputs/compared-against-identical-bytes-images/output-expected/stdout
gm/tests/outputs/compared-against-identical-bytes-json/output-expected/stdout
gm/tests/outputs/compared-against-identical-pixels-images/output-expected/stdout
gm/tests/outputs/compared-against-identical-pixels-json/output-expected/stdout
gm/tests/outputs/ignore-expectations-mismatch/output-expected/stdout
gm/tests/outputs/ignoring-one-test/output-expected/stdout
gm/tests/outputs/ignoring-some-failures/output-expected/stdout
gm/tests/outputs/intentionally-skipped-tests/output-expected/stdout
gm/tests/outputs/no-hierarchy/output-expected/stdout
gm/tests/outputs/no-readpath/output-expected/stdout
gm/tests/outputs/pipe-playback-failure/output-expected/json-summary.txt
gm/tests/outputs/pipe-playback-failure/output-expected/mismatchPath/565/selftest1-pipe.png [new file with mode: 0644]
gm/tests/outputs/pipe-playback-failure/output-expected/mismatchPath/8888/selftest1-pipe.png [new file with mode: 0644]
gm/tests/outputs/pipe-playback-failure/output-expected/stderr
gm/tests/outputs/pipe-playback-failure/output-expected/stdout