Revert "ecore-evas-drm: hwc:check the possibility of drawing canvas" 50/59850/1
authorSooChan Lim <sc1.lim@samsung.com>
Fri, 19 Feb 2016 03:56:27 +0000 (12:56 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Fri, 19 Feb 2016 03:56:31 +0000 (12:56 +0900)
This reverts commit 0abd931f3714f471d13aad524d2fda9503adaf68.

Change-Id: If71e942112eb97c9ca5ec9ca0c9099ac23ee0323

src/modules/ecore_evas/engines/drm/ecore_evas_drm.c [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index 2eca8bf..8c6d3b7
@@ -1011,23 +1011,6 @@ _ecore_evas_drm_aspect_set(Ecore_Evas *ee, double aspect)
    ee->prop.aspect = aspect;
 }
 
-#ifdef BUILD_ECORE_EVAS_GL_DRM
-static Eina_Bool
-_ecore_evas_drm_render_check_skip(Ecore_Evas *ee)
-{
-   Evas_Engine_Info_GL_Drm *einfo;
-   einfo = (Evas_Engine_Info_GL_Drm *)evas_engine_info_get(ee->evas);
-   if (!einfo) return EINA_TRUE;
-   if (!einfo->info.hwc_enable) return EINA_FALSE;
-
-   /* HWC: wait_for_showup is set by enlightenment */
-   if (einfo->info.wait_for_showup)
-     INF("HWC: skip to render the ecore_evas.\n");
-
-   return einfo->info.wait_for_showup;
-}
-#endif
-
 static int
 _ecore_evas_drm_render(Ecore_Evas *ee)
 {
@@ -1043,11 +1026,6 @@ _ecore_evas_drm_render(Ecore_Evas *ee)
         return 0;
      }
 
-#ifdef BUILD_ECORE_EVAS_GL_DRM
-   /* HWC: check if the ecore_evas is skipped or not */
-   if (_ecore_evas_drm_render_check_skip(ee)) return 0;
-#endif
-
    EINA_LIST_FOREACH(ee->sub_ecore_evas, l, ee2)
      {
         if (ee2->func.fn_pre_render) ee2->func.fn_pre_render(ee2);