From 1f8f474aeabf5f535dff0b3183c9a520536a8ed3 Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Fri, 3 Feb 2017 14:57:52 +0900 Subject: [PATCH] e_output: commit plane when plane needs unset commit Change-Id: I3c283c21b34f0bd8982933135009308fd4b31f9a --- src/bin/e_output.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/bin/e_output.c b/src/bin/e_output.c index 3c3f7c4cdd..8a76459760 100644 --- a/src/bin/e_output.c +++ b/src/bin/e_output.c @@ -775,7 +775,11 @@ e_output_commit(E_Output *output) if (e_plane_is_fb_target(plane) && plane->ec) fb_hwc_on = EINA_TRUE; - if (!e_plane_fetch(plane)) continue; + if (!e_plane_fetch(plane)) + { + if (!plane->need_to_unset_commit) continue; + if (!fb_hwc_on && !fb_commit) continue; + } if (output->dpms == E_OUTPUT_DPMS_OFF) { @@ -788,14 +792,6 @@ e_output_commit(E_Output *output) _e_output_update_fps(); fb_commit = EINA_TRUE; } - else - { - if (plane->need_to_unset_commit) - { - if (!fb_hwc_on && !fb_commit) - continue; - } - } if (!e_plane_commit(plane)) ERR("fail to e_plane_commit"); -- 2.34.1