Loading services/surfaceflinger/SurfaceFlinger.cpp +10 −0 Original line number Diff line number Diff line Loading @@ -4709,6 +4709,16 @@ void SurfaceFlinger::dumpVSync(std::string& result) const { StringAppendF(&result, "Scheduler enabled."); StringAppendF(&result, "+ Smart 90 for video detection: %s\n\n", mUseSmart90ForVideo ? "on" : "off"); StringAppendF(&result, "Allowed Display Configs: "); for (int32_t configId : mAllowedDisplayConfigs) { for (auto refresh : mRefreshRateConfigs.getRefreshRates()) { if (refresh.second && refresh.second->configId == configId) { StringAppendF(&result, "%dHz, ", refresh.second->fps); } } } StringAppendF(&result, "(config override by backdoor: %s)\n\n", mDebugDisplayConfigSetByBackdoor ? "yes" : "no"); mScheduler->dump(mAppConnectionHandle, result); } Loading Loading
services/surfaceflinger/SurfaceFlinger.cpp +10 −0 Original line number Diff line number Diff line Loading @@ -4709,6 +4709,16 @@ void SurfaceFlinger::dumpVSync(std::string& result) const { StringAppendF(&result, "Scheduler enabled."); StringAppendF(&result, "+ Smart 90 for video detection: %s\n\n", mUseSmart90ForVideo ? "on" : "off"); StringAppendF(&result, "Allowed Display Configs: "); for (int32_t configId : mAllowedDisplayConfigs) { for (auto refresh : mRefreshRateConfigs.getRefreshRates()) { if (refresh.second && refresh.second->configId == configId) { StringAppendF(&result, "%dHz, ", refresh.second->fps); } } } StringAppendF(&result, "(config override by backdoor: %s)\n\n", mDebugDisplayConfigSetByBackdoor ? "yes" : "no"); mScheduler->dump(mAppConnectionHandle, result); } Loading