Merge "fix [3260137] Sometimes front-facing camera mirroring is wrong"
This commit is contained in:
committed by
Android (Google) Code Review
commit
2d54cd6637
@@ -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 ?
|
||||
|
||||
Reference in New Issue
Block a user