e_hwc: add evas of the ee to the hwc 03/210603/3
authorSooChan Lim <sc1.lim@samsung.com>
Tue, 23 Jul 2019 01:59:36 +0000 (10:59 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Wed, 24 Jul 2019 05:16:39 +0000 (05:16 +0000)
Change-Id: I0d383209cb420beaa35709e859d282bf8e386a8f

src/bin/e_hwc.c
src/bin/e_hwc.h

index 8981dd73faa1a2fe1b65d482fcfdd583accea6bd..54c370b4f5a7911fef3cf79597082d78efc381fc 100644 (file)
@@ -293,6 +293,7 @@ _e_hwc_ee_init(E_Hwc* hwc)
      }
 
    hwc->ee = ee;
+   hwc->evas = ecore_evas_get(hwc->ee);
 
    EHINF("ee(%p) with the tqueue(%p) is created.", hwc, ee, hwc->target_buffer_queue);
 
index d37e91b1b17beb92fbf66f6b5960ff5a5b6aad7c..b73f55aee49e8ba02cfcba9f1f2e9cca6321513d 100644 (file)
@@ -76,6 +76,7 @@ struct _E_Hwc
    Eina_Bool            hwc_deactive : 1; // deactive hwc policy
 
    Ecore_Evas          *ee;
+   Evas                *evas;
 
    /* variables for hwc_planes polic  */
    Eina_Bool            hwc_use_multi_plane;