DescriptionAdd option to skip rects to drawImageLattice()
HWUI skips transparent rects when drawing.
When skia draws using bilerp, we will blend
transparent rects with neighboring rects and might
draw a bit of a smudge.
This CL adds the option to skip rects, allowing us
to have compatible behavior with the framework.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2305433002
Committed: https://skia.googlesource.com/skia/+/0764efe6a9ae65ad83992f614f57ca9db5b1f191
Patch Set 1 #Patch Set 2 : Fix fNumRects to be accurate #Patch Set 3 : numRectsToDraw() #
Total comments: 2
Patch Set 4 : Do not store fFlagCount in lattice struct #
Total comments: 1
Patch Set 5 : Simpler #Patch Set 6 : Better detection for zero divs #
Depends on Patchset: Messages
Total messages: 30 (23 generated)
|