diff options
| author | 2021-05-12 10:45:08 -0400 | |
|---|---|---|
| committer | 2021-05-12 17:17:58 -0400 | |
| commit | 63e8695e7889a354813b5e2f00104045adc2f072 (patch) | |
| tree | 67163a067f9d48551e04f2fb69fd382dd54831d9 /libs/gui/DisplayLuts.cpp | |
| parent | 50f6e980f469f08bc5c860e609bcb2afb1f97ee5 (diff) | |
Fix shadow corner radius during PIP size change
Bug: 187441996
Test: manual
Test: go/wm-smoke
Test: libcompositionengine_test
Test: TODO
The now-deleted code was intended to remove rounding when part of the
content is offscreen, but it removes rounding on corners that are
entirely on screen. Remove the code, which fixes a bug seen when
expanding a PIP. If the content is partially offscreen, our drawing code
will handle this correctly.
In addition, if the bounds is an SkRect and there is a roundRectClip,
draw the rounded version.
Change-Id: I6ee07321c04474f96a572015f301e01441ca5afc
Diffstat (limited to 'libs/gui/DisplayLuts.cpp')
0 files changed, 0 insertions, 0 deletions