evas/drm: Remove now obsolete tty and own_tty struct members
authorStefan Schmidt <s.schmidt@samsung.com>
Fri, 5 Sep 2014 13:55:08 +0000 (15:55 +0200)
committerStefan Schmidt <s.schmidt@samsung.com>
Fri, 5 Sep 2014 13:55:08 +0000 (15:55 +0200)
We used these when expedite was using evas directly without ecore_evas.
That changed and we can now leave tty custody to ecore_evas and ecore_drm.

src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
src/modules/evas/engines/drm/Evas_Engine_Drm.h
src/modules/evas/engines/drm/evas_engine.c

index dc30717..e60516a 100644 (file)
@@ -238,7 +238,6 @@ ecore_evas_drm_new_internal(const char *device, unsigned int parent EINA_UNUSED,
         einfo->info.vsync = EINA_TRUE;
         einfo->info.use_hw_accel = EINA_FALSE;
         einfo->info.fd = ecore_drm_device_fd_get(dev);
-        einfo->info.tty = ecore_drm_tty_get(dev);
 
         if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo))
           {
index 87e55ca..ceb2df5 100644 (file)
@@ -22,9 +22,6 @@ struct _Evas_Engine_Info_Drm
         int fd;
         Eina_Bool own_fd : 1;
 
-        int tty;
-        Eina_Bool own_tty : 1;
-
         int output;
         int plane;
 
index 891f5a8..34fd3af 100644 (file)
@@ -42,12 +42,6 @@ _output_setup(Evas_Engine_Info_Drm *info, int w, int h)
 
         info->info.own_fd = EINA_TRUE;
         info->info.fd = ecore_drm_device_fd_get(info->info.dev);
-
-        if (info->info.tty < 0)
-          {
-             info->info.own_tty = EINA_TRUE;
-             info->info.tty = ecore_drm_tty_get(info->info.dev);
-          }
      }
 
    /* try to allocate space for our render engine structure */