New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 743144 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: Jul 2
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Blur sigma set by layer SetBackgroundBlur does not account CTM.

Project Member Reported by wutao@chromium.org, Jul 14 2017

Issue description

Tested at kevin.

When setting blur radius of 20 (should be sigma) in lock screen, after this line in SkBlurImageFilter.cpp in map_sigma [1]:

ctm.mapVectors(&sigma, 1);
https://cs.chromium.org/chromium/src/third_party/skia/src/core/SkBlurImageFilter.cpp?rcl=da69944cbb9e561694716b8882d201d4f7f8790e&l=79

The sigma become 40. 2x ctm here.

This means we did not get the desire blur sigma we wanted?

 

Comment 1 by wutao@chromium.org, Jul 14 2017

Labels: -Pri-3 Pri-1
If there's a 2X scale in the CTM, then by definition you want to scale the filter parameters 2X, no? If not, then your CTM is incorrect. Could this be the device scale factor you were looking for?
Status: WontFix (was: Available)

Sign in to add a comment