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

Issue 1267343004: Port morphology to SkOpts. (Closed)

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

Description

Port morphology to SkOpts. Nothing too fancy. Direction enums become enum classes so they don't get all confused. An alternative is to create one single Direction enum that both blur and morphology opts use. BUG=skia:4117 Committed: https://skia.googlesource.com/skia/+/d029ded92d409a004f2096c78f5a99b524206481

Patch Set 1 #

Total comments: 5

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -438 lines) Patch
M gyp/opts.gypi View 6 chunks +0 lines, -7 lines 0 comments Download
M src/core/SkOpts.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/core/SkOpts.cpp View 2 chunks +9 lines, -4 lines 0 comments Download
M src/effects/SkMorphologyImageFilter.cpp View 4 chunks +7 lines, -101 lines 0 comments Download
M src/opts/SkBlurImageFilter_opts.h View 12 chunks +30 lines, -26 lines 0 comments Download
A src/opts/SkMorphologyImageFilter_opts.h View 1 chunk +137 lines, -0 lines 0 comments Download
D src/opts/SkMorphology_opts.h View 1 chunk +0 lines, -22 lines 0 comments Download
D src/opts/SkMorphology_opts_SSE2.h View 1 chunk +0 lines, -22 lines 0 comments Download
D src/opts/SkMorphology_opts_SSE2.cpp View 1 chunk +0 lines, -81 lines 0 comments Download
D src/opts/SkMorphology_opts_arm.cpp View 1 chunk +0 lines, -34 lines 0 comments Download
D src/opts/SkMorphology_opts_neon.h View 1 chunk +0 lines, -15 lines 0 comments Download
D src/opts/SkMorphology_opts_neon.cpp View 1 chunk +0 lines, -80 lines 0 comments Download
D src/opts/SkMorphology_opts_none.cpp View 1 chunk +0 lines, -12 lines 0 comments Download
M src/opts/SkOpts_neon.cpp View 2 chunks +9 lines, -4 lines 0 comments Download
M src/opts/SkOpts_sse2.cpp View 2 chunks +9 lines, -4 lines 0 comments Download
M src/opts/SkOpts_sse41.cpp View 1 chunk +3 lines, -4 lines 0 comments Download
M src/opts/opts_check_x86.cpp View 2 chunks +0 lines, -22 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
mtklein_C
5 years, 4 months ago (2015-08-04 19:30:30 UTC) #2
djsollen
https://codereview.chromium.org/1267343004/diff/1/src/core/SkOpts.cpp File src/core/SkOpts.cpp (right): https://codereview.chromium.org/1267343004/diff/1/src/core/SkOpts.cpp#newcode40 src/core/SkOpts.cpp:40: decltype(box_blur_xx) box_blur_xx = portable::box_blur_xx; why not static const auto ...
5 years, 4 months ago (2015-08-04 19:38:12 UTC) #3
mtklein_C
https://codereview.chromium.org/1267343004/diff/1/src/core/SkOpts.cpp File src/core/SkOpts.cpp (right): https://codereview.chromium.org/1267343004/diff/1/src/core/SkOpts.cpp#newcode40 src/core/SkOpts.cpp:40: decltype(box_blur_xx) box_blur_xx = portable::box_blur_xx; On 2015/08/04 19:38:12, djsollen wrote: ...
5 years, 4 months ago (2015-08-04 19:41:48 UTC) #4
djsollen
lgtm
5 years, 4 months ago (2015-08-04 19:46:43 UTC) #5
djsollen
https://codereview.chromium.org/1267343004/diff/1/gyp/opts.gypi File gyp/opts.gypi (left): https://codereview.chromium.org/1267343004/diff/1/gyp/opts.gypi#oldcode10 gyp/opts.gypi:10: '<(skia_src_path)/opts/SkMorphology_opts_none.cpp', these lists are looking better with each checkin!
5 years, 4 months ago (2015-08-04 19:47:20 UTC) #6
mtklein_C
On 2015/08/04 19:47:20, djsollen wrote: > https://codereview.chromium.org/1267343004/diff/1/gyp/opts.gypi > File gyp/opts.gypi (left): > > https://codereview.chromium.org/1267343004/diff/1/gyp/opts.gypi#oldcode10 > ...
5 years, 4 months ago (2015-08-04 19:51:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1267343004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1267343004/20001
5 years, 4 months ago (2015-08-04 20:53:48 UTC) #10
commit-bot: I haz the power
5 years, 4 months ago (2015-08-04 21:09:11 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/d029ded92d409a004f2096c78f5a99b524206481

Powered by Google App Engine
This is Rietveld 408576698