Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b6d76b4c authored by Surbhi Kadam's avatar Surbhi Kadam
Browse files

When inheriting parent corner radii, make sure it actually overlaps with parent corner region.

This change adds a overlap checking to ensure that if a child inherit rounded corner from its parent,
the child should actually overlap with the parent corner region to avoid unnecessary rounded corners. Otherwise, the layer is unnecessarily marked for client composition.

Bug: 424277384
Flag: EXEMPT; bug fix
Test: atest SurfaceFlinger_test libsurfaceflinger_unittest
Change-Id: I74c2ac5b29c30b0c89b5d4951e71309751e93b44
parent d084afcd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment