diff options
| author | 2021-06-24 11:30:32 -0400 | |
|---|---|---|
| committer | 2021-06-25 13:08:02 -0400 | |
| commit | d394d3c04bdb4b54c2d6423bbc6753365620bc4b (patch) | |
| tree | 0261d712895806399110533e0a7c71fac3502287 /libs/ui/DebugUtils.cpp | |
| parent | 4aa928154b233b893a0ac4c2fffed8f2fb4f9a95 (diff) | |
Expand the displayFrame for shadows
Bug: 185799825
Test: manual
Test: libcompositionengine_test
Some HWCs crop to the displayFrame. A shadow layer uses its
geometry.boundaries (possibly cropped by geometry.cropRect) as the
size of the object casting a shadow, so the shadow may not be contained
by the displayFrame. For a shadow, expand the displayFrame out by the
shadowRadius to prevent cropping of the shadow.
Change-Id: I8b6c7953d05718a89bdbc59d57775e52195a8131
Diffstat (limited to 'libs/ui/DebugUtils.cpp')
0 files changed, 0 insertions, 0 deletions