Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1666)

Issue 5413048: CPU implementation of Gaussian blur (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 7 months ago by Stephen White
Modified:
12 years, 6 months ago
Reviewers:
TomH, reed1
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

A software implementation of the Gaussian blur filter, using 3 box blurs. Also re-enable the imageblur GM test, since the SkPicture path now works.

Patch Set 1 #

Patch Set 2 : Moved SkBitmap allocation to SkImageFilter #

Patch Set 3 : match WebKit implementation #

Patch Set 4 : Removed calling code in SkDevice and SkPaint; removed WebKit workaround #

Total comments: 2

Patch Set 5 : Change SkColor -> SkPMColor; remove some commented-out code #

Patch Set 6 : update to new allocation API; re-enable imageblur GM #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -3 lines) Patch
M gyp/gmslides.gypi View 1 2 3 4 5 1 chunk +1 line, -3 lines 0 comments Download
M include/effects/SkBlurImageFilter.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M src/effects/SkBlurImageFilter.cpp View 1 2 3 4 5 2 chunks +150 lines, -0 lines 0 comments Download

Messages

Total messages: 9
Stephen White
12 years, 7 months ago (2011-11-18 16:56:33 UTC) #1
reed1
imagefilter is responsible for creating the dst bitmap and offset. I will submit a separate ...
12 years, 7 months ago (2011-11-18 17:12:57 UTC) #2
reed1
SkBitmap's pixels are SkPMColor, not SkColor (though sometimes those are the same). Therefore you just ...
12 years, 6 months ago (2011-12-14 21:50:36 UTC) #3
TomH
http://codereview.appspot.com/5413048/diff/7001/src/effects/SkBlurImageFilter.cpp File src/effects/SkBlurImageFilter.cpp (right): http://codereview.appspot.com/5413048/diff/7001/src/effects/SkBlurImageFilter.cpp#newcode63 src/effects/SkBlurImageFilter.cpp:63: SkColor r = *(sptr + rightOffset + 1); Why ...
12 years, 6 months ago (2011-12-15 19:54:28 UTC) #4
Stephen White
On 2011/12/14 21:50:36, reed1 wrote: > SkBitmap's pixels are SkPMColor, not SkColor (though sometimes those ...
12 years, 6 months ago (2011-12-16 16:12:35 UTC) #5
Stephen White
http://codereview.appspot.com/5413048/diff/7001/src/effects/SkBlurImageFilter.cpp File src/effects/SkBlurImageFilter.cpp (right): http://codereview.appspot.com/5413048/diff/7001/src/effects/SkBlurImageFilter.cpp#newcode63 src/effects/SkBlurImageFilter.cpp:63: SkColor r = *(sptr + rightOffset + 1); On ...
12 years, 6 months ago (2011-12-16 16:20:31 UTC) #6
Stephen White
Ready for re-review.
12 years, 6 months ago (2011-12-20 19:23:38 UTC) #7
reed1
lgtm
12 years, 6 months ago (2011-12-20 19:38:30 UTC) #8
Stephen White
12 years, 6 months ago (2011-12-20 20:54:40 UTC) #9
On 2011/12/20 19:38:30, reed1 wrote:
> lgtm

Landed as r2905; closing.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b