From 2d78239c3f336e89ab5360ed5436ba2e47506afc Mon Sep 17 00:00:00 2001 From: "Christopher N. Hesse" Date: Mon, 20 Mar 2017 12:27:22 +0100 Subject: [PATCH] libdisplay: Set background layer buffer source Change-Id: If5d4475962a81dd4b22caed84bf89dbf157f5da9 --- libdisplay/ExynosOverlayDisplay.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libdisplay/ExynosOverlayDisplay.cpp b/libdisplay/ExynosOverlayDisplay.cpp index 453f03c..0fc1dd2 100644 --- a/libdisplay/ExynosOverlayDisplay.cpp +++ b/libdisplay/ExynosOverlayDisplay.cpp @@ -259,6 +259,10 @@ void ExynosOverlayDisplay::configureOverlay(hwc_layer_1_t *layer, fb_win_config hwc_color_t color = layer->backgroundColor; #ifdef DECON_FB cfg.state = cfg.DECON_WIN_STATE_COLOR; + cfg.src.x = 0; + cfg.src.y = 0; + cfg.src.w = this->mXres; + cfg.src.h = this->mYres; cfg.dst.x = 0; cfg.dst.y = 0; cfg.dst.w = this->mXres;