Blur sigma set by layer SetBackgroundBlur does not account CTM. |
||
Issue descriptionTested 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?
,
Jul 17 2017
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?
,
Jul 2
|
||
►
Sign in to add a comment |
||
Comment 1 by wutao@chromium.org
, Jul 14 2017