summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Hu <austin.hu@intel.com>2017-04-06 21:04:54 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-04-06 21:04:54 +0000
commit0945f7266785b289da27d8761994b2e97e39cf67 (patch)
tree6d8daf0034e0f930864b7ad64e414cc6ca304a66
parent62d37060486c63e5abe7b976890fd7f7c4a99788 (diff)
parent8189283834e0240c0b90c19eba7230b19bc5e328 (diff)
downloadhwcomposer-0945f7266785b289da27d8761994b2e97e39cf67.tar.gz
Do not reset layer type when it is FORCE_FRAMEBUFFER am: e7759c7536
am: 8189283834 Change-Id: I0ee5fc85f95c330e26d8daf27a6def507a598e03
-rwxr-xr-xmoorefield_hdmi/common/base/HwcLayerList.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/moorefield_hdmi/common/base/HwcLayerList.cpp b/moorefield_hdmi/common/base/HwcLayerList.cpp
index a05b4ca..3397956 100755
--- a/moorefield_hdmi/common/base/HwcLayerList.cpp
+++ b/moorefield_hdmi/common/base/HwcLayerList.cpp
@@ -268,6 +268,7 @@ bool HwcLayerList::initialize()
}
if ((layer->compositionType != HWC_FRAMEBUFFER_TARGET) &&
+ (layer->compositionType != HWC_FORCE_FRAMEBUFFER) &&
(layer->compositionType != HWC_SIDEBAND))
layer->compositionType = HWC_FRAMEBUFFER;