summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Galia Peycheva <galinap@google.com> 2021-07-01 14:38:32 +0200
committer Galia Peycheva <galinap@google.com> 2021-07-13 18:15:39 +0200
commit5e921389e2321a339ca3c71946937e21b755709b (patch)
treee98307b5b5dd63b58ba38c9db1a089bc18c17d7a /vulkan/libvulkan/api.cpp
parentb058a604011ab7f98513345cbd4fb9573065c959 (diff)
Fix SF blur to be as blurry as Gaussian blur
The current SF blur is using an approximation of Gaussian blur. The blur radius has to be 3.2 times higher in order the create the same effect that Gaussian blur would. This CL corrects that, making the SF blur as blurry as a Gaussian blur. This way, the effect that a certain blur radius creates with Android cross-window blur resembles closely what Gaussian blur would do with the same radius. This also aligns the effect created by in-app blurs and cross-app blurs with the same blur radius. Bug: 192241610 Test: atest BlurTests Test: manual, comparing in-app blur and cross-app blur Change-Id: I5fe428ddf01dbe3d2bd6df18957165588848235e
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions