DescriptionFix SkClipStack bug with inverse-filled difference elements
Previously, SkClipStack would call "setEmpty" on itself when an
inverse-filled difference element made the stack empty. This was
a problem because setEmpty would forget the element had an inverse
fill, yet leave the op as "difference". This change modifies it to
manually update the clip bounds and set the gen-ID to kEmptyGenID,
rather than calling setEmpty.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2175493002
Committed: https://skia.googlesource.com/skia/+/d50e2401787dc5632453293b65f8255b12450b9b
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 9 (5 generated)
|