aboutsummaryrefslogtreecommitdiff
path: root/gm/mixedtextblobs.cpp
diff options
context:
space:
mode:
authorericrk <ericrk@chromium.org>2016-05-12 09:06:44 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-12 09:06:44 -0700
commita31312cddd51c896b34c5c3382bcf6c50632d70b (patch)
treebd8b9ea677760daaf73c24820c5323c823e8389d /gm/mixedtextblobs.cpp
parent97fc9308e31bf03799725f998841212cd6231cdd (diff)
SkPictureImageFilter - clear local canvas before use
In SkPictureImageFilter::onFilterImage, we may create two new surfaces, one for our final output, and one for a local resolution intermediate. We clear the final output surface before use, removing any previous content, however we do not do the same for the local surface. This can lead to content being incorrectly layered on top of previous content when we go down this path. This change adds logic to clear the local surface as well. BUG=610667 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1969193002 Review-Url: https://codereview.chromium.org/1969193002
Diffstat (limited to 'gm/mixedtextblobs.cpp')
0 files changed, 0 insertions, 0 deletions