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

Issue 57823003: Add SK_PREFETCH and use in SkBlurImageFilter. (Closed)

Created:
7 years, 1 month ago by mtklein
Modified:
7 years, 1 month ago
CC:
skia-review_googlegroups.com, tomhudson
Visibility:
Public.

Description

Add SK_PREFETCH and use in SkBlurImageFilter. Relative speed is 1.2-1.6x on desktop, 1.0-1.2x on Nexus 4. (Division remains the bottleneck, now more so.) BUG= Committed: http://code.google.com/p/skia/source/detail?r=12129

Patch Set 1 #

Total comments: 1

Patch Set 2 : sync #

Patch Set 3 : slimmer change #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M include/core/SkPostConfig.h View 1 chunk +9 lines, -0 lines 1 comment Download
M src/effects/SkBlurImageFilter.cpp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
mtklein
7 years, 1 month ago (2013-11-04 15:48:35 UTC) #1
mtklein
On 2013/11/04 15:48:35, mtklein wrote: After the fixed point change, this CL is now +10% ...
7 years, 1 month ago (2013-11-04 16:16:14 UTC) #2
reed1
lgtm
7 years, 1 month ago (2013-11-04 16:23:47 UTC) #3
Stephen White
https://codereview.chromium.org/57823003/diff/1/src/effects/SkBlurImageFilter.cpp File src/effects/SkBlurImageFilter.cpp (right): https://codereview.chromium.org/57823003/diff/1/src/effects/SkBlurImageFilter.cpp#newcode127 src/effects/SkBlurImageFilter.cpp:127: SK_PREFETCH(front); // This step by srcStride seems to be ...
7 years, 1 month ago (2013-11-04 16:24:17 UTC) #4
mtklein
On 2013/11/04 16:24:17, Stephen White wrote: > https://codereview.chromium.org/57823003/diff/1/src/effects/SkBlurImageFilter.cpp > File src/effects/SkBlurImageFilter.cpp (right): > > https://codereview.chromium.org/57823003/diff/1/src/effects/SkBlurImageFilter.cpp#newcode127 ...
7 years, 1 month ago (2013-11-04 16:34:14 UTC) #5
Stephen White
On 2013/11/04 16:34:14, mtklein wrote: > On 2013/11/04 16:24:17, Stephen White wrote: > > > ...
7 years, 1 month ago (2013-11-04 16:38:43 UTC) #6
Stephen White
On 2013/11/04 16:38:43, Stephen White wrote: > On 2013/11/04 16:34:14, mtklein wrote: > > On ...
7 years, 1 month ago (2013-11-04 16:52:24 UTC) #7
mtklein
On 2013/11/04 16:38:43, Stephen White wrote: > On 2013/11/04 16:34:14, mtklein wrote: > > On ...
7 years, 1 month ago (2013-11-04 16:54:36 UTC) #8
Stephen White
LGTM. I'm surprised that the hardware prefetchers are so bad, but data wins. Thanks for ...
7 years, 1 month ago (2013-11-04 17:13:50 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@google.com/57823003/20003
7 years, 1 month ago (2013-11-05 13:23:24 UTC) #10
commit-bot: I haz the power
Change committed as 12129
7 years, 1 month ago (2013-11-05 15:03:28 UTC) #11
Nico
7 years, 1 month ago (2013-11-12 05:23:09 UTC) #12
Message was sent while issue was closed.
fyi

https://codereview.chromium.org/57823003/diff/20003/include/core/SkPostConfig.h
File include/core/SkPostConfig.h (right):

https://codereview.chromium.org/57823003/diff/20003/include/core/SkPostConfig...
include/core/SkPostConfig.h:384: #if defined(__clang__) || defined(__GNUC__)
clang defines __GNUC__ too, no need to check for it separately

Powered by Google App Engine
This is Rietveld 408576698