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

Issue 137423005: Implement a computeFastBounds() traversal for SkImageFilter. This allows for correct culling of pri… (Closed)

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

Description

Implement a computeFastBounds() traversal for SkImageFilter. This allows for correct culling of primitives which have image filters applied. R=reed@google.com BUG=skia: Committed: https://code.google.com/p/skia/source/detail?r=13207

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix Win build; update to ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -0 lines) Patch
M include/core/SkImageFilter.h View 1 chunk +3 lines, -0 lines 0 comments Download
M include/core/SkPaint.h View 1 chunk +1 line, -0 lines 0 comments Download
M include/effects/SkBitmapSource.h View 1 chunk +1 line, -0 lines 0 comments Download
M include/effects/SkBlurImageFilter.h View 1 chunk +1 line, -0 lines 0 comments Download
M include/effects/SkDisplacementMapEffect.h View 2 chunks +4 lines, -0 lines 0 comments Download
M include/effects/SkDropShadowImageFilter.h View 1 chunk +1 line, -0 lines 0 comments Download
M include/effects/SkMorphologyImageFilter.h View 1 chunk +1 line, -0 lines 0 comments Download
M include/effects/SkOffsetImageFilter.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkImageFilter.cpp View 1 chunk +22 lines, -0 lines 0 comments Download
M src/core/SkPaint.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M src/effects/SkBitmapSource.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M src/effects/SkBlurImageFilter.cpp View 1 chunk +11 lines, -0 lines 0 comments Download
M src/effects/SkDisplacementMapEffect.cpp View 1 chunk +8 lines, -0 lines 0 comments Download
M src/effects/SkDropShadowImageFilter.cpp View 1 chunk +15 lines, -0 lines 0 comments Download
M src/effects/SkMorphologyImageFilter.cpp View 1 1 chunk +9 lines, -0 lines 0 comments Download
M src/effects/SkOffsetImageFilter.cpp View 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Stephen White
PTAL. This is just the computeFastBounds() traversal for SkImageFilter, with the AutoDrawLooper changes reverted.
6 years, 11 months ago (2014-01-27 16:50:09 UTC) #1
reed1
Same question for out other bounds getters, but I wonder how we could test these ...
6 years, 11 months ago (2014-01-27 17:51:46 UTC) #2
Stephen White
On 2014/01/27 17:51:46, reed1 wrote: > Same question for out other bounds getters, but I ...
6 years, 11 months ago (2014-01-27 18:06:16 UTC) #3
Stephen White
6 years, 11 months ago (2014-01-27 21:03:28 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r13207 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698