DescriptionImplementing filling for SkBmpCodec
The bmp codec currently returns kIncompleteInput
when the stream is truncated, which we treat as a
partial success. However, we neglect the fill the
remaining pixels in the image, leaving these
uninitialized.
This CL addresses this problem by initializing the
remaining pixels in the image to default values.
BUG=skia:3257
Committed: https://skia.googlesource.com/skia/+/3c309db75bb8c4c2b58724a0e2f6f3b387ca842c
Patch Set 1 #
Total comments: 4
Patch Set 2 : Redesign of Fill() #
Total comments: 4
Patch Set 3 : Sharing code in static helper #
Messages
Total messages: 16 (9 generated)
|