Add a GM that reproduces layout test failures with my new xfermode code.
authormtklein <mtklein@chromium.org>
Mon, 13 Jul 2015 19:06:33 +0000 (12:06 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 13 Jul 2015 19:06:33 +0000 (12:06 -0700)
commite20633ed26d211e8d2b4b407c7e968944c7e60bb
tree130677b72aa8f0cb13afc7f258e159cf69d1f9fb
parentcd8c499f2e5126a8b5edee09d0debd8d298210fd
Add a GM that reproduces layout test failures with my new xfermode code.

Inspired by https://storage.googleapis.com/chromium-layout-test-archives/linux_blink_rel/69169/layout-test-results/results.html

I think the root cause is overflow.

Also, adds tests for Sk16b::operator<().  It wasn't wrong, but it was suspect
(used in all three of these xfermode implementations) and so it's best to have
tests.

BUG=skia:

Review URL: https://codereview.chromium.org/1228393006
gm/buggy_blend_modes.cpp [new file with mode: 0644]
tests/SkNxTest.cpp