Change small area detection to support new front end design
This will still use legacy layer to calculate the small dirty, and update the info to the LayerSnapshot. Also fix some issues in setIsSmallDirty() for 1. Set mSmallDirty flag as false if the surface damage region is invalid. 2. Apply the scaling to the damage region before dirty area calculations. Bug: 295062543 Bug: 303258910 Bug: 303609027 Test: atest LayerHistoryTest Test: atest SmallAreaDetectionTest Change-Id: Ib0e3737e63b5653422b5b5054b893578dc63f768
Loading
Please register or sign in to comment