summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceComposerClient.cpp
diff options
context:
space:
mode:
author Robin Lee <rgl@google.com> 2021-08-09 14:31:01 +0200
committer Robin Lee <rgl@google.com> 2021-10-26 23:24:30 +0200
commit26dacabe028c624af4674537a4347fa56d8de95c (patch)
treeb7e77525e9ed45c265c21ae8813f385c7c1f2cae /libs/gui/SurfaceComposerClient.cpp
parent2e98ade425332bca2dfe8a072393330232fb1e99 (diff)
Add a GaussianBlurFilter to SkiaRE using Skia blur
This is using Skia's native blur algorithm which is a fully-correct blur using separate X/Y convolution passes in a pre-baked shader. The performance is significantly worse than Kawase or dual-filtered Kawase but it sets the high bar for accuracy and the low bar for performance. This can be switched with KawaseBlurFilter by updating the source in SkiaGLRenderEngine to instantiate GaussianBlurFilter instead. Test: atest BlurTests Bug: 185365391 Change-Id: I29fba84e408c75bc8ef7011b6e40f45cb78eabab
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
0 files changed, 0 insertions, 0 deletions