diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp index fe4379dc5..85fd2c7f3 100644 --- a/services/surfaceflinger/Layer.cpp +++ b/services/surfaceflinger/Layer.cpp @@ -204,7 +204,8 @@ void Layer::setGeometry(hwc_layer_t* hwcl) return; } - hwcl->transform = mOrientation; + Transform tr(Transform(mOrientation) * Transform(mBufferTransform)); + hwcl->transform = tr.getOrientation(); if (needsBlending()) { hwcl->blending = mPremultipliedAlpha ?