DescriptionRemove kImageIsImmutable_Flag.
This flag was only used when setting or checking SkBitmap's
immutability when it did not have an SkPixelRef. Now that an
SkBitmap *must* have one in order to draw (e.g. you can no
longer have an SkBitmap that owns its pixels directly), its
immutabity without an SkPixelRef makes no sense.
Also, now that the flags are not contiguous starting from
0x01, use a more appropriate check to ensure only meaningful
flags are used.
Committed: https://skia.googlesource.com/skia/+/0847059fcffe11d53d4ea803ba2d51c696eb6d07
Patch Set 1 #
Total comments: 2
Patch Set 2 : Rebase + better validation for Flags. #
Messages
Total messages: 8 (0 generated)
|