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

Issue 306733003: Implement SkPictureImageFilter bounds computation. (Closed)

Created:
6 years, 6 months ago by Stephen White
Modified:
6 years, 6 months ago
Reviewers:
reed1
CC:
skia-review_googlegroups.com, sugoi1
Visibility:
Public.

Description

Implement SkPictureImageFilter bounds computation. SkPictureImageFilter::onFilterBounds() was unimplemented, causing incorrect results for SVG filters and impl-side painting (see Chrome bug https://code.google.com/p/chromium/issues/detail?id=375162). BUG=skia: R=reed@google.com Committed: https://code.google.com/p/skia/source/detail?r=15003

Patch Set 1 #

Patch Set 2 : Fix test: chain a blur after the picture #

Patch Set 3 : Fix test: append a blur filter after the picture filter #

Patch Set 4 : Cleanup #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -0 lines) Patch
M include/effects/SkPictureImageFilter.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/effects/SkPictureImageFilter.cpp View 1 chunk +7 lines, -0 lines 1 comment Download
M tests/ImageFilterTest.cpp View 1 2 3 3 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Stephen White
reed@: PTAL. Thanks!
6 years, 6 months ago (2014-05-30 19:54:54 UTC) #1
reed1
https://codereview.chromium.org/306733003/diff/60001/src/effects/SkPictureImageFilter.cpp File src/effects/SkPictureImageFilter.cpp (right): https://codereview.chromium.org/306733003/diff/60001/src/effects/SkPictureImageFilter.cpp#newcode98 src/effects/SkPictureImageFilter.cpp:98: *dst = src; Why are we not applying the ...
6 years, 6 months ago (2014-05-30 20:10:19 UTC) #2
Stephen White
On 2014/05/30 20:10:19, reed1 wrote: > https://codereview.chromium.org/306733003/diff/60001/src/effects/SkPictureImageFilter.cpp > File src/effects/SkPictureImageFilter.cpp (right): > > https://codereview.chromium.org/306733003/diff/60001/src/effects/SkPictureImageFilter.cpp#newcode98 > ...
6 years, 6 months ago (2014-05-30 20:21:24 UTC) #3
reed1
On 2014/05/30 20:21:24, Stephen White wrote: > On 2014/05/30 20:10:19, reed1 wrote: > > > ...
6 years, 6 months ago (2014-05-30 20:25:30 UTC) #4
reed1
Perhaps calling the two parameters src and dst is what throws me off. I think ...
6 years, 6 months ago (2014-05-30 20:31:54 UTC) #5
Stephen White
On 2014/05/30 20:31:54, reed1 wrote: > Perhaps calling the two parameters src and dst is ...
6 years, 6 months ago (2014-05-30 20:35:10 UTC) #6
Stephen White
6 years, 6 months ago (2014-05-30 20:36:18 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 manually as r15003 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698