summaryrefslogtreecommitdiffstats
path: root/common/base/DisplayAnalyzer.h
diff options
context:
space:
mode:
authorLei Zhang <lei.zhang@intel.com>2014-06-11 10:41:53 +0800
committerbuildslave <sys_buildbot@intel.com>2014-06-19 00:13:03 +0000
commit009ab1d686644a8294b16d97ec1d4fe58879cf89 (patch)
treec4a0e7b6855492f5689cb095de21c3e488a9b075 /common/base/DisplayAnalyzer.h
parentc2f5edc24db3d596601651541f8ce9bdde967441 (diff)
downloadandroid_hardware_intel_img_hwcomposer-009ab1d686644a8294b16d97ec1d4fe58879cf89.tar.gz
android_hardware_intel_img_hwcomposer-009ab1d686644a8294b16d97ec1d4fe58879cf89.tar.bz2
android_hardware_intel_img_hwcomposer-009ab1d686644a8294b16d97ec1d4fe58879cf89.zip
HWC: check overly plane disable status in DisplayAnalyzer
BZ:202507 This patch changes overlay plane disable in DisplayAnalyzer to be overlay state check, because now plane disable logic is maintained in driver and HWC only need to query the status if needed. This patch is to solve the scrambled issue for protected video. Change-Id: I3bc01ea90bccc481c853934c1677beb3662820ff Signed-off-by: Lei Zhang <lei.zhang@intel.com> Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Diffstat (limited to 'common/base/DisplayAnalyzer.h')
-rwxr-xr-xcommon/base/DisplayAnalyzer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/base/DisplayAnalyzer.h b/common/base/DisplayAnalyzer.h
index d40e7d9..25be904 100755
--- a/common/base/DisplayAnalyzer.h
+++ b/common/base/DisplayAnalyzer.h
@@ -145,6 +145,7 @@ private:
// workaround HWC_SKIP_LAYER set during rotation for extended video mode
// by default if layer has HWC_SKIP_LAYER flag it should not be processed by HWC
bool mIgnoreVideoSkipFlag;
+ bool mProtectedVideoSession;
// map video instance ID to video state
KeyedVector<int, int> mVideoStateMap;
int mCachedNumDisplays;