hwc: Enable mdp downscale feature for 4k resolution
Enable MDP Downscale feature for primary resolution greater than 2048 only for the targets that supports source split. Change-Id: I21871b099f74543aa8c2416bac41e3a16d4ce72d
This commit is contained in:
@@ -636,6 +636,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