diff options
author | Galia Peycheva <galinap@google.com> | 2020-11-25 22:22:40 +0100 |
---|---|---|
committer | Galia Peycheva <galinap@google.com> | 2020-12-03 16:14:44 +0100 |
commit | f7889b3fe2a80b38a5ff4b207a557ea681bf8616 (patch) | |
tree | 88c1221f0ed881c4b5891a3d290df32257ac6e8d /libs/gui/tests/EndToEndNativeInputTest.cpp | |
parent | 6c7c8d314b08ddd1009f6c98cae9728ee0bfe20e (diff) |
Make blur surface with bounds of layer
This CL changes the blur logic to take a snapshot only of the layer, not
the whole screen.
This has 2 benefits:
1. The blur shader samples only within the bounds of the surface, so
this change fixes a black frame around the blurred layer
2. The blur surface is smaller when the layer is not fullscreen, so less
information gets copied around
Bug: 174464919
Test: check background blur doesn't have a black frame
Test: check blur regions are in place
Change-Id: Ic31742248cc8441225503af48f13e6ef95a59443
Diffstat (limited to 'libs/gui/tests/EndToEndNativeInputTest.cpp')
0 files changed, 0 insertions, 0 deletions