DescriptionAdd alphaType() to SkImage
Keep isOpaque as a convenience method -- many places really only need to
know that for optimization purposes (SrcOver -> Src, etc...).
In all the places where we pull data back out or convert to another
object and need to supply an SkImageInfo, we can avoid losing information
about premulness.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2250663002
Committed: https://skia.googlesource.com/skia/+/69c166d2ce3f4d2099f35f8e88f1aa56ceeaf960
Patch Set 1 #
Total comments: 4
Patch Set 2 : Test unpremul raster surface snapping #
Total comments: 1
Patch Set 3 : Rebase #Patch Set 4 : Rebase #Patch Set 5 : Remove virtuals from SkImage, slight cleanup #
Dependent Patchsets: Messages
Total messages: 22 (13 generated)
|