diff options
| author | 2021-02-04 11:06:34 -0500 | |
|---|---|---|
| committer | 2021-02-10 10:39:37 -0500 | |
| commit | 3f77aa4617519880cfd7a5f4ecaa7f7611b53ba2 (patch) | |
| tree | cef731ab9494ba6ef4a7cb70feb616a2db69185a /vulkan/libvulkan/api.cpp | |
| parent | ecb21465304e9ed202c819d11d8f6a693f790d75 (diff) | |
Add support for crossfading blur with original input.
If we know that we need to sample the destination for the blur,
then we go ahead and render contents into an offscreen to avoid
an extra render target switch and texture copy.
If the radius is less than kMaxCrossFadeRadius then the final
composition of the blur mixes with the original content to hide
any downscaling artifacts.
Bug: 178503959
Bug: 176903027
Test: notification shade and SilkFX test app
Change-Id: If836461c1c62020447797e9b2d1050156d9c7d0c
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions