DescriptionAdjust the alpha type for pixelRefs.
Move SkBitmap's validate_alphaType to SkImageInfo, with the new
name SkColorTypeValidateAlphaType. Use it in SkPixelRef's constructors,
as well as in SkDecodingImageGenerator. This fixes a bug where an
SkPixelRef's SkAlphaType could get out of sync with its SkBitmap,
when both were assigned the same SkAlphaType.
Committed: https://skia.googlesource.com/skia/+/2fd0d14b9be34a7a945942733c3516d97d07f516
Patch Set 1 #
Total comments: 4
Patch Set 2 : Rename SkValidateAlphaType to SkColorTypeValidateAlphaType. #Patch Set 3 : Fix alignment. #
Messages
Total messages: 9 (0 generated)
|