a6161b1746
Bug: oss-fuzz:11039 Previously, RLE BMPs were not initialized when they were incomplete, with the thinking that they were fully initialized at the start of decoding. While this is true during full decodes (onGetPixels), it is not true of scanline decodes where we may start with a failing skip. Remove incorrect comment about creating a sampler in SkBmpRLECodec. Instead create the sampler when appropriate. Rather than make it implement its own version of SkSampler::fill, which would look like the other implementations, add a new virtual method to determine the width and leave the common implementation to the caller. Simplify SkCodec::fillIncompleteImage, which always does basically the same thing. Change-Id: I885ebb7a0fe5add2a4f59bce57d07d98e4dc1bdb Reviewed-on: https://skia-review.googlesource.com/c/163484 Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Leon Scroggins <scroggo@google.com> |
||
---|---|---|
.. | ||
android | ||
atlastext | ||
c | ||
codec | ||
compute | ||
core | ||
effects | ||
fonts | ||
gpu | ||
image | ||
images | ||
jumper | ||
lazy | ||
opts | ||
pathops | ||
ports | ||
sfnt | ||
shaders | ||
sksl | ||
svg | ||
utils | ||
xml | ||
xps |