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

Issue 59133006: Implement the y-transpose optimization in image (RGBA) blurs. This gives ~38% performance improvem… (Closed)

Created:
7 years, 1 month ago by Stephen White
Modified:
7 years, 1 month ago
Reviewers:
mtklein, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Implement the y-transpose optimization in image (RGBA) blurs. This gives ~38% performance improvement on my Linux box. Also unify the box blur functions with a template. R=mtklein@google.com, mtklein, reed@google.com Committed: https://code.google.com/p/skia/source/detail?r=12171

Patch Set 1 #

Patch Set 2 : Remove spurious returns #

Total comments: 7

Patch Set 3 : Add block comment and ASCII art. #

Total comments: 1

Patch Set 4 : Moar comments #

Patch Set 5 : OCD fix #

Patch Set 6 : Get rid of intermediate functions; call template versions directly #

Patch Set 7 : Revert to older version; remove spurious whitespace. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -75 lines) Patch
M src/effects/SkBlurImageFilter.cpp View 1 2 3 4 5 6 3 chunks +83 lines, -75 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Stephen White
Mike & Mike: PTAL. Thanks!
7 years, 1 month ago (2013-11-05 22:43:23 UTC) #1
Stephen White
Note: this will affect the results of the following GMs: spritebitmap imagefiltersgraph imagefilterscropped imagefiltersbase colorfilterimagefilter. ...
7 years, 1 month ago (2013-11-05 22:52:21 UTC) #2
mtklein
https://codereview.chromium.org/59133006/diff/50001/src/effects/SkBlurImageFilter.cpp File src/effects/SkBlurImageFilter.cpp (right): https://codereview.chromium.org/59133006/diff/50001/src/effects/SkBlurImageFilter.cpp#newcode45 src/effects/SkBlurImageFilter.cpp:45: Maybe add a nice big block comment here with ...
7 years, 1 month ago (2013-11-06 13:51:51 UTC) #3
Stephen White
Thanks for your review. https://codereview.chromium.org/59133006/diff/50001/src/effects/SkBlurImageFilter.cpp File src/effects/SkBlurImageFilter.cpp (right): https://codereview.chromium.org/59133006/diff/50001/src/effects/SkBlurImageFilter.cpp#newcode45 src/effects/SkBlurImageFilter.cpp:45: On 2013/11/06 13:51:52, mtklein wrote: ...
7 years, 1 month ago (2013-11-06 15:09:58 UTC) #4
mtklein
lgtm https://codereview.chromium.org/59133006/diff/50001/src/effects/SkBlurImageFilter.cpp File src/effects/SkBlurImageFilter.cpp (right): https://codereview.chromium.org/59133006/diff/50001/src/effects/SkBlurImageFilter.cpp#newcode109 src/effects/SkBlurImageFilter.cpp:109: static void boxBlurX(const SkPMColor* src, int srcStride, SkPMColor* ...
7 years, 1 month ago (2013-11-06 15:18:56 UTC) #5
Stephen White
On 2013/11/06 15:18:56, mtklein wrote: > lgtm > > https://codereview.chromium.org/59133006/diff/50001/src/effects/SkBlurImageFilter.cpp > File src/effects/SkBlurImageFilter.cpp (right): > ...
7 years, 1 month ago (2013-11-06 15:25:26 UTC) #6
mtklein
On 2013/11/06 15:25:26, Stephen White wrote: > On 2013/11/06 15:18:56, mtklein wrote: > > lgtm ...
7 years, 1 month ago (2013-11-06 15:29:08 UTC) #7
mtklein
On 2013/11/06 15:29:08, mtklein wrote: > On 2013/11/06 15:25:26, Stephen White wrote: > > On ...
7 years, 1 month ago (2013-11-06 15:37:28 UTC) #8
Stephen White
7 years, 1 month ago (2013-11-07 18:35:15 UTC) #9
Message was sent while issue was closed.
Committed patchset #7 manually as r12171 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698