From: Juyeon Lee Date: Wed, 20 Jul 2016 03:46:49 +0000 (+0900) Subject: e_comp: add condition not to enter hwc mode X-Git-Tag: submit/tizen/20160803.115336~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cedd983df3067a87d28768c55da66ffd3e2aca1c;p=platform%2Fupstream%2Fenlightenment.git e_comp: add condition not to enter hwc mode while checking visible clients if one of them is not availbe to use hwc below two condition has added not to enter hwc mode once it meets any 1. visible client is launch screen image 2. visible client has subsurface and in special case it requires composite !e_comp_wl_video_client_has(ec) this is abnormal condition so it will be moved to product module pkg Change-Id: Ib31fb37eac31edc0d0b6f19583ada79f14caa3d0 --- diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c index ede02e7c4a..76e544e1d6 100644 --- a/src/bin/e_comp.c +++ b/src/bin/e_comp.c @@ -657,6 +657,7 @@ _e_comp_hwc_prepare(void) EINA_LIST_FOREACH(vis_clist, vl, ec) { E_Comp_Wl_Client_Data *cdata = (E_Comp_Wl_Client_Data*)ec->comp_data; + int cnt = 0; // check clients not able to use hwc // if pixmap is launch screen image