summaryrefslogtreecommitdiff
path: root/merrifield/common/base/DisplayAnalyzer.cpp
diff options
context:
space:
mode:
authorSimon Dubray <simonx.dubray@intel.com>2018-04-12 07:08:29 -0700
committerSimon Dubray <simonx.dubray@intel.com>2018-12-20 06:32:36 -0800
commit2a7f2f247c5ffecd6a3b762a3aebb0143a715437 (patch)
tree6e13fe8f62f946803567aa5f42202c9bbddb318a /merrifield/common/base/DisplayAnalyzer.cpp
parentb2fd52839026be1ac1a2df1a4bc2bb76d0f95689 (diff)
downloadhwcomposer-android-o-mr1-iot-release-1.0.13.tar.gz
- remove unused variables and functions - avoid comparison between different types - fix old-style field designator extension - fix wrong print format - unhide an overloaded virtual function - add flag -Wno-unused-parameter to disable these ones Bug: 110425202 Change-Id: I37623d93c0e497c733532050c88644812c4d9bb7 Signed-off-by: Simon Dubray <simonx.dubray@intel.com>
Diffstat (limited to 'merrifield/common/base/DisplayAnalyzer.cpp')
-rwxr-xr-xmerrifield/common/base/DisplayAnalyzer.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/merrifield/common/base/DisplayAnalyzer.cpp b/merrifield/common/base/DisplayAnalyzer.cpp
index a0b9ffd..e98763f 100755
--- a/merrifield/common/base/DisplayAnalyzer.cpp
+++ b/merrifield/common/base/DisplayAnalyzer.cpp
@@ -333,7 +333,6 @@ void DisplayAnalyzer::postVideoEvent(int instanceID, int state)
(state == VIDEO_PLAYBACK_STOPPING && mProtectedVideoSession)) {
Hwcomposer::getInstance().invalidate();
mOverlayAllowed = false;
- hwc_display_contents_1_t *content = NULL;
for (int i = 0; i < (int)mCachedNumDisplays; i++) {
setCompositionType(i, HWC_FRAMEBUFFER, true);
}
@@ -555,7 +554,6 @@ void DisplayAnalyzer::handleVideoEvent(int instanceID, int state)
}
if (reset) {
- hwc_display_contents_1_t *content = NULL;
for (int i = 0; i < (int)mCachedNumDisplays; i++) {
setCompositionType(i, HWC_FRAMEBUFFER, true);
}
@@ -813,7 +811,6 @@ bool DisplayAnalyzer::isPresentationLayer(hwc_layer_1_t &layer)
bool DisplayAnalyzer::hasProtectedLayer()
{
- DataBuffer * buffer = NULL;
hwc_display_contents_1_t *content = NULL;
BufferManager *bm = Hwcomposer::getInstance().getBufferManager();