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

Issue 1264103004: Port SkBlurImage opts to SkOpts. (Closed)

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

Description

Port SkBlurImage opts to SkOpts. +268 -535 lines I also rearranged the code a little bit to encapsulate itself better, mostly replacing static helper functions with lambdas. This also let me merge the SSE2 and SSE4.1 code paths. BUG=skia:4117 Committed: https://skia.googlesource.com/skia/+/dce5ce4276e2825efc6d8c4daa819c965794cd12

Patch Set 1 #

Patch Set 2 : SK_OPTS_NS manually #

Patch Set 3 : typo #

Total comments: 12

Patch Set 4 : move portable code #

Patch Set 5 : rename to match src/effects #

Unified diffs Side-by-side diffs Delta from patch set Stats (+360 lines, -637 lines) Patch
M gyp/opts.gypi View 7 chunks +0 lines, -8 lines 0 comments Download
M src/core/SkOpts.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M src/core/SkOpts.cpp View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
M src/effects/SkBlurImageFilter.cpp View 1 2 3 4 chunks +33 lines, -98 lines 0 comments Download
A src/opts/SkBlurImageFilter_opts.h View 1 2 3 4 1 chunk +294 lines, -0 lines 0 comments Download
M src/opts/SkBlurImage_opts.h View 1 2 3 4 1 chunk +0 lines, -19 lines 0 comments Download
D src/opts/SkBlurImage_opts_SSE2.h View 1 chunk +0 lines, -17 lines 0 comments Download
D src/opts/SkBlurImage_opts_SSE2.cpp View 1 chunk +0 lines, -106 lines 0 comments Download
D src/opts/SkBlurImage_opts_SSE4.h View 1 chunk +0 lines, -17 lines 0 comments Download
D src/opts/SkBlurImage_opts_SSE4.cpp View 1 chunk +0 lines, -115 lines 0 comments Download
D src/opts/SkBlurImage_opts_arm.cpp View 1 chunk +0 lines, -24 lines 0 comments Download
D src/opts/SkBlurImage_opts_neon.h View 1 chunk +0 lines, -12 lines 0 comments Download
D src/opts/SkBlurImage_opts_neon.cpp View 1 chunk +0 lines, -186 lines 0 comments Download
D src/opts/SkBlurImage_opts_none.cpp View 1 chunk +0 lines, -14 lines 0 comments Download
M src/opts/SkOpts_neon.cpp View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
M src/opts/SkOpts_sse2.cpp View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download
M src/opts/SkOpts_sse41.cpp View 1 2 3 4 1 chunk +6 lines, -1 line 0 comments Download
M src/opts/SkXfermode_opts.h View 1 2 chunks +2 lines, -4 lines 0 comments Download
M src/opts/opts_check_x86.cpp View 2 chunks +0 lines, -16 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1264103004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1264103004/1
5 years, 4 months ago (2015-08-04 00:17:36 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/2351)
5 years, 4 months ago (2015-08-04 00:21:28 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1264103004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1264103004/40001
5 years, 4 months ago (2015-08-04 00:35:20 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-04 00:42:01 UTC) #8
mtklein_C
5 years, 4 months ago (2015-08-04 00:42:09 UTC) #10
djsollen
https://codereview.chromium.org/1264103004/diff/40001/src/core/SkOpts.cpp File src/core/SkOpts.cpp (right): https://codereview.chromium.org/1264103004/diff/40001/src/core/SkOpts.cpp#newcode10 src/core/SkOpts.cpp:10: #define SK_OPTS_NS portable given that you don't yet use ...
5 years, 4 months ago (2015-08-04 14:39:57 UTC) #11
mtklein
https://codereview.chromium.org/1264103004/diff/40001/src/core/SkOpts.cpp File src/core/SkOpts.cpp (right): https://codereview.chromium.org/1264103004/diff/40001/src/core/SkOpts.cpp#newcode10 src/core/SkOpts.cpp:10: #define SK_OPTS_NS portable On 2015/08/04 14:39:56, djsollen wrote: > ...
5 years, 4 months ago (2015-08-04 14:46:45 UTC) #13
djsollen
https://codereview.chromium.org/1264103004/diff/40001/src/core/SkOpts.cpp File src/core/SkOpts.cpp (right): https://codereview.chromium.org/1264103004/diff/40001/src/core/SkOpts.cpp#newcode51 src/core/SkOpts.cpp:51: decltype(box_blur_xx) box_blur_xx = nullptr; On 2015/08/04 14:46:44, mtklein wrote: ...
5 years, 4 months ago (2015-08-04 14:56:17 UTC) #14
mtklein_C
https://codereview.chromium.org/1264103004/diff/40001/src/core/SkOpts.cpp File src/core/SkOpts.cpp (right): https://codereview.chromium.org/1264103004/diff/40001/src/core/SkOpts.cpp#newcode51 src/core/SkOpts.cpp:51: decltype(box_blur_xx) box_blur_xx = nullptr; On 2015/08/04 14:56:17, djsollen wrote: ...
5 years, 4 months ago (2015-08-04 15:16:56 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1264103004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1264103004/80001
5 years, 4 months ago (2015-08-04 15:22:17 UTC) #17
djsollen
lgtm
5 years, 4 months ago (2015-08-04 15:36:17 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1264103004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1264103004/80001
5 years, 4 months ago (2015-08-04 15:41:43 UTC) #21
commit-bot: I haz the power
5 years, 4 months ago (2015-08-04 15:49:25 UTC) #22
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/dce5ce4276e2825efc6d8c4daa819c965794cd12

Powered by Google App Engine
This is Rietveld 408576698