summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabien Sanglard <sanglardf@google.com>2017-02-21 20:50:38 +0000
committerFabien Sanglard <sanglardf@google.com>2017-02-21 20:50:38 +0000
commitf438e83f0b42a1c2d4e2be81bcf4c4e789514867 (patch)
treed67f92a32e63a82adce5677c8bed1966ccdc3371
parenta65b73f7ceada366254fb2fd8fd4b9f24dc870f4 (diff)
downloadhwcomposer-f438e83f0b42a1c2d4e2be81bcf4c4e789514867.tar.gz
Revert "Fix plane assignment issue for HWC2On1Adaptor."
This reverts commit a65b73f7ceada366254fb2fd8fd4b9f24dc870f4. Change-Id: I1cb7e7874ddd49b07ad02c404e731ec390277531
-rwxr-xr-xmoorefield_hdmi/common/base/HwcLayerList.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/moorefield_hdmi/common/base/HwcLayerList.cpp b/moorefield_hdmi/common/base/HwcLayerList.cpp
index 479534c..c163c8a 100755
--- a/moorefield_hdmi/common/base/HwcLayerList.cpp
+++ b/moorefield_hdmi/common/base/HwcLayerList.cpp
@@ -267,10 +267,6 @@ bool HwcLayerList::initialize()
DEINIT_AND_RETURN_FALSE("layer %d is null", i);
}
- if ((layer->compositionType != HWC_FRAMEBUFFER_TARGET) &&
- (layer->compositionType != HWC_SIDEBAND))
- layer->compositionType = HWC_FRAMEBUFFER;
-
HwcLayer *hwcLayer = new HwcLayer(i, layer);
if (!hwcLayer) {
DEINIT_AND_RETURN_FALSE("failed to allocate hwc layer %d", i);
@@ -909,7 +905,7 @@ DisplayPlane* HwcLayerList::getPlane(uint32_t index) const
return 0;
}
- if (hwcLayer->getLayer()->handle == 0) {
+ if (hwcLayer->getHandle() == 0) {
DLOGTRACE("plane is attached with invalid handle");
return 0;
}