commit | 367c5684f4d417e5176bec12d67f4e2e42738fe0 | [log] [tgz] |
---|---|---|
author | Robert Carr <racarr@google.com> | Mon Jun 20 11:55:28 2016 -0700 |
committer | Robert Carr <racarr@google.com> | Tue Jun 21 16:28:41 2016 -0700 |
tree | 5b03d59c7f94e34c25ebabc331f2f427a1dd42c6 | |
parent | 99e27f0bc236e38d88ff4f9912ede514a729b8eb [diff] [blame] |
SurfaceControl: Add getTransformToDisplayInverse For seamless rotation, the window manager needs access to this flag, as it will apply the inverse display transform itself to all other windows. Bug: 28823590 Change-Id: Ifeee1078a9cb4cd01c8052570c137c6228b2f13d
diff --git a/services/surfaceflinger/SurfaceFlingerConsumer.cpp b/services/surfaceflinger/SurfaceFlingerConsumer.cpp index ba0a527..e0e4c61 100644 --- a/services/surfaceflinger/SurfaceFlingerConsumer.cpp +++ b/services/surfaceflinger/SurfaceFlingerConsumer.cpp
@@ -129,6 +129,7 @@ } bool SurfaceFlingerConsumer::getTransformToDisplayInverse() const { + Mutex::Autolock lock(mMutex); return mTransformToDisplayInverse; }