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

Issue 135013004: Refactor SkMorphologyImageFilter, CPU and GPU paths. This required making opts/ dependent on effect… (Closed)

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

Description

[Reland of r13154, since the Housekeeping bot seems to have reverted it in r13155. Next time I'll put the "do not disturb" sign on my commit.] Refactor SkMorphologyImageFilter, CPU and GPU paths. This required making opts/ dependent on effects/, so that we could use the SkMorphologyProc type in SkMorphologyImageFilter.h. Correctness and performance covered by existing tests; no change in functionality. R=bsalomon@google.com, djsollen@google.com, reed@google.com Committed: https://code.google.com/p/skia/source/detail?r=13154 BUG=skia: Committed: https://code.google.com/p/skia/source/detail?r=13168

Patch Set 1 #

Patch Set 2 : WithProcs -> Generic #

Patch Set 3 : Remove a stray "virtual". #

Total comments: 2

Patch Set 4 : Put the morphology enum back; scope the Proc typedef to SkMorphologyImageFilter. #

Patch Set 5 : Fix android build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -163 lines) Patch
M gyp/opts.gyp View 1 2 3 4 3 chunks +3 lines, -0 lines 0 comments Download
M include/effects/SkMorphologyImageFilter.h View 1 2 3 2 chunks +17 lines, -0 lines 0 comments Download
M src/effects/SkMorphologyImageFilter.cpp View 1 2 3 6 chunks +54 lines, -149 lines 0 comments Download
M src/opts/SkMorphology_opts.h View 1 2 3 2 chunks +6 lines, -11 lines 0 comments Download
M src/opts/SkMorphology_opts_none.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/opts/opts_check_SSE2.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/opts/opts_check_arm.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
Stephen White
PTAL. Thanks!
6 years, 11 months ago (2014-01-22 20:51:15 UTC) #1
Stephen White
PTAL. Thanks!
6 years, 11 months ago (2014-01-22 20:51:26 UTC) #2
reed1
how is it that we didn't have/need the enum before? Are the kernel X,Y values ...
6 years, 11 months ago (2014-01-22 21:17:16 UTC) #3
bsalomon
gpu lgtm
6 years, 11 months ago (2014-01-22 21:29:01 UTC) #4
Stephen White
I don't actually need to move the enum, just the Proc typedef, but I thought ...
6 years, 11 months ago (2014-01-22 21:36:41 UTC) #5
Stephen White
Uploaded a new version with the enum moved back, and the Proc scoped to SkMorpohologyImageFilter.
6 years, 11 months ago (2014-01-22 21:50:34 UTC) #6
reed1
interface lgtm -- adding derek for arm/neon
6 years, 11 months ago (2014-01-22 21:56:38 UTC) #7
djsollen
lgtm
6 years, 11 months ago (2014-01-23 15:49:50 UTC) #8
Stephen White
Committed patchset #5 manually as r13154 (presubmit successful).
6 years, 11 months ago (2014-01-23 18:45:29 UTC) #9
Stephen White
Reopening, since the Housekeeping bot reverted this commit (?!): https://skia.googlesource.com/skia.git/+/1878a44c7490e3312a3b617fa03d2cf297b791e0
6 years, 11 months ago (2014-01-24 15:40:03 UTC) #10
Stephen White
6 years, 11 months ago (2014-01-24 15:43:56 UTC) #11
Message was sent while issue was closed.
Committed patchset #5 manually as r13168 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698