From: SooChan Lim Date: Tue, 23 Jul 2019 02:04:38 +0000 (+0900) Subject: e_output: only primary output renders and commits at Hwc_Windows X-Git-Tag: submit/tizen/20190725.044739~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e433547934581bbe36f97c0a975c8064aedcb30;p=platform%2Fupstream%2Fenlightenment.git e_output: only primary output renders and commits at Hwc_Windows Change-Id: Ieba350b59a65da903b7052767e6deecf7889239d --- diff --git a/src/bin/e_output.c b/src/bin/e_output.c index d0f2ac4bb4..4de35c09c3 100644 --- a/src/bin/e_output.c +++ b/src/bin/e_output.c @@ -2989,6 +2989,10 @@ e_output_render(E_Output *output) } else { + /* render the only primary output */ + if (output != e_comp_screen_primary_output_get(output->e_comp_screen)) + return EINA_TRUE; + if (!e_hwc_windows_render(output->hwc)) { EOERR("fail to e_hwc_windows_render.", output); @@ -3038,20 +3042,12 @@ e_output_commit(E_Output *output) } else { - if (output == output_primary) - { - if (!e_hwc_windows_commit(output->hwc)) - { - return EINA_FALSE; - } - } - else + /* commit the only primary output */ + if (output != output_primary) return EINA_TRUE; + + if (!e_hwc_windows_commit(output->hwc)) { - if (!_e_output_external_commit(output)) - { - EOERR("fail _e_output_external_commit", output); - return EINA_FALSE; - } + return EINA_FALSE; } }