Merge "hwc: Fix right mixer layer positioning."

This commit is contained in:
Linux Build Service Account
2013-04-30 23:09:19 -07:00
committed by Gerrit - the friendly Code Review server

View File

@@ -880,8 +880,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;
tmp_dstR.right = tmp_dstR.right - hw_w/2;
tmp_dstR.left = tmp_dstR.left - hw_w/2;
if(configMdp(ctx->mOverlay, pargR, orient,
tmp_cropR, tmp_dstR, metadata, rDest) < 0) {
ALOGE("%s: commit failed for right mixer config", __FUNCTION__);