Merge "hwc: Update orient info from transform."
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
22f9fe4528
@@ -872,6 +872,7 @@ int configureLowRes(hwc_context_t *ctx, hwc_layer_1_t *layer,
|
|||||||
crop = ctx->mPrevCropVideo;
|
crop = ctx->mPrevCropVideo;
|
||||||
dst = ctx->mPrevDestVideo;
|
dst = ctx->mPrevDestVideo;
|
||||||
transform = ctx->mPrevTransformVideo;
|
transform = ctx->mPrevTransformVideo;
|
||||||
|
orient = static_cast<eTransform>(transform);
|
||||||
//In you tube use case when a device rotated from landscape to
|
//In you tube use case when a device rotated from landscape to
|
||||||
// portrait, set the isFg flag and zOrder to avoid displaying UI on
|
// portrait, set the isFg flag and zOrder to avoid displaying UI on
|
||||||
// hdmi during animation
|
// hdmi during animation
|
||||||
@@ -973,6 +974,7 @@ int configureHighRes(hwc_context_t *ctx, hwc_layer_1_t *layer,
|
|||||||
crop = ctx->mPrevCropVideo;
|
crop = ctx->mPrevCropVideo;
|
||||||
dst = ctx->mPrevDestVideo;
|
dst = ctx->mPrevDestVideo;
|
||||||
transform = ctx->mPrevTransformVideo;
|
transform = ctx->mPrevTransformVideo;
|
||||||
|
orient = static_cast<eTransform>(transform);
|
||||||
//In you tube use case when a device rotated from landscape to
|
//In you tube use case when a device rotated from landscape to
|
||||||
// portrait, set the isFg flag and zOrder to avoid displaying UI on
|
// portrait, set the isFg flag and zOrder to avoid displaying UI on
|
||||||
// hdmi during animation
|
// hdmi during animation
|
||||||
|
|||||||
Reference in New Issue
Block a user