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

Issue 1556523002: Change the equation for computing sigma from blur radius (Closed)

Created:
4 years, 11 months ago by xidachen
Modified:
4 years, 11 months ago
Reviewers:
Justin Novosad
CC:
chromium-reviews, krit, pdr+graphicswatchlist_chromium.org, drott+blinkwatch_chromium.org, blink-reviews-platform-graphics_chromium.org, dshwang, jbroman, danakj, Rik, f(malita), blink-reviews, vmpstr+blinkwatch_chromium.org, kinuko+watch, Stephen Chennney, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change the equation for computing sigma from blur radius In a previous CL: https://codereview.chromium.org/1502283002/, this equation was changed and now when the blur radius is 2px the blur effect completely disappears. This CL change the equation back to the original one but add a special case handler so that when the blur radius is 0 there is no blur effect at all. Also, together with this change, a bunch of layout test will need to rebaseline. BUG=572822 Committed: https://crrev.com/c2a7942a1d42e2f77b1656f2e02550e4e865943a Cr-Commit-Position: refs/heads/master@{#367188}

Patch Set 1 #

Patch Set 2 : update testexpectations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -1 line) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 1 chunk +97 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/skia/SkiaUtils.h View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 10 (3 generated)
xidachen
PTAL
4 years, 11 months ago (2015-12-30 16:14:48 UTC) #2
xidachen
Something interesting here: Under SkBlurMask::ConvertRadiusToSigma, the equation is: sigma = 0.57735f * radius + 0.5f; ...
4 years, 11 months ago (2015-12-30 19:16:20 UTC) #3
Justin Novosad
lgtm On 2015/12/30 19:16:20, xidachen wrote: > Something interesting here: > Under SkBlurMask::ConvertRadiusToSigma, the equation ...
4 years, 11 months ago (2015-12-30 20:32:53 UTC) #4
xidachen
On 2015/12/30 20:32:53, Justin Novosad wrote: > lgtm > > On 2015/12/30 19:16:20, xidachen wrote: ...
4 years, 11 months ago (2015-12-30 20:34:41 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1556523002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1556523002/20001
4 years, 11 months ago (2015-12-30 20:34:41 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 11 months ago (2015-12-30 21:52:47 UTC) #8
commit-bot: I haz the power
4 years, 11 months ago (2015-12-30 21:53:58 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c2a7942a1d42e2f77b1656f2e02550e4e865943a
Cr-Commit-Position: refs/heads/master@{#367188}

Powered by Google App Engine
This is Rietveld 408576698