DescriptionFix uninitialized memory on kIndex8 divisor tests in Gold
Turns out bitmap.eraseColor() does nothing if the bitmap
is kIndex8. We need a more reliable way to initialize
all of the pixels that we look at in Gold.
The input SkCanvas* is always zero initialized, so let's
only draw pixels to the canvas if we have initialized them.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/fa23a9ec4e7540f4e6222f6efadd29c1e711178f
Patch Set 1 #
Depends on Patchset: Messages
Total messages: 8 (3 generated)
|