From: Juyeon Lee Date: Mon, 7 Jan 2019 05:19:13 +0000 (+0900) Subject: e_mod_effect: use e_comp_object_native_usable_get instaed of using e_pixmap_usable_get X-Git-Tag: submit/tizen/20190111.054351^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=06a132b50d2572e6b8cb21195f71ce26dea8033e;p=platform%2Fcore%2Fuifw%2Fe-mod-tizen-effect.git e_mod_effect: use e_comp_object_native_usable_get instaed of using e_pixmap_usable_get since tizen 5.0, efl client used to attach NULL buffer when hide, if null buffer, server unmap the client and its pixmap is unusalbe. To run hide effect, use e_comp_object_is_native_drawable checks if cw has native sruface Change-Id: I62a47adbab6132d236c370ad3d16dc85eb73bed4 Signed-off-by: Juyeon Lee --- diff --git a/src/e_mod_effect.c b/src/e_mod_effect.c index 07da8e6..25b5a94 100644 --- a/src/e_mod_effect.c +++ b/src/e_mod_effect.c @@ -841,7 +841,7 @@ _eff_ref(E_Client *ec) if (!ec->pixmap) return EINA_FALSE; if ((e_comp_object_content_type_get(ec->frame) == E_COMP_OBJECT_CONTENT_TYPE_INT_IMAGE) && - (!e_pixmap_usable_get(ec->pixmap))) + (!e_comp_object_native_usable_get(ec->frame))) return EINA_FALSE; if (e_object_is_del(E_OBJECT(ec)))