Merge "hwc: Enable mdp downscale feature for 4k resolution"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
663e49d89c
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user