Merge "hwc: Fix external display position calculation"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
29ff05dd05
@@ -1859,6 +1859,10 @@ int configureSourceSplit(hwc_context_t *ctx, hwc_layer_1_t *layer,
|
||||
Whf whf(getWidth(hnd), getHeight(hnd),
|
||||
getMdpFormat(hnd->format), hnd->size);
|
||||
|
||||
/* Calculate the external display position based on MDP downscale,
|
||||
ActionSafe, and extorientation features. */
|
||||
calcExtDisplayPosition(ctx, hnd, dpy, crop, dst, transform, orient);
|
||||
|
||||
setMdpFlags(layer, mdpFlagsL, 0, transform);
|
||||
trimLayer(ctx, dpy, transform, crop, dst);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user