Merge "hwc: Enable mdp downscale feature for 4k resolution"

This commit is contained in:
Linux Build Service Account
2014-09-10 18:54:33 -07:00
committed by Gerrit - the friendly Code Review server
4 changed files with 43 additions and 7 deletions

View File

@@ -620,6 +620,10 @@ void calcExtDisplayPosition(hwc_context_t *ctx,
displayFrame.top = int(hRatio*(float)displayFrame.top);
displayFrame.right = int(wRatio*(float)displayFrame.right);
displayFrame.bottom = int(hRatio*(float)displayFrame.bottom);
ALOGD_IF(DEBUG_MDPDOWNSCALE, "Calculated external display frame"
" for MDPDownscale feature [%d %d %d %d]",
displayFrame.left, displayFrame.top,
displayFrame.right, displayFrame.bottom);
}
}else {
if(extOrient || ctx->dpyAttr[dpy].mDownScaleMode) {