hwc: fix dst calculations for right mixer
The calculations made for the right mixer was not correct, fixed it for both FBUpdate and video usecases Change-Id: Iff2c296321bce14b776731528fff6f1d255d829a
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
09a30f3423
commit
0e8efb8afd
@@ -798,6 +798,8 @@ int configureHighRes(hwc_context_t *ctx, hwc_layer_1_t *layer,
|
||||
if(rDest != OV_INVALID) {
|
||||
PipeArgs pargR(mdpFlagsR, whf, z, isFg,
|
||||
static_cast<eRotFlags>(rotFlags));
|
||||
tmp_dstR.right = tmp_dstR.right - tmp_dstR.left;
|
||||
tmp_dstR.left = 0;
|
||||
if(configMdp(ctx->mOverlay, pargR, orient,
|
||||
tmp_cropR, tmp_dstR, rDest) < 0) {
|
||||
ALOGE("%s: commit failed for right mixer config", __FUNCTION__);
|
||||
|
||||
Reference in New Issue
Block a user