From: Junkyeong Kim Date: Mon, 24 Feb 2020 10:49:16 +0000 (+0900) Subject: e_hwc_window: execute null buffer commit if window state is CLIENT when pp set X-Git-Tag: accepted/tizen/unified/20200228.123718~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=395e43194f0ea7b1ae4bd317ca823cd3ffc5d5c7;p=platform%2Fupstream%2Fenlightenment.git e_hwc_window: execute null buffer commit if window state is CLIENT when pp set to notify buffer release to client, execute null buffer commit. Change-Id: I2c598a8fe352c0744093f19ee6882c953f3c72db Signed-off-by: Junkyeong Kim --- diff --git a/src/bin/e_hwc_window.c b/src/bin/e_hwc_window.c index 49edf75..4745603 100644 --- a/src/bin/e_hwc_window.c +++ b/src/bin/e_hwc_window.c @@ -2472,7 +2472,14 @@ e_hwc_window_pp_commit_data_acquire(E_Hwc_Window *hwc_window, Eina_Bool pp_hwc_m EINA_SAFETY_ON_NULL_RETURN_VAL(commit_data, EINA_FALSE); } else - return EINA_FALSE; + { + if (!hwc_window->display.buffer.tsurface) return EINA_FALSE; + + commit_data = E_NEW(E_Hwc_Window_Commit_Data, 1); + EINA_SAFETY_ON_NULL_RETURN_VAL(commit_data, EINA_FALSE); + + _e_hwc_window_buffer_set(&commit_data->buffer, NULL, NULL); + } } EHWTRACE("COM ts:%10p ------- {%25s}, state:%s, zpos:%d, deleted:%s",