summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/DisplayDevice.h
diff options
context:
space:
mode:
authorSaurabh Shah <saurshah@codeaurora.org>2016-03-21 17:25:23 -0700
committerSteve Kondik <steve@cyngn.com>2016-07-20 04:16:16 -0700
commita887c19994c7873fbe651e2fe944a176576a6198 (patch)
tree107611910ed93ee1fb14fc8330aa1f8f1baadcbe /services/surfaceflinger/DisplayDevice.h
parentc91bafb88a3abf50c369637caf79fb027b48c46e (diff)
downloadframeworks_native-a887c19994c7873fbe651e2fe944a176576a6198.zip
frameworks_native-a887c19994c7873fbe651e2fe944a176576a6198.tar.gz
frameworks_native-a887c19994c7873fbe651e2fe944a176576a6198.tar.bz2
SF: Add support for all flips of panel mount
Add support for all flips of panel mount, H, V, HV (180). Property persist.panel.mountflip can be set to 1 for H-Flip, 2 for V-Flip, 3 for HV-Flip (180 / inverse mount). Change-Id: Ide7b8378ad6a423e5d7335fedc27d480a25b53ae CRs-fixed: 990622
Diffstat (limited to 'services/surfaceflinger/DisplayDevice.h')
-rw-r--r--services/surfaceflinger/DisplayDevice.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/services/surfaceflinger/DisplayDevice.h b/services/surfaceflinger/DisplayDevice.h
index f492a42..9023ce9 100644
--- a/services/surfaceflinger/DisplayDevice.h
+++ b/services/surfaceflinger/DisplayDevice.h
@@ -126,8 +126,8 @@ public:
int32_t getHwcDisplayId() const { return mHwcDisplayId; }
const wp<IBinder>& getDisplayToken() const { return mDisplayToken; }
- bool isPanelInverseMounted() const {
- return mPanelInverseMounted;
+ uint32_t getPanelMountFlip() const {
+ return mPanelMountFlip;
}
// We pass in mustRecompose so we can keep VirtualDisplaySurface's state
@@ -230,8 +230,8 @@ private:
int mPowerMode;
// Current active config
int mActiveConfig;
- // Panel is inverse mounted
- int mPanelInverseMounted;
+ // Panel's mount flip, H, V or 180 (HV)
+ uint32_t mPanelMountFlip;
};
}; // namespace android