e_comp: add e_comp_hwc_multi_plane_set 11/133211/4
authorSooChan Lim <sc1.lim@samsung.com>
Fri, 9 Jun 2017 07:55:08 +0000 (16:55 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Mon, 12 Jun 2017 10:20:36 +0000 (10:20 +0000)
Change-Id: I3878801dcdbc7e86ca48130cbd5ba69acf2409bb

src/bin/e_comp.c
src/bin/e_comp.h

index e0eb31515ee854de27e1c6478e68aa3bb03ca229..c4a535959240edb9f48cde44ca6604bfb7addd37 100644 (file)
@@ -943,6 +943,17 @@ e_comp_hwc_end(const char *location)
 
    ELOGF("HWC", " End...  at %s.", NULL, NULL, location);
 }
+
+EINTERN void
+e_comp_hwc_multi_plane_set(Eina_Bool set)
+{
+   if (e_comp->hwc_use_multi_plane == set) return;
+
+   e_comp_hwc_end(__FUNCTION__);
+   e_comp->hwc_use_multi_plane = set;
+
+   ELOGF("HWC", "e_comp_hwc_multi_plane_set : %d", NULL, NULL, set);
+}
 #endif  // end of ENABLE_HWC_MULTI
 
 static Eina_Bool
index e8a968401cfe14deaf198cf50c115b74354866eb..da43b157d0cb3322bc4741f01f150a9f8f09c496 100644 (file)
@@ -243,6 +243,7 @@ E_API Eina_List *e_comp_vis_ec_list_get(E_Zone *zone); // visible ec list sorted
 
 #ifdef ENABLE_HWC_MULTI
 E_API void e_comp_hwc_end(const char *location);
+EINTERN void e_comp_hwc_multi_plane_set(Eina_Bool set);
 #endif
 
 E_API Eina_Bool e_comp_socket_init(const char *name);