Descriptionoptimization/fix: dirty the clip-bounds when we mod the clip in savelayer
Before the fix, we could use a stale cache of the clipbounds in quickReject. Often this could return false negatives, meaning we would try to draw more than we should (it would eventually be really clipped). Occasionally this could also report false positives (if the layer were outside of the normal canvas bounds, e.g. a layer with an offset imagefilter).
BUG=skia:
NOTREECHECKS=True
Committed: https://skia.googlesource.com/skia/+/9b3aa54bc9605257c701cf465813f5fb1d7ba39e
Patch Set 1 #
Total comments: 1
Patch Set 2 : fix ws nit #
Messages
Total messages: 10 (4 generated)
|