forked from enlightenment/efl
evas/drm: Remove now obsolete tty and own_tty struct members
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.
This commit is contained in:
parent
00192bd15e
commit
bff3bee8a5
|
@ -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))
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue