summaryrefslogtreecommitdiff
path: root/moorefield_hdmi/common/devices/PhysicalDevice.cpp
diff options
context:
space:
mode:
authorAustin Hu <austin.hu@intel.com>2017-02-13 14:27:03 +0800
committerDaniel Cardenas <danielcar@google.com>2017-02-21 20:01:52 -0800
commitbd7132d1373594bb88313f5c43829f9e827f0131 (patch)
treef6a85649215b9ed46ac72b36db5aae56c18fd1bb /moorefield_hdmi/common/devices/PhysicalDevice.cpp
parente53278451466870e61bb24f1b162f663dee73055 (diff)
downloadhwcomposer-bd7132d1373594bb88313f5c43829f9e827f0131.tar.gz
Fixed the plane assignment issue for HWC2On1 Adaptor.
Bug: 33487853 BZ: IMINAN-51296 Author: Hao Liu <hao.liu@intel.com> And fixed the screen flickering issue when switching frames with different FRAMEBUFFER_TARGET layers, by updating the arguments (including gralloc buffer handle) of FBT layer. Test: Invoked youtube video Change-Id: Ib3eeb273526e51352dbd1fc574e0993698150c9c Signed-off-by: Austin Hu <austin.hu@intel.com>
Diffstat (limited to 'moorefield_hdmi/common/devices/PhysicalDevice.cpp')
-rwxr-xr-xmoorefield_hdmi/common/devices/PhysicalDevice.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/moorefield_hdmi/common/devices/PhysicalDevice.cpp b/moorefield_hdmi/common/devices/PhysicalDevice.cpp
index 6b477ae..966a90a 100755
--- a/moorefield_hdmi/common/devices/PhysicalDevice.cpp
+++ b/moorefield_hdmi/common/devices/PhysicalDevice.cpp
@@ -125,6 +125,10 @@ bool PhysicalDevice::commit(hwc_display_contents_1_t *display, IDisplayContext *
if (!display || !context || !mLayerList || mBlank) {
return true;
}
+
+ /* Sync the arguments of Frame Buffer Target layer updated in SurfaceFlinger. */
+ mLayerList->updateFBT(display);
+
return context->commitContents(display, mLayerList);
}