Merge "fix [3260137] Sometimes front-facing camera mirroring is wrong"

This commit is contained in:
Mathias Agopian
2010-12-08 17:24:52 -08:00
committed by Android (Google) Code Review

View File

@@ -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 ?