Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Issue 1969193002: SkPictureImageFilter - clear local canvas before use (Closed)

Created:
4 years, 7 months ago by ericrk
Modified:
4 years, 7 months ago
CC:
reviews_skia.org
Base URL:
https://chromium.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

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 Committed: https://skia.googlesource.com/skia/+/a31312cddd51c896b34c5c3382bcf6c50632d70b

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M src/effects/SkPictureImageFilter.cpp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
ericrk
4 years, 7 months ago (2016-05-11 22:22:44 UTC) #3
reed1
Interesting. I thought all of our surface factories were already defined to return zero'd buffers. ...
4 years, 7 months ago (2016-05-11 23:01:31 UTC) #5
robertphillips
On 2016/05/11 23:01:31, reed1 wrote: > Interesting. I thought all of our surface factories were ...
4 years, 7 months ago (2016-05-12 12:05:08 UTC) #6
robertphillips
lgtm. In https://codereview.chromium.org/1972213002/ (Fix bug & add code to catch ImageFilter clearing bugs) I've updated ...
4 years, 7 months ago (2016-05-12 15:24:24 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1969193002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1969193002/1
4 years, 7 months ago (2016-05-12 15:24:53 UTC) #9
Stephen White
Good catch! LGTM
4 years, 7 months ago (2016-05-12 15:25:35 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-12 15:43:22 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1969193002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1969193002/1
4 years, 7 months ago (2016-05-12 16:05:50 UTC) #14
commit-bot: I haz the power
4 years, 7 months ago (2016-05-12 16:06:47 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/a31312cddd51c896b34c5c3382bcf6c50632d70b

Powered by Google App Engine
This is Rietveld 408576698