Merge "hwc: Compute external display position for UI layers."
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
21b6ff0923
@@ -1484,10 +1484,7 @@ int configureNonSplit(hwc_context_t *ctx, hwc_layer_1_t *layer,
|
|||||||
whf.format = getMdpFormat(HAL_PIXEL_FORMAT_BGRX_8888);
|
whf.format = getMdpFormat(HAL_PIXEL_FORMAT_BGRX_8888);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(dpy && isYuvBuffer(hnd)) {
|
calcExtDisplayPosition(ctx, hnd, dpy, crop, dst, transform, orient);
|
||||||
calcExtDisplayPosition(ctx, hnd, dpy, crop, dst,
|
|
||||||
transform, orient);
|
|
||||||
}
|
|
||||||
|
|
||||||
if(isYuvBuffer(hnd) && ctx->mMDP.version >= qdutils::MDP_V4_2 &&
|
if(isYuvBuffer(hnd) && ctx->mMDP.version >= qdutils::MDP_V4_2 &&
|
||||||
ctx->mMDP.version < qdutils::MDSS_V5) {
|
ctx->mMDP.version < qdutils::MDSS_V5) {
|
||||||
|
|||||||
Reference in New Issue
Block a user