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

Issue 23892011: Implement crop rect for the dilate and erode (morphology) filters. This provoked some cleanup on th… (Closed)

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

Description

Implement crop rect for the dilate and erode (morphology) filters. This provoked some cleanup on the GPU side: apply_morphology() now deals with SkBitmaps, rather than GrTextures. There's still a clear opportunity for more refactoring between the two filters. Note: this adds some test cases to the morphology GM, so it will require a rebaseline. R=bsalomon@google.com, reed@google.com Committed: https://code.google.com/p/skia/source/detail?r=11313

Patch Set 1 #

Patch Set 2 : Don't send an SkScalar to do a int's job. #

Patch Set 3 : Embiggen GM to accommodate new test cases. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -73 lines) Patch
M gm/morphology.cpp View 1 2 3 chunks +24 lines, -15 lines 0 comments Download
M include/effects/SkMorphologyImageFilter.h View 3 chunks +9 lines, -5 lines 0 comments Download
M src/effects/SkMorphologyImageFilter.cpp View 1 12 chunks +119 lines, -53 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Stephen White
Brian: PTAL. Thanks!
7 years, 3 months ago (2013-09-11 19:49:59 UTC) #1
bsalomon
On 2013/09/11 19:49:59, Stephen White wrote: > Brian: PTAL. Thanks! Agree that there's more consolidation ...
7 years, 3 months ago (2013-09-12 13:21:40 UTC) #2
reed1
api lgtm
7 years, 3 months ago (2013-09-12 17:46:57 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/senorblanco@chromium.org/23892011/1
7 years, 3 months ago (2013-09-13 14:28:13 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/senorblanco@chromium.org/23892011/7001
7 years, 3 months ago (2013-09-13 14:43:38 UTC) #5
Stephen White
7 years, 3 months ago (2013-09-17 13:41:48 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r11313 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698