android 8.0 开发者选项,默认打开 使用HW叠加层(关闭硬件加速)

— a/alps/frameworks/native/services/surfaceflinger/SurfaceFlinger.cpp
+++ b/alps/frameworks/native/services/surfaceflinger/SurfaceFlinger.cpp
SurfaceFlinger::SurfaceFlinger()

         mAnimCompositionPending(false),
         mDebugRegion(0),
         mDebugDDMS(0),
+       mDebugDisableHWC(1), //modify
         mDebugDisableTransformHint(0),
         mDebugInSwapBuffers(0),
         mLastSwapBufferTime(0),

你可能感兴趣的:(android,8.0)