Merge "hwc: Fix right mixer layer positioning."
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
1784f4a142
@@ -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__);
|
||||
|
||||
Reference in New Issue
Block a user