Fix missing call to requestTransparentRegion()
Partial revert of a59c3a5a Add a call back to requestTransparentRegion() in performDrawFinished() to fix a bug where the transparent region is not set correctly for the Activity layer in a benchmarking app. This causes Android to use 2 composited layers are set up instead of 1. On at least one device this causes a performance regression. Fixes issue "ampere:3DMark Scores is too low" PD#OTT-314 Test: lunch deadpool-userdebug; make -j50; fastboot flashall ; watch adb shell dumpsys SurfaceFlinger \| grep -A80 layers: Bug: 122052559 Change-Id: Iff3fd6bc2ec6b7be81c43359b6e69b3b21c9cd8e Signed-off-by:Pengfei Zhao <pengfei.zhao@amlogic.com>
Loading
Please register or sign in to comment