DescriptionCall notifyPixelsChanged after modifying bitmap
In CodecSrc's scanline_subset test, we decode a subset of an image to a
bitmap, draw it to the canvas, and then repeat. This is fine for most
backends, but not for pipe. Pipe sees the same generation ID, so it
assumes it is the same bitmap it saw before, and just draws the
original one.
Call notifyPixelsChanged, so the bitmap will get a new generation ID,
fixing pipe.
BUG=skia:4138
Committed: https://skia.googlesource.com/skia/+/4358f13ac614d572c137e95748c6dc2ca0d66784
Patch Set 1 #
Depends on Patchset: Messages
Total messages: 6 (2 generated)
|