Use opaque black not transparent black as imagefilter GM background.
authorsenorblanco <senorblanco@chromium.org>
Wed, 8 Apr 2015 19:36:08 +0000 (12:36 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 8 Apr 2015 19:36:08 +0000 (12:36 -0700)
commitaad8b27ec6ff93b64f458be78a3eff7e91b10e15
tree84a3724387dd70b0a1927920b2f5a70367c8ca3d
parenta0219f15651a781e7cb8621189d5c2aa8d56da71
Use opaque black not transparent black as imagefilter GM background.

For some reason, GM's are now being composited against white
in some modes, where the alpha used to be ignored (or composited
against black, I'm not sure which). At any rate, it doesn't
make much sense to have alpha in the result anyway, so let's clear to
opaque black instead of transparent black and avoid the problem.

This is a trial balloon for bitmapsource and pictureimagefilter.
If all goes well, I'll make this change more widely.

R=scroggo
BUG=skia:3319

Review URL: https://codereview.chromium.org/1074513002
gm/bitmapsource.cpp
gm/pictureimagefilter.cpp