skia2/dm
scroggo ba5848953e Finish supporting decoding opaque to non-opaque
When decoding to 565 or Gray, allow the client to incorrectly ask for premul.

When checking whether it's possible to decode to 565, return whether the
source is opaque.

In DM, allow decoding to 565 or Gray, even if the client also asked for premul.

This fixes a bug introduced in crrev.com/1999593003 when we stopped ever
requesting Opaque, resulting in us not testing 565 or Gray.

BUG=skia:4616
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=1996993003

Review-Url: https://codereview.chromium.org/1996993003
2016-05-20 13:56:13 -07:00
..
DM.cpp Only decode opaque to premul in DM image 2016-05-20 11:08:27 -07:00
DMGpuSupport.h Rename lots of things from 'sRGB' to 'GammaCorrect', where appropriate 2016-04-13 13:10:14 -07:00
DMJsonWriter.cpp Revert of SK_DECLARE_STATIC_MUTEX -> static SkMutex (patchset #1 id:1 of https://codereview.chromium.org/1948193002/ ) 2016-05-04 17:12:46 -07:00
DMJsonWriter.h Add gamma_correct option field to dm.json 2016-02-29 07:38:01 -08:00
DMSrcSink.cpp Finish supporting decoding opaque to non-opaque 2016-05-20 13:56:13 -07:00
DMSrcSink.h Delete SkBitmapRegionCanvas 2016-05-18 06:23:57 -07:00
DMSrcSinkAndroid.cpp Simplify linkages to Android framework internals 2015-10-26 07:21:32 -07:00
DMSrcSinkAndroid.h DM: this must have been missing from the previous CL 2016-02-08 14:30:25 -08:00