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
Loading
Please register or sign in to comment